Programmer Guide/Macro Library/SHOWITEM: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 18:31, 18 November 2010

SHOWITEM

Provides a way of viewing shell items. Currently WAVE, TABLE, VALUE and FILE items are supported.

Usage:

SHOWITEM item [; title]

SHOWITEM numericItem [; title ; wndPos ]

SHOWITEM tableItem [; title ; text ; width ; font ; wndPos]

Parameters:

itemThe id of a shell item.tableItemThe id of a table item.numericItemThe id of a numeric item.titleThe string to use as the title of the dialog.textA string to be shown at the top of the dialog (but below the title). This parameter is ignored if the table is a parameter table.widthThe width of the table listbox. This parameter is ignored if the table is a parameter table.fontThe font to use for the table listbox. This parameter is ignored if the table is a parameter table.;wndPos

The position at which to display the window. These are the four values 'x y w h' as used by SetWindowPos.=====Result:=====

An empty string.

Notes:

This macro replaces SHOWTABLE and SHOWFILE as of version 3.7.0.

Vector and array value items as well as parameter table items are shown using the same method as numeric tables.

Navigation menu

Personal tools