Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ScrollBars property on the form...
Message
De
11/01/2001 16:26:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00461860
Message ID:
00462544
Vues:
16
>>>Ok this is the thing.
>>>
>>>In my code I add 50 controls in the init() and because the scroll bar was not appearing at design time I did not see the scroll bar at run time.
>>>
>>>The scroll bar must appear at design time otherwise it will not be show at run time.
>>
>>That appears to be the case. I guess you could add a dummy object in the designer to make the scrollbars appear, and remove that object in the Init. That way you'll at least get your scroll bars.
>
>What???
>
>You only have to set the Scrollbar property in the Property sheet and VFP takes care of it from there. At least running VFP6 SP4 on NT4 SP6a, it does.
>
>I tried several scenarios using a button on a form. In all situations the button was visible in the form designer and the scrollbar was not visible at design time. The Scrollbars property was set to 2-Vertical. Ex.
>1. Add code to the Init of the button to move it off the screen. Results - scollbar appeared
>2. Add code to the Init of the form to move the button off screen. Results - scrollbar appeared
>3. Added a second button with code in the Click event to move the first button off screen. Results - scrollbar appeared when the button moved

Moving an existing object sure seems to work. Adding new ones does not.
Fred
Microsoft Visual FoxPro MVP

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

Click here to load this message in the networking platform