Article View: comp.lang.pascal.delphi.components.writing
Article #15Re: new components
From: Les Johnston
Date: Sun, 23 Apr 2000 00:00
Date: Sun, 23 Apr 2000 00:00
38 lines
1905 bytes
1905 bytes
Thanks CubuD Could I store the different shapes that I create as an array? Les CubuD wrote: > public > MyShape : TMyShape > end; > > procedure TForm1.FormCreate(Sender : TObject); > begin > MyShape := TShape.Create(Self); > MyShape.Parent := Self; > MyShape.SetBounds(0,0,32,32); > end; > > procedure TForm1.FormDestroy(Sender : TObject); > begin > MyShape.Free; > end; > > -- > petelyn@cableinet.co.uk > "Les Johnston" <laj@ozemail.com.au> wrote in message > news:39013F4E.50187E1F@ozemail.com.au... > > Hi! > > > > As a new user of D5, I am very interested to know how to create new > > components whilst a program is running, eg I would like to create new > > shapes as the program need arises. > > > > Ta > > > > Les > >
Technical Details
Message-ID:
<3902CF5E.7FEC4E6B@ozemail.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39013F4E.50187E1F@ozemail.com.au> <iTjM4.4725$VR6.443584@news3.cableinet.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 112b07,a9a323c50b3bc822 X-Google-Attributes: gid112b07,public X-Google-Thread: 1043cf,a9a323c50b3bc822 X-Google-Attributes: gid1043cf,public X-Google-Thread: fe2ce,a9a323c50b3bc822 X-Google-Attributes: gidfe2ce,public X-Google-Thread: fd817,a9a323c50b3bc822 X-Google-Attributes: gidfd817,public From: Les Johnston <laj@ozemail.com.au> Subject: Re: new components Date: 2000/04/23 Message-ID: <3902CF5E.7FEC4E6B@ozemail.com.au> X-Deja-AN: 614582114 Distribution: world Content-Transfer-Encoding: 7bit References: <39013F4E.50187E1F@ozemail.com.au> <iTjM4.4725$VR6.443584@news3.cableinet.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: ozemail.com.au 956485152 203.108.197.178 (Sun, 23 Apr 2000 20:19:12 EST) Organization: Downlands College MIME-Version: 1.0 NNTP-Posting-Date: Sun, 23 Apr 2000 20:19:12 EST Newsgroups: comp.lang.pascal.delphi.components.writing,alt.comp.lang.borland-delphi,borland.public.delphi.objectpascal,borland.public.delphi.vcl.components.writing,comp.lang.pascal.delphi.components.writing