[lazarus] QT Loop Problem

codepunk vbman at pcpros.net
Fri Apr 14 08:26:18 EDT 2000

No I did not set the widget  handle but we should place a check somewhere that
eliminates the cycling. Right now all I did was created a interface unit and
compiled hello world. In theory I should just be able to run this and have the
code just fall thru and exit due to not getting caught by the main event loop
of the called library be it gtk or qt. Once I can get that to occur it should
take me less than 15 min to get forms and buttons working enough for a
successful compile of hello world. Last night I fought it long enough to screw
up my copy of the LCL so I will have to start new again tomorrow.  Can't work
on it tonight I have a Matrix party to attend this evening with all of the
local geeks.


On Fri, 14 Apr 2000, Marc Weustink wrote:
> + From: codepunk [mailto:vbman at pcpros.net]
> +
> + If I comment out the style line the program exits as it should..
> + On Thu, 13 Apr 2000, Shane Miller wrote:
> + > in CreateParams you are setting
> + > STYLE := ...
> + >
> + > Does that do a handleneeded which tries to create the
> + > handle by calling CreateParams and so forth?  Then it loops?
> ??? Can't see why.
> Style is a member of the Params structure, So you are doing a WORD := WORD +
> That doesn't call handleneeded.
> But, Clif while creating the widget do you set the handle of the
> LCLcomponent (before refering to LCL component istelf) ?
> If not, the Handle stays 0 and HandleNeeded tries to create the widget and
> so on.
> Marc
> _________________________________________________________________
>      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