Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify form maximized
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01147697
Message ID:
01147966
Views:
10
>>I have edited Foxcode so MF expand to Modify Form instead of the default which is Modify File, a command I rarely use. This works fine, but one thing always annoys me a bit. When I modify a form, I also would like to have _screen maximized and the property sheet visible. I would be grateful if anyone could show me a macro I can add to Foxcode to have this happen automatically.
>
>Tore,
>
>Try to put the following into your script:
>
>LPARAMETER oFoxCode
>
>if _screen.WindowState # 2 ;
>then
>	_screen.WindowState = 2
>endif
>m.oFoxCode.ValueType = "V"
>activate window properties
>CLEAR TYPEAHEAD
>keyboard " " plain
>activate window command
>RETURN ("MODIFY FORM")
>
>
>The only trouble is that it adds an additional space after "MODIFY FORM". You could create a separate command just to show property window, maximize _screen. Use the new command initially, then use MF subsequently.

Thank you, Dawa, I will try to make it work the way I want it to. :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform