Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does one make the width of a form larger?
Message
De
02/03/2002 12:43:54
 
 
À
02/03/2002 09:54:13
Dennis Hupe
Boot, Hoof'n Paw Prints
Bloomville, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00627384
Message ID:
00627420
Vues:
18
Hi Dennis

>1. While in Form Design, the maximum width of a form is about 630 (pixels I presume). Yet the Form Designer window extends much farther to the right and cannot be accessed. How can I make use of a larger form than I currently can?

That is set by the Maximum Design Area dropdown on the Forms tab of the Options Dialog. The default is 640 x 480 but you can set it to various values up to 1600 x 1200. One word of caution - do beware of the issues of user screen sizes if developing for others. It is still common for people to be using resolutions of 800 x 600 (and sometimes still 640 x 480) and if you make forms too big they become unusable.

>2. When running a user created form after creating an EXE, the user created form is on top of a Microsoft Visual Foxpro Window. The user created from can be moved to another position of the desktop but leaves this white window from where it was moved from. Is there a way not to have this Microsoft Visual Foxpro Window?

Yes, you can create forms that run directly on the WIndows Desktop but that requires a number of additional settings to be made. First your form must be set up as a "Top Level Form", and it cannot be modal, so you need to start an event loop for it with a READ EVENTS somewhere before the form is instantiated, and a CLEAR EVENTS to get you out of VFP. Then you need to disable the VFP screen - you can do that with a CONFIG file that includes _SCREEN = OFF or in your start up code with _SCreen.Visible = .F. (the former is better as it prevents a 'flash' of the screen that will otherwise occur.
----
Regards
Andy Kramek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform