Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Docking the ToolBar...
Message
From
19/02/1997 16:05:18
 
 
General information
Forum:
Visual FoxPro
Category:
User groups
Miscellaneous
Thread ID:
00021049
Message ID:
00021183
Views:
36
>>>>>>I want to DOCK my toolbar and the code is...
>>>>>>toolbar.dock(0) (i guess)
>>>>>>
>>>>>>Where should I put this code. I tried to use the proerty
>>>>>>window, but the DOCK option is protected.
>>>>>>
>>>>>>Thanks - Rob
>>>>>
>>>>>This code must be in one of the 'pre-view' methods of the toolbar. I use This.dock(1) && But I like it on the left 0 would be top....
>>>>>
>>>>>L8TR
>>>>
>>>>Thanks Joe...
>>>>Joe is my brother'name..
>>>>this.dock(0) - works, but I would like it on the top-left. When I code
>>>>this.doc(0), the toolbar goes to the top right. i want to lock the toolbar
>>>>so the users can not move it.
>>>>
>>>>Rob
>>>
>>>Then you will need to do something like this
>>>This.Docked(0,0,0) That will nail it down. I have not made it unmovable however I would look at borderstyle. Or just put the docking code in the move event. <beg> So they can move it if they want but it will go home when its released.
>>
>>Hi Joe...
>>
>>this.docked(0,0,0) in the init event gives me a Program Error that says:
>>Property DOCKED is not a method or event.
>
>I'm sorry. Its like this: DOCK not DOCKED
>ToolBar.Dock(nLocation [, X, Y])
>
>Dock is a method. Look up toolbar and you will get the idea. :)
>HTH
Thanks...rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform