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-bounces@leafe.com Im Auftrag von Joe Yoder Gesendet: Donnerstag, 27. Juni 2024 02:19 An: profoxtech@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