 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Subrat B. Guest
|
Posted: Thu Apr 22, 2004 2:58 am Post subject: determining TComponent property at runtime |
|
|
hi.
How do i determine if TComponent object such as (Textbox,
Tform,Richedit,Button etc etc) can be applied with .caption or .text at
RUNTIME.
i want to make a common function called setText(Tcomponent *x ,AnsiString
a)
which will determine the type of TComponent x and either do
x->Caption = a;
or
x->Text=a;
Thanks
Subrat
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|