Hallo rossiaurelio,

> [...]

> Ok, thanks you people for the reply ... i've tried this code, adding
> some code and a button to create the groupbox at runtime :

> var
> ...
> MyGBx : TGbx;

> procedure TForm1.Button1Click(Sender: TObject);
> begin
>   MyGBx := TGbx.Create(Form1);
>   MyGBx.Caption := 'My GroupBox';
>   MyGBx.Visible := True;
>   MyGBx.Show;
>   MyGBx.top := 100;
>   MyGBx.left := 100;
> end;

> ... but i dont see any groupbox on the form ... aaahhhh ... 
> where i go wrong ?

You have to set the parent of your groupbox:

MyGBx.Parent := Form1;

Insert this line e.g. after create statement and you will see your groupbox :-)

-- 
Cheers,
J�rn



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to