[lazarus] QT almost working
Marc Weustink
weus at quicknet.nl
Sat Apr 15 19:07:11 EDT 2000
At 21:20 15-04-2000 -0500, codepunk wrote:
>Hi,
> I almost have the hello world working in QT. I have got the window showing
>and such but now I have to attach a callback to the widget. Question? which
>event should I be attaching to the button. I see that clicked and pressed are
>obsolete so what one am I supposed to attach to a button.
The LM_[L|M|R]Mouse[Down|Up] events, but you don't have to attach them.
This is done by the TControl.AttachSignals.
You only have to suport them in TQTObject.SetCallBack (thats probably what
you ment ;-)
Marc
Marc
--
OK, It took some time but the weus at quicknet.nl is working again.
More information about the Lazarus
mailing list