[Gambas-user] A couple of questions
kschrock at ...149...
Wed Jun 4 04:13:37 CEST 2003
>On Tuesday 03 June 2003 17:35, Ken Schrock wrote:
>>Can I "send" an event? (like Win PostMessage)
>>i.e. Can I call Button1_Click() if I have no sub (code) for it?
>>(more useful real things would be select something in a listbox
>> or perhaps drop down the list in a combo box programmatically)
>>If so how? (It is often helpful to do this asynchronous)
>Well, as I understand it, you can pretty much do anything with events that you
>can do in VB (with the addition of being able to name your event subs
>anything you like if you want.) The example you give, PostMessage, was an
>API call and not really part of VB, though I can see how such a thing would
>be useful. Maybe it's possible already (like the Qt emit macro) and I just
>don't know about it.
Ok, sounds like a hint...
Is the Qt emit call synchronous or asynchronous?
(SendMessage is synchronous, PostMessage asynchronous)
Can I call it from Gambas somehow?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User