ListBox in Dialog

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

ListBox in Dialog

Post by armsys » Sun Dec 26, 2004 12:07 am

Dialog>Dialog
Caption=Reading
Top=199
Width=202
Left=288
Height=193
Label=Select books,8,8
ListBox=msListBox1,8,32,177,57,FileMaker 7%CRLF%Exceld
Button=&Done,72,92,49,25,1
Button=&Cancel,128,92,57,25,2
EndDialog>Dialog

Referring to the above script, currently clicking either button is required to exit the dialog.

Is it possible to double-click (or pressing ENTER) an item in the ListBox, say FileMaker, to exit the dialog?

With the current version, it seems to be impossible.
Last edited by armsys on Sun Dec 26, 2004 11:03 am, edited 1 time in total.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sun Dec 26, 2004 9:45 am

Hi,

No it's not. At present you can only respond to the value of some object or a button click. Double click events are not yet supported.
MJT Net Support
[email protected]

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Sun Dec 26, 2004 11:55 am

Hi Support,

Thanks for your quick reply. Hope double-click events will be supported in future. It's one of many nice-to-have but not critically important features. Thanks again.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts