Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window placement in the IDE gets weird
Message
From
07/05/2003 10:28:46
 
 
To
07/05/2003 09:53:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00785777
Message ID:
00785808
Views:
33
Is there any chance that you are switching screen resolutions between times of opening VFP7?
What I do is I call a program from my config.fpw in development. It is run at startup everytime and one of its functions is to put the command window in the same place everytime I start VFP:
WITH _SCREEN
	.LOCKSCREEN=.T.       && Disable screen redraw
	.BACKCOLOR = RGB(255,255,255)  &&Change background to white
	.BORDERSTYLE=3        && Change border to sizeable
	.CLOSABLE=.T.         && Reset window control buttons
	.CONTROLBOX=.T.
	.MAXBUTTON=.T.
	.MINBUTTON=.T.
	.MOVABLE=.T.
	lccaption=VERSION()
	.CAPTION=lccaption
	.WINDOWSTATE=2			&& maximized
	.FONTNAME="foxfont"
	.FONTSIZE=9
	.FONTBOLD=.F.
	.LOCKSCREEN=.F.       && Enable screen redraw
ENDWITH
ZOOM WINDOW "command" NORMAL AT 0.1,35.8
IF WEXIST('standard')
	ACTIVATE WINDOW standard
ENDIF
_SCREEN.FONTNAME="foxfont"
_SCREEN.FONTSIZE=9
_SCREEN.FONTBOLD=.F.
SET DEFAULT TO \Profiler\Progs
SET PRINTER FONT 'Arial', 8
_VFP.EDITOROPTIONS = "lqKT"
_SCREEN.CAPTION=VERSION()
>Occasionally I open VFP 7 to modify a project, and the default window placement for the Command window, the property sheet, codeview etc all seem to default to weird places, like almost off the screen down at bottom on right. I tried getting rid of resource file (foxuser.dbf fpt.) to reset them and this did not work reliably. It is intermittent, since sometimes they appear where I last left them.
>
>This is a pain, but I can live with it.
>
>I am not up on what foxuser actually does, I would welcome a pointer to some documentation on it, if nothing else.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform