AddLBImage Dialogs - Modern - Browser 

Declaration:

FUNCTION   AddLBImage
(   dialogID :LONGINT;
    componentID :LONGINT;
    resourceType :INTEGER;
    resourceID :INTEGER
) :INTEGER ;

Description:

Adds specified image resource to image list.

Currently only one resource type is supported: the 'ics8' resource. This is a 16x16 color icon. Pass a value of 1 for the resourceType argument to indicate this type. Call SetVSResourceFile to specify a resource file that contains the icons.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
resourceType type of image resource to be added
resourceID the resource ID of image to add

See Also:

SetVSResourceFile   CreateLB   InsertLBColumn   SetLBControlType   SetLBItemDisplayType   InsertLBColumnDataItem   SetLBItemUsingColumnDataItem   InsertLBItem   EnableLBColumnLines  



  AreLBColumnLinesEnabled Dialogs - Modern - Browser 

Declaration:

FUNCTION   AreLBColumnLinesEnabled
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Description:

Determines if column lines are drawn.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control



  AreLBRadioColumnLinesEnabled Dialogs - Modern - Browser 

Declaration:

FUNCTION   AreLBRadioColumnLinesEnabled
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :BOOLEAN ;

Description:

Determines if "column" lines are drawn between radio control items.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column



  CreateLB Dialogs - Modern - Browser 

Declaration:

PROCEDURE   CreateLB
(   dialogID :LONGINT;
    componentID :LONGINT;
    widthInCharacters :INTEGER;
    heightInCharacters :INTEGER
) ;

Description:

Creates a layout manager list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
widthInCharacters the width of the control in characters
heightInCharacters the height of the control in characters



  DeleteAllLBItems Dialogs - Modern - Browser 

Declaration:

FUNCTION   DeleteAllLBItems
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Description:

Deletes all list browser items.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control



  DeleteLBColumn Dialogs - Modern - Browser 

Declaration:

FUNCTION   DeleteLBColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :BOOLEAN ;

Description:

Deletes a column from the specified list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex index of the column to be deleted



  DeleteLBItem Dialogs - Modern - Browser 

Declaration:

FUNCTION   DeleteLBItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER
) :BOOLEAN ;

Description:

Deletes an item from the specified list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the index of the item to delete



  EnableLB Dialogs - Modern - Browser 

Declaration:

FUNCTION   EnableLB
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) :BOOLEAN ;

Description:

Enables or disables the specified list browser.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
enable determines if the list browser should be enabled or disabled.



  EnableLBClickAllDataChange Dialogs - Modern - Browser 

Declaration:

FUNCTION   EnableLBClickAllDataChange
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) :BOOLEAN ;

Description:

Enables all radio and multi state column data items to be changed with a single click if the alt key or option key is pressed during the click.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
enable determines if all data items should be changed during the click if the appropriate modifier key is pressed.



  EnableLBColumnLines Dialogs - Modern - Browser 

Declaration:

PROCEDURE   EnableLBColumnLines
(   dialogID :LONGINT;
    componentID :LONGINT;
    enableColumnLines :BOOLEAN
) ;

Description:

Enables/disables column lines.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
enableColumnLines specifies if column lines should be drawn



  EnableLBColumnTracking Dialogs - Modern - Browser 

Declaration:

PROCEDURE   EnableLBColumnTracking
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    enableColumnTracking :BOOLEAN
) ;

Description:

Enables/disables column tracking.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column
enableColumnTracking specifies if column tracking should be enabled or disabled



  EnableLBDragAndDrop Dialogs - Modern - Browser 

Declaration:

FUNCTION   EnableLBDragAndDrop
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) :BOOLEAN ;

Description:

Enables list browser drag and drop. Use SetLBDragDropColumn to set the drag and drop column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
enable determines if drag and drop should be enabled



  EnableLBRadioColumnLines Dialogs - Modern - Browser 

Declaration:

PROCEDURE   EnableLBRadioColumnLines
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    enableRadioColumnLines :BOOLEAN
) ;

Description:

Enables/disables radio item "column" lines.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column
enableRadioColumnLines specifies if radio item "column" lines should be drawn



  EnableLBSingleLineSelection Dialogs - Modern - Browser 

Declaration:

FUNCTION   EnableLBSingleLineSelection
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) :BOOLEAN ;

Description:

Enables single line only selection. Multiple selections will not be permitted.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
enable determines if single line selection only should be enabled.



  EnableLBSorting Dialogs - Modern - Browser 

Declaration:

PROCEDURE   EnableLBSorting
(   dialogID :LONGINT;
    componentID :LONGINT;
    enableSorting :BOOLEAN
) ;

Description:

Enables/disables sorting.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
enableSorting specifies whether to enable or disable sorting



  EnableLBUpdates Dialogs - Modern - Browser 

Declaration:

PROCEDURE   EnableLBUpdates
(   liDialogID :LONGINT;
    liComponentID :LONGINT;
    bEnableUpdates :BOOLEAN
) ;

Description:

Determines if updates should be enabled for the specified list browser.



  EnsureLBItemIsVisible Dialogs - Modern - Browser 

Declaration:

FUNCTION   EnsureLBItemIsVisible
(   dialogID :LONGINT;
    componentID :LONGINT;
    index :INTEGER
) :BOOLEAN ;

Description:

Ensures the element at the given row index is visible in the specified list browser.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
index the row index



  FindLBColumnDataItem Dialogs - Modern - Browser 

Declaration:

FUNCTION   FindLBColumnDataItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    itemString :STRING;
  VAR  columnDataItemIndex :INTEGER
) :BOOLEAN ;

Description:

Finds the column data item with the specified text.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column
itemString the text to find
columnDataItemIndex the index at which the text was found



  FindLBColumnItem Dialogs - Modern - Browser 

Declaration:

FUNCTION   FindLBColumnItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    itemString :STRING;
  VAR  itemIndex :INTEGER
) :BOOLEAN ;

Description:

Finds the column item with the specified text.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column
itemString the text to find
itemIndex the index at which the text was found



  GetLBColumnDataItemInfo Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBColumnDataItemInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    columnDataItemIndex :INTEGER;
  VAR  itemString :STRING;
  VAR  imageOn :INTEGER;
  VAR  imageOff :INTEGER;
  VAR  itemData :LONGINT
) :BOOLEAN ;

Description:

Gets the specified column data item's text, image and user data.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column from which to get the data
columnDataItemIndex the column data item
itemString the item text
imageOn the 'on' image list index
imageOff the 'off' image list index
itemData the item user data



  GetLBColumnHeaderJust Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBColumnHeaderJust
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
  VAR  justification :INTEGER
) :BOOLEAN ;

Description:

Retrieves the specified column header's justification.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column index
justification Left - 1
Center - 2
Right - 3



  GetLBColumnHeaderToolTip Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBColumnHeaderToolTip
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
  VAR  toolTipPrimaryText :STRING;
  VAR  toolTipSubText :STRING
) :BOOLEAN ;

Description:

Gets the list browser column header's tooltip text.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column index
toolTipPrimaryText the primary tooltip text
toolTipSubText the sub tooltip text displayed when the user the command (Mac) or shift (Win) button



  GetLBColumnOwnerDrawnType Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBColumnOwnerDrawnType
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  ownerDrawnType :INTEGER
) :BOOLEAN ;

Description:

Gets the list browser column's owner drawn type.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
ownerDrawnType None - 0
Solid rect - 1
Dual solid rect - 2
Pattern rect - 3
Dual pattern rect - 4
Gradient or image - 5
Blank - 6
Text - 7
Dashed line - 8



  GetLBColumnSortState Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBColumnSortState
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Description:

Gets the column sort state.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column index



  GetLBColumnWidth Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBColumnWidth
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
  VAR  width :INTEGER
) :BOOLEAN ;

Description:

Gets the width of the specified column in the specified list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column from which to get the width
width width of the column



  GetLBControlType Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBControlType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Description:

Gets control type for column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column



  GetLBEditDisplayType Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBEditDisplayType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Description:

Gets edit display type for list items in specified column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column



  GetLBEventInfo Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBEventInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
  VAR  eventType :INTEGER;
  VAR  rowIndex :INTEGER;
  VAR  columIndex :INTEGER
) :BOOLEAN ;

Description:

Retrieves the last event information for the specified list browser.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
rowIndex the row index where the click occurred.
columIndex the column index where the click occurred.



  GetLBItemDashStyle Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemDashStyle
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  styleIndex :INTEGER;
  VAR  lineWeight :INTEGER
) :BOOLEAN ;

Description:

Gets the specified list browser item's dash style.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
styleIndex the dash line's style index
lineWeight the dash line's line weight



  GetLBItemData Dialogs - Modern - Browser 

Declaration:

PROCEDURE   GetLBItemData
(   nDialogID :LONGINT;
    nComponentID :LONGINT;
    nItemIndex :INTEGER;
    nSubItemIndex :INTEGER;
  VAR  nUserData :LONGINT
) ;

Description:

Retrieves the user data associated with the list browser item.



  GetLBItemDisplayType Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemDisplayType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Description:

Gets item display type for list items in specified column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column



  GetLBItemFillBackColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemFillBackColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Description:

Gets the specified list browser item's fill background color.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  GetLBItemFillForeColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemFillForeColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Description:

Gets the specified list browser item's fill foreground color.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  GetLBItemGradientOrImageRefNumber Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemGradientOrImageRefNumber
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  refNumber :LONGINT
) :BOOLEAN ;

Description:

Gets the specified list browser item's gradient or image.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
refNumber the gradient or image's ref number



  GetLBItemInfo Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  itemString :STRING;
  VAR  imageIndex :INTEGER
) :BOOLEAN ;

Description:

Gets string and image information for a specified item of a List Browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the item index
subItemIndex the subitem index
itemString the item text
imageIndex the item image list index



  GetLBItemPenBackColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemPenBackColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Description:

Gets the specified list browser item's pen background color.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  GetLBItemPenForeColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemPenForeColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Description:

Gets the specified list browser item's pen foreground color.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  GetLBItemTextColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemTextColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Description:

Gets the text color for the specified list browser item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  GetLBItemTextJust Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemTextJust
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  justification :INTEGER
) :BOOLEAN ;

Description:

Gets the text alignment for the specified list browser item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
justification Left - 1
Center - 2
Right - 3



  GetLBItemTextStyle Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBItemTextStyle
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  textStyle :INTEGER
) :BOOLEAN ;

Description:

Gets the text style for the specified list browser item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
textStyle Plain - 0
Bold - 1
Italic - 2
Underline - 4
Outline - 16 (Mac only)
Shadow - 32 (Mac only)



  GetLBMultImageIndexes Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBMultImageIndexes
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  imageIndex0 :INTEGER;
  VAR  imageIndex1 :INTEGER;
  VAR  imageIndex2 :INTEGER
) :BOOLEAN ;

Description:

Gets the index of the images within the list browser multi image display.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
imageIndex0 the 'ics8' resource index of the first image
imageIndex1 the 'ics8' resource index of the second image
imageIndex2 the 'ics8' resource index of the third image



  GetLBSortColumn Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetLBSortColumn
(   dialogID :LONGINT;
    componentID :LONGINT
) :INTEGER ;

Description:

Gets the index of the sort column in the specified list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control



  GetNumLBColumnDataItems Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetNumLBColumnDataItems
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Description:

Get the number of columnDataItems.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column



  GetNumLBColumns Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetNumLBColumns
(   dialogID :LONGINT;
    componentID :LONGINT
) :INTEGER ;

Description:

Gets the number of columns in the specified list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control



  GetNumLBItems Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetNumLBItems
(   dialogID :LONGINT;
    componentID :LONGINT
) :INTEGER ;

Description:

Gets the number of items in the specified list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control

Result:

Returns the number of items in the list browser.



  GetNumSelectedLBItems Dialogs - Modern - Browser 

Declaration:

FUNCTION   GetNumSelectedLBItems
(   dialogID :LONGINT;
    componentID :LONGINT
) :INTEGER ;

Description:

Returns the number of selected list browser items.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control



  InsertLBColumn Dialogs - Modern - Browser 

Declaration:

FUNCTION   InsertLBColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    headerString :STRING;
    width :INTEGER
) :INTEGER ;

Description:

Inserts a column into the specified list browser control. Returns index of created column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex index at which the column is to be inserted
headerString text to set as column header
width the width of the column in pixels



  InsertLBColumnDataItem Dialogs - Modern - Browser 

Declaration:

FUNCTION   InsertLBColumnDataItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    itemString :STRING;
    imageOn :INTEGER;
    imageOff :INTEGER;
    itemData :LONGINT
) :INTEGER ;

Description:

Inserts column data item with specified data. Returns the index to the newly inserted item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column for which to set the data
itemString the item text
imageOn the 'on' image list index
imageOff the 'off' image list index
itemData the item user data



  InsertLBItem Dialogs - Modern - Browser 

Declaration:

FUNCTION   InsertLBItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    itemString :STRING
) :INTEGER ;

Description:

Insert an item into the specified list browser control. Returns the index of the created item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex index at which the item is to be inserted
itemString text to set for item



  IsLBColumnTrackingEnabled Dialogs - Modern - Browser 

Declaration:

FUNCTION   IsLBColumnTrackingEnabled
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :BOOLEAN ;

Description:

Determines if column tracking is enabled for the specified column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column



  IsLBItemSelected Dialogs - Modern - Browser 

Declaration:

FUNCTION   IsLBItemSelected
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER
) :BOOLEAN ;

Description:

Determines if the specified item is currently selected.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row number



  IsLBSortingEnabled Dialogs - Modern - Browser 

Declaration:

FUNCTION   IsLBSortingEnabled
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Description:

Determines if sorting is enabled or disabled.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control



  RefreshLB Dialogs - Modern - Browser 

Declaration:

FUNCTION   RefreshLB
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Description:

Refreshes the contents of the specified list browser.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control



  RemoveAllLBColumnDataItems Dialogs - Modern - Browser 

Declaration:

PROCEDURE   RemoveAllLBColumnDataItems
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) ;

Description:

Removes all column data items.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column



  RemoveLBColumnDataItem Dialogs - Modern - Browser 

Declaration:

FUNCTION   RemoveLBColumnDataItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    columnDataItemIndex :INTEGER
) :BOOLEAN ;

Description:

Removes the specified column data item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column
columnDataItemIndex the column data item to remove



  SetFocusOnLB Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetFocusOnLB
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Description:

Sets the keyboard/input focus on the specified list browser.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control



  SetLBColumnHeaderJust Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBColumnHeaderJust
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    justification :INTEGER
) :BOOLEAN ;

Description:

Sets the specified column header's justification.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column index
justification Left - 1
Center - 2
Right - 3



  SetLBColumnHeaderToolTip Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBColumnHeaderToolTip
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    toolTipPrimaryText :STRING;
    toolTipSubText :STRING
) :BOOLEAN ;

Description:

Sets the list browser column header's tooltip text.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column index
toolTipPrimaryText the primary tooltip text
toolTipSubText the sub tooltip text displayed when the user the command (Mac) or shift (Win) button



  SetLBColumnImage Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBColumnImage
(   nDialogID :LONGINT;
    nComponentID :LONGINT;
    nColumnIndex :INTEGER;
    nImageIndex :INTEGER
) :BOOLEAN ;

Description:

Draws an icon instead of text on a list browser header column. Use with AddLBImage.



  SetLBColumnOwnerDrawnType Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBColumnOwnerDrawnType
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    ownerDrawnType :INTEGER
) :BOOLEAN ;

Description:

Sets the list browser column's owner drawn type.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
ownerDrawnType None - 0
Solid rect - 1
Dual solid rect - 2
Pattern rect - 3
Dual pattern rect - 4
Gradient or image - 5
Blank - 6
Text - 7
Dashed line - 8



  SetLBColumnWidth Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBColumnWidth
(   dialogID :LONGINT;
    componentID :LONGINT;
    fromColumn :INTEGER;
    toColumn :INTEGER;
    width :INTEGER
) :BOOLEAN ;

Description:

Sets the width of the specified range of columns of the specified list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
fromColumn first column to be changed
toColumn last column to be changed
width the width of the column in pixels



  SetLBControlType Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBControlType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    controlType :INTEGER
) :BOOLEAN ;

Description:

Sets control type for column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column
controlType the control type to be set (1: Static, 2: Radio, 3: Multi State, 4: Single Instance Icon [See Organization Dialog active element column], 5: Static Icon, 6: Number, 7: Multiple Icons)



  SetLBDragDropColumn Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBDragDropColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :BOOLEAN ;

Description:

Sets the drag and drop column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column index



  SetLBEditDisplayType Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBEditDisplayType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    displayType :INTEGER
) :BOOLEAN ;

Description:

Sets edit display type for list items in specified column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column
displayType the display type to be set (0: Text Only, 1: Icon Only, 3: Text and Icon)



  SetLBItemDashStyle Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemDashStyle
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    styleIndex :INTEGER;
    lineWeight :INTEGER
) :BOOLEAN ;

Description:

Sets the specified list browser item's dash style.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
styleIndex the dash line's style index
lineWeight the dash line's line weight



  SetLBItemData Dialogs - Modern - Browser 

Declaration:

PROCEDURE   SetLBItemData
(   nDialogID :LONGINT;
    nComponentID :LONGINT;
    nItemIndex :INTEGER;
    nSubItemIndex :INTEGER;
    nUserData :LONGINT
) ;

Description:

Sets the user data associated with the list browser item.



  SetLBItemDisplayType Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemDisplayType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    displayType :INTEGER
) :BOOLEAN ;

Description:

Sets item display type for list items in specified column.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the index of the column
displayType the display type to be set (0: Text Only, 1: Icon Only, 3: Text and Icon)



  SetLBItemFillBackColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemFillBackColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Description:

Sets the specified list browser item's fill background color.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  SetLBItemFillForeColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemFillForeColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Description:

Sets the specified list browser item's fill foreground color.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  SetLBItemGradientOrImageRefNumber Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemGradientOrImageRefNumber
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    refNumber :LONGINT
) :BOOLEAN ;

Description:

Sets the specified list browser item's gradient or image.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
refNumber the gradient or image's ref number



  SetLBItemInfo Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    itemString :STRING;
    imageIndex :INTEGER
) :BOOLEAN ;

Description:

Sets data for item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the item index
subItemIndex the subitem index
itemString the item text
imageIndex the item image list index



  SetLBItemPenBackColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemPenBackColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Description:

Sets the specified list browser item's pen background color.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  SetLBItemPenForeColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemPenForeColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Description:

Sets the specified list browser item's pen foreground color.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  SetLBItemTextColor Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemTextColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Description:

Sets the text color for the specified list browser item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
redIndex the red component (0 - 255)
greenIndex the green component (0 - 255)
blueIndex the blue component (0 - 255)



  SetLBItemTextJust Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemTextJust
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    justification :INTEGER
) :BOOLEAN ;

Description:

Sets the text alignment for the specified list browser item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
justification Left - 1
Center - 2
Right - 3



  SetLBItemTextStyle Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemTextStyle
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    textStyle :INTEGER
) :BOOLEAN ;

Description:

Sets the text style for the specified list browser item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
textStyle Plain - 0
Bold - 1
Italic - 2
Underline - 4
Outline - 16 (Mac only)
Shadow - 32 (Mac only)



  SetLBItemUsingColumnDataItem Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBItemUsingColumnDataItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    columnDataItemIndex :INTEGER
) :BOOLEAN ;

Description:

Sets list item data with specified column data item.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
columnDataItemIndex the column data item with which to set list item data



  SetLBMultImageIndexes Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBMultImageIndexes
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    imageIndex0 :INTEGER;
    imageIndex1 :INTEGER;
    imageIndex2 :INTEGER
) :BOOLEAN ;

Description:

Sets the index of the images within the list browser multi image display.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
itemIndex the row index
subItemIndex the column index
imageIndex0 the 'ics8' resource index of the first image
imageIndex1 the 'ics8' resource index of the second image
imageIndex2 the 'ics8' resource index of the third image



  SetLBSelection Dialogs - Modern - Browser 

Declaration:

FUNCTION   SetLBSelection
(   dialogID :LONGINT;
    componentID :LONGINT;
    firstItemIndex :INTEGER;
    lastItemIndex :INTEGER;
    select :BOOLEAN
) :BOOLEAN ;

Description:

Selects the specified range of items within a List Browser dialog control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
firstItemIndex the first row of the range to select
lastItemIndex the last row of the range to select
select select or deselect

Result:

True for success, false otherwise.



  SetLBSortColumn Dialogs - Modern - Browser 

Declaration:

PROCEDURE   SetLBSortColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    isAscending :BOOLEAN
) ;

Description:

Sets the specified column as the sort column in the specified list browser control.

Parameters:

dialogID id of the dialog that contains the list browser
componentID id of the list browser control
columnIndex the column index
isAscending determines if the sort should be ascending or descending