🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #545

Re: Create VCL Control from within an Object

#545
From: JohnC
Date: Thu, 31 Jan 2008 14:30
19 lines
1864 bytes
Thanks Asger:
The one I am working on right now has a TStringGrid and several TShape which
I need to allocate into an array.
I thought I was giving them a Parent, but I'll fool around with that a
little more.  Since nothing was showing up, I thought that perhaps there was
something special about the controls that they just needed to be manually
placed on a form.
If you think I should move this over to the other group, just say so and I
will do so.  I don't normally access that group.
Thanks,
   John

----- Original Message ----- 
From: "Asger Joergensen" <junk@Asger-P.dk>
> If I understand You correctly, that shouldn't be a problem, but
> please explain what kind of object, what kind of items.
>
> You can create VCL components by using the keyword new, but
> if You want them to be visible You have to provide a Parent.
Technical Details
Message-ID: <47a1db90$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <47a1c92f$1@newsgroups.borland.com> <MPG.220bf5123600e831989a26@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,15058af8c1208ee6
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JohnC" <jcibulskis@sbcglobal.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <47a1c92f$1@newsgroups.borland.com> <MPG.220bf5123600e831989a26@newsgroups.borland.com>
Subject: Re: Create VCL Control from within an Object
Date: Thu, 31 Jan 2008 08:30:39 -0600
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 76.224.12.255
Message-ID: <47a1db90$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201789840 76.224.12.255 (31 Jan 2008 06:30:40 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail