Wrapper function for displaying a dialog with a combobox control
function InputComboEx(const ACaption: TJSString; const APrompt: TJSString; var AItemIndex: Integer; const AFixedList: Boolean; AItems: TJSStrings; ACaptionPosition: TJSCaptionPosition = cpTop): Boolean; overload;
JSEditDialogs
This function displays a dialog with a caption and a combobox control. The caption is displayed above the edit control. The function returns True if the OK button was clicked when the dialog was displayed. The selected items index is returned in the AItemIndex parameter. Set the AFixedList parameter to True to make the user select an item from the list. Setting the AFixedList parameter to False means the user can type in their own value. The caption is displayed according to the value set in the ACaptionPosition parameter.
Copyright © 2013 by LMD Innovative. All rights reserved.
|
What do you think about this topic? Send feedback!
|