Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll bars and formsets
Message
De
04/12/2006 14:02:16
 
 
À
04/12/2006 13:54:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01174483
Message ID:
01174690
Vues:
8
>>>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')
I thought about going back and adding that to my reply. I figured someone else would do it. <g>
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform