Open combo box programmatically

Ben Weinberg ben at pca.com
Fri Sep 30 21:16:22 UTC 2022


I tried adding parameters to the evClick, but none worked.  It didn’t look like any were applicable.

I then tried:

Do irAccounts_kCombo.$listdropped(kTrue)

And

Do irAccounts_kCombo.$listdropped.$assign(kTrue)

But that didn’t drop the list down either.

Ben


> On Sep 30, 2022, at 1:53 PM, Scotte Meredith <spomacguy at gmail.com> wrote:
> 
> I've not used it, but $sendevent seems to require additional parameters after the event name that come in name, value pairs.
> 
> $sendevent(iEvent[,eventParameters...])
> Sends event iEvent (an ev... constant value) to the object with eventParameters passed as name,value pairs, for example $sendevent(evClick,'pLineNumber',2). Returns kFalse if the event is discarded; generates a debug error if there is a problem with the parameters. 
> 
> When entering a $sendevent method, typing Ctrl+Space after the quote lists the event parameter names.
> 
> 
>> On Sep 30, 2022, at 1:37 PM, Ben Weinberg <ben at pca.com> wrote:
>> 
>> Hi list:
>> 
>> Is there a way to command a combo box to open without the user clicking in its dropdown arrow?
>> 
>> I have tried:
>> Do irAccounts_kCombo.$sendevent(evClick) 
>> And several other ev…
>> 
>> 
>> O$10.22, Mac, thick client.
>> 
>> Ben Weinberg
>> 
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 
> 
> 
> Scotte Meredith
> spomacguy at gmail.com
> 509/998-0991
> 
> 
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list