Wrapper function for displaying a dialog with a combobox control
function InputComboEx(const ACaption: TJSString; const APrompt: TJSString; var AValue: TJSString; const AFixedList: Boolean; AItems: TJSStrings; ACaptionPosition: TJSCaptionPosition = cpTop; const AInstruction: TJSString = ''; AContent: TJSString = ''; AGlyph: TGraphic = nil): Boolean; overload;
JSEditDialogs
This function displays a dialog with a caption and a combobox control. The function returns True if the OK button was clicked when the dialog was displayed. The selected item from the combobox is returned in the AValue 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. Optionally you can specify Content and Instruction text for the dialog as well.
Copyright © 2013 by LMD Innovative. All rights reserved.
|
What do you think about this topic? Send feedback!
|