[DUG] Adding button to form
Colin/Mina
colmin at ihug.co.nz
Tue Oct 14 16:36:26 NZDT 2008
Thanks
1. The button is placed on the Panel at design time and shows in the
Object Inspector. It doesn't show up anywhere on the form when I Build and
Run the application.
2. Directly copying and pasting an existing button, that does show, then
renaming it doesn't make it visible when I run the app.
3. Tag value of new button is same as all others = 0.
4. renaming Original Button and givig the added button its name, doesn't
fix the problem.
5. STOP PRESS.
No, I'm mot using form inheritance but I think Stacey is on to it. I was
looking at that possibility when I was interrupted and came back to find his
email. I think I'm somehow not working on the same project but still on its
its ancestor, having taken a copy to work on.
From memory I've been caught like this before.
Will confirm tomorrow.
Cheers
Colin
----- Original Message -----
From: "Robert martin" <rob at chreos.co.nz>
To: "NZ Borland Developers Group - Delphi List" <delphi at delphi.org.nz>
Sent: Tuesday, October 14, 2008 3:50 PM
Subject: Re: [DUG] Adding button to form
> Hi
>
> Try copying a button on the panel that does show, does it show? (there
> might be code hiding components based on something obscure - like tag
> value)?
>
> What about changing the name of the new button to that of the old
> (rename old) does it work now. Must be code changing it.
>
>
>
> Colin/Mina wrote:
>> Hi,
>>
>> I'm modifying an old application that was written in D5. I have a
>> form amongst others on which there is a Panel on which there is a
>> TButton. All works fine. I need to add another button on the same
>> Panel but having done so it doesn't show up at Run Time. It is enabled
>> and its 'Visible' property = TRUE.
>>
>> In fact I can't seem to add anything i.e.: labels, edit boxes etc..
>>
>> The mind boggles at having to unravel a whole form and then start
>> from scratch adding 90 odd components and re-stitching it all together.
>>
>> Any suggestions?
>>
>> Thanks
>>
>> Colin
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at delphi.org.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
>> unsubscribe
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
More information about the Delphi
mailing list