Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP windows

Status
Not open for further replies.

fjagdis

Programmer
Aug 12, 2001
27
CA
Hi All :
I am using VFP9. When I directly use GETFILE() or LOCFILE() the window maximizes and the only control I have in the upper right corner is the [X] close button. It seems as if I have lost the scaleable properties. I cannot use the arrows on the sides and corners to make the window smaller. This only occurs in the development environment. If I use GETFILE() in a compiled program in performs correctly. My suspicion is that I need to correct something in the VFP 9 configuration but I cannot figure out where to do so. I would be grateful if you ca help me.
Frank
 
That's really weird. I don't even see how you can maximize those windows. Are you sure they aren't just filling your screen naturally?

Tamar
 
the only control I have in the upper right corner is the [X] close button. It seems as if I have lost the scaleable properties. I cannot use the arrows on the sides and corners to make the window smaller.

Yes, those are the only upper-right controls.

And, there is a minimum size Below which these windows will NOT go.
Can you scale UP in size the window?

If you can go one way (UP), but not the other (DOWN) then your window is opening already at its smallest size.

Good Luck,
JRB-Bldr

 
Thanks for replying Tamar.
Attached is a screenshot...if this helps.
Frank
 
Offs I am having trouble attaching a screenshot !
 
OK....I will try to be clearer.
On my VFP 7 platform when I enter GETFILE() in the command window a box pops up to select the file.
When I do the same on the VFP 9 (different computer) the box fills the screen and I am unable to resize it. I suspect it is something quite simple that I am missing.
Thank you all for responding.
Frank
 
Frank, I have been trying to reproduce this problem with different versions of VFP and on different computers. Whatever I do, the dialogue is always fully resizable and fully movable. I can drag any of the edges to resize it, and I can drag the title bar to move it.

Are you completely sure you cannot do that?

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy
 
I also never saw this problem, GETFILE is causing a windows system File Open dialog (also known as one of CommonDialogs) and these dialogs appear, as they were last opened, VFP has no infuence on that.

What I deduct from it is, your system is whacked, it has nothing to do with VFP, neither with the version 9 nor with it in general, the dialog is a Windows system dialog, which VFP merely triggers to appear.

Bye, Olaf.
 
Thanks Olaf.
I thought it was a Windows issue since I believe GETFILE() uses the windows API. I will look into this and if I find a solution, I will post it.
Frank
 
Mike :
It does not occur in OTHER Windows applications - the OPEN window is scaleable. Hence the reason for thinking that it has something to do with the VFP configuration. It could be in the Windows Registry file but I did not modify anything there.
Frank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top