inherited form with anchor property problem

  • Thread starter Thread starter Colin Lai
  • Start date Start date
C

Colin Lai

hi all,

i have a base form (i.e. form1), there is a button with "bottom, right"
anchor property...
when i create a form2 which inherited from form1 with different size...
the button keep on the same position and doesn't change... ^_^

how can i fix this?
is it inherited items can't change position?

cheers,
colin
 
When you inherit the form you inherit its class definition, not any values
you may set to and instantiated object of form1.

you would need to set the anchor properties of the new object.

OHM
 
Back
Top