That
works great :)
How
about a list of available forms or datamodules from within a TComponent
Editor?
Thanks
Stacey.
-----Original Message-----
From: Myles Penlington [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 September 2001 10:33 a.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Layout of Non-visual componentsIt does - but not that obvious.In D6 the field TComponent.DesignInfo holds the top and left positions, by splitting the integer into two words - look in classes TComponent.WriteLeft and TComponent.WriteTop to see which word of DesignInfo is used for left and top.
Myles-----Original Message-----
From: Stacey Verner [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 September 2001 10:20 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Layout of Non-visual componentsI have a component editor which adds lookup columns to a dataset. to do this we must also create lookup datasets for the lookup columns.At the moment the datasets are all created at 0, 0.TComponent does not have Left or Top property, however there is a Left and Top entry in the dfm for each non-visual component.Is there any way that I can set this?In some cases we may want these lookup datasets created on a form or dataset other than the one the parent dataset is on. For this I need to get a list of available forms or data modules from the designer (do these need to be open?), and allow the user to pick the desired destination. How do I get the list?ThanksStaceyStacey Verner Ph: +64-9-4154790
Software Developer Fax: +64-9-4154791
DDI: +64-9-4154797
CJN Technologies Ltd. Email: [EMAIL PROTECTED]
PO Box 302-278, North Harbour, Auckland 1330, New Zealand
12 Piermark Drive, North Harbour, Auckland, New Zealand
Visit our website at http://www.cjntech.co.nz/