Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1. Window Size 2. Mid function
Message
From
15/12/2001 04:00:19
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00594212
Message ID:
00594770
Views:
23
Yes, thanks. I tried to put _Screen.WindowState = 2 in my main prg and it works now, thanks for help.

>>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
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Previous
Reply
Map
View

Click here to load this message in the networking platform