G
Guest
I'm writing code to create a tabbed form with controls on each of the tab
pages. (There will be over a hundred buttons, and certain buttons will
occasionally need to be added or deleted or repositioned. Rather than
clicking and dragging these hundreds of buttons by hand, and revising them -
again by hand, the code will create -and re-create as necessary- the form.)
The problem is that although the controls have properties denoting the X and
Y coordinates (i.e. the location of the control on the form), I cannot find a
property which would show which tab page the control is to be placed on. I
have also looked at the properties of other objects within the form, and have
found nothing.
To recap, what is the property that indicates what page of a tabbed form a
control appears on, and what object is it a property of?
Anyone?
pages. (There will be over a hundred buttons, and certain buttons will
occasionally need to be added or deleted or repositioned. Rather than
clicking and dragging these hundreds of buttons by hand, and revising them -
again by hand, the code will create -and re-create as necessary- the form.)
The problem is that although the controls have properties denoting the X and
Y coordinates (i.e. the location of the control on the form), I cannot find a
property which would show which tab page the control is to be placed on. I
have also looked at the properties of other objects within the form, and have
found nothing.
To recap, what is the property that indicates what page of a tabbed form a
control appears on, and what object is it a property of?
Anyone?