[lazarus] Label mystery solved probably...

Cliff Baeseman Cliff.Baeseman at Greenheck.Com
Fri Apr 23 12:12:58 EDT 1999


If I can infact get past this label thing I might just be able to add a few
myself. Speaking of which if I get it working how do you see TApplication
doing a form creation. something like CreateForm(formclass: TForm)  ?  I can
place a reference to the form in a list to track the instances and destroy
when application.halt is called. As for the progress bar I will look at that
I might have to create another control placement method using a vbox or
alignment widget.

Cliff

-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Friday, April 23, 1999 10:55 AM
To: lazarus at miraclec.com
Subject: Re: RE: [lazarus] Label mystery solved probably...


I've tried it without using AddControl and it's failed.

I have moved on for now so I would appreciate it if anyone has time if they
could look at the code.  I am on another component for now.

Shane


>>> Cliff Baeseman <Cliff.Baeseman at Greenheck.com> 04/23 10:31 AM >>>
Shane is the alignment widget classified as a container widget. AddControl
will only work against a
Container type widget at the moment.

CLiff

-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Friday, April 23, 1999 9:40 AM
To: lazarus at miraclec.com
Cc: fpc-pascal at vekoll.saturnus.vein.hu
Subject: Re: [lazarus] Label mystery solved probably...


Question:

Can the gtk widget Statusbar be changed so it is automatically created
inside an alignment widget?  Like the toolbar there shoul be no instance
where it's not either on the right/left/top/bottom/center of a form.

If not, can someone look at the newest code in the CVS?  I have created a
TStatusBar class and I have the user create an alignment widget, then create
a tstatusbar with the alignment as the parent.  When I do this, the
statusbar never shows up!  It's hidden somewhere.

If I create the Statusbar with the form as the parent (the code for that is
in main.pp) then it displays itself but when the form is resized we would
need to find some way of moving it to keep it on the bottom of the form.

Any thoughts would be appreciated.

Shane


_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject






More information about the Lazarus mailing list