You are here: Symbol Reference > JSEditDialogs Namespace > Functions > JSEditDialogs.InputComboEx Function
LMD DialogPack
ContentsIndexHome
PreviousUpNext
JSEditDialogs.InputComboEx Function

Wrapper function for displaying a dialog with a combobox control

Pascal
function InputComboEx(const ACaption: TJSString; const APrompt: TJSString; var AValue: TJSString; const AFixedList: Boolean; AItems: TJSStrings; AFooter: TJSFooterRec; 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. To include a footer in your dialog, set the properties of the TJSFooterRec type and pass the structure in the AFooter parameter Optionally you can specify Content and Instruction text for the dialog as well.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!