Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll bars and formsets
Message
From
04/12/2006 13:54:53
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01174483
Message ID:
01174688
Views:
9
>>Okay - I don't know how to do this and I've beaten on my code and VFP help long enough. Please show me how?
>>
>>
>>>oToolbar needs to be a property of _SCREEN, not a form.
>>>
>>>>I added the code below to the mouse middleclick method of the form's image/pic. Here is the code I used:
>>>>
>>>>LOCAL oToolBar
>>>>oToolBar = NewObject('showonly','mylib.vcx')
>>>>oToolBar.Show( )
>>>>
>>>>When I middle click on the form's image(its a map), I can see the class flash and then disappear on the map image. How do I get it to show and stay on the image?
>>>>
>>>>+++ Grady
>
>Try this:
>
>
_SCREEN.AddProperty("oToolBar")
>_SCREEN.oToolBar = NEWOBJECT('showonly','mylib.vcx')
Or even simpler
_screen.AddObject('oToolbar','mylib.vcx')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform