[lazarus] QT Loop Problem

Marc Weustink Marc.Weustink at cuperus.nl
Fri Apr 14 04:17:32 EDT 2000

+ 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.


More information about the Lazarus mailing list