[lazarus] QT almost working

codepunk vbman at pcpros.net
Sat Apr 15 19:20:32 EDT 2000

Well sort of I have to build a setdata getdata method into the QT engine so
that I can place a pointer to the TObject on the widget. I have to do this so
that when I recieve a event I can cast it and dispatch the message to winproc.

I am close I should be able to make it work after adding the methods.


On Sat, 15 Apr 2000, Marc Weustink wrote:
> 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.
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus

More information about the Lazarus mailing list