how to clone a control

Started by grrrr, January 10, 2010, 07:03:13 AM

Previous topic - Next topic

grrrr

hi,

for a dynamic programming of dialogs, depending of incomming data,
i want to make clones of one master control in the project with all properties identical.
a specific name and symbolname can be assigned later.
if the  master control is changed all derived controls are changed.
how to do

Fred Tomke

Hi, grrr, it's not possible to create forms by inheriting another form.
But if you want to use a form for different functions you can add all controls you need and change their state and visiblity at runtime. I have some forms where I do it this way but I'm not at work now to create some screen shots. And at least I don't know how your forms should look like.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]