Hi Joe,

just to correct your misunderstanding: DROPDOWN() is an event, not a method.
Notice that yellow "flash" icon in the propertysheet? Events happen to you;
methods are thrown by you (hence that flying green rubber as icon).  That's
why you can't use events like Dropdown (or Click etc) to do anything useful,
it just signals you that a DropDown happened.

Now to your problem: Use the event that fires when the combobox gets
entered: GOTFOCUS, and here you just do a simple:
KEYBOARD "{ALT+DnArrow}" PLAIN CLEAR

And Viola: the dropdown list appears.

wOOdy

-----Ursprüngliche Nachricht-----
Von: ProFox <profox-boun...@leafe.com> Im Auftrag von Joe Yoder
Gesendet: Donnerstag, 27. Juni 2024 02:19
An: profoxt...@leafe.com
Betreff: Combo box issues

I am looking for a way to have a combo box display its dropdown
programmatically. I want to do this to make it obvious that the user needs
to make a choice.  I have read that 'thisform.combobox.dropdown()' should do
the trick but the form comes up with the proper information in the dropdown
which can only be seen after clicking the control.

Another less important feature would be a way to control the position of the
list of choices when the dropdown is accessed.

Any help will be appreciated,

Joe



_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/005001dac8a3$51cc9f40$f565ddc0$@wondzinski.de
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to