Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

visual basic controls

Status
Not open for further replies.

woodman

Programmer
Joined
Feb 4, 2001
Messages
1
Location
US
I'm learning the toolbar control and have found that when I choose this control from the toolbox, it pops to the top of my form.If I attempt to move it, the control will shoot back to the top of my form. Why is this ?
Also the height property and the left property retain their settings.These settings cannot be altered. Why ?
Can you reccommend a good book which explains these peculiarities ? What specific topic will uncover these mysteries ? Thank-you in advance
 
HI

The way you do this is through the Align property of the toolbar - e.g toolbat1.align = 3 - the valid settings are:

vbAlignNone (0)
vbAlignTop (what you currently have) (1)
vbAlignBottom (2)
vbAlignLeft (3)
vbAlignRight (4)

Hope this helps

Craftor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top