Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll bars and formsets
Message
From
03/12/2006 13:04:57
 
 
To
03/12/2006 12:09:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01174483
Message ID:
01174488
Views:
7
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


>As Mike said, formsets are bad. You can attach the toolbar to the _SCREEN.
>
>Add a property to the screen that holds a reference to the toolbar.
>
>>1) I have a large form that requires scroll bars, which it has. They work fine.
>>2) I decided to create a class based on the toolbar.
>>3) When I tried to add the toolbar class I was interupted with a message that told me that I had to create a formset in order to add the toolbar class I created.
>>4) I created the formset
>>5) I compiled and ran the app to make sure all was working as it should.
>>6) The scroll bars on the form have been removed by the formset operation and there is no longer a way to add them to the form.
>>
>>Is there a way that you know to add the scroll bars and still have the class on my form?
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform