Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1. Window Size 2. Mid function
Message
 
 
À
13/12/2001 21:32:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00594212
Message ID:
00594227
Vues:
25
This message has been marked as the solution to the initial question of the thread.
>Hi, I have 2 questions:
>1. In the option menu, I set the resolution of Form to 800 x 600. But after I build my application to an exe file and run it, the size of the window is always 600 x 480, I always need to maximize it manually. I already set all of my forms to maximize in its property. My stupid workaround is make a window shortcut of this exe file and in the shortcut's property, I can set the default window size to maximum. Any way to solve this problem?

In the main program put _screen.windowstate=2 if you're using VFP main screen. Do the same for your forms (set WindowState property)
>
>2. I only can find Left and Right function in VFP, does it have a function like Mid? Since I want to get the numerical part from "A0004a" or "B0123c", I want to use Mid("A0004a", 2,5) to get "0004"

SUBSTR function in VFP (MID in VB, right?)
>
>Thanks
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform