Open combo box programmatically

Scotte Meredith spomacguy at gmail.com
Fri Sep 30 20:53:06 UTC 2022


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






More information about the omnisdev-en mailing list