In VFP 7.0, right click on the title bar of each window (Command, Properties) and check "Dockable". Then dock window. Exit FoxPro. When you re-launch FoxPro, it should be where you left it. If not, I'm assuming that you don't have a resouce file set (or it may be in use by another...
Thanks, will keep this in mind. Just getting started, don't know if there will be any interest here.
James Jernigan
Nashville, TN USA
jrjernigan@hotmail.com
"Too err is human ... I should know, I get to show my humanity everyday." jrj
This will work as long as you can "copy" the file to the printer, bypassing the printer drivers. If you try to print it or "type" it, it will wrap the binary file in additional control codes and could distort the output.
James Jernigan
Nashville, TN USA...
Just started an eGroup on Yahoo!
Hopefully can get a RT group going.
If you're interested ... join the eGroup at http://groups.yahoo.com/group/nashfug.
=======================
James Jernigan
Nashville, TN USA
jrjernigan@hotmail.com
"To err is human ... I should know, I get to show my...
Nope. Sorry.
With 6.0 _screen.height and _vfp.height return same value, size of desktop area (not whole window)
With 7.0 _screen.height returns size of desktop, _vfp.height returns whole window size.
Way to test
1. go into each version
2. maximize the VFP window
3. ? _vfp.height...
And, since I've never referred to _VFP.Height (only _Screen.Height) - this will be THE number for ME and my purposes.
Thanks all. [sunshine]
James Jernigan
Nashville, TN USA
jrjernigan@hotmail.com
"Too err is human ... I should know, I get to show my humanity everyday." jrj
*** WELL BLOW ME DOWN *** (as Popeye used to say)
Finally read the "fine print" in VFP 6.0 Documentation for Height Property.
"Specifies the object's height measured in the unit of measurement specified by the ScaleMode property of the form.
Remarks
For forms, the Height...
ANOTHER THOUGHT
Instead of using the formula:
desktop_height = _screen.height - 38 - 23
Would probably be better to use:
desktop_height = _screen.height ;
-SysMetric(9) ;
-SysMetric(20) ;
- 23
SysMetric(9) = Height of window title...
My tests with _Screen.Height vs. _Screen.ViewPortHeight resulted in the same numbers (Using VFP 6.0 SP 5). So, it didn't help.
Test program:
---------------------------------------------------------
Set Status Bar On
Set SysMenu On
Show Window Standard
? "Menu", "Toolbar"...
OK, was referred to documentation (duh! stupid me did not find it, ha ha) that tells us that the title bar and menu have a height of 38 and the status bar has a height of 23, SO:
desktop_height = _screen.height - 38 - 23
Then I could use desktop_height to see if my form will be too large or...
Does anyone have (or know of) a formula/calculation to determine the height and width of the VFP Desktop area. This would be the space below the menu bar (if any) and above the status bar (if turned on).
I know SYSMETRIC() could be used to help calculate this, but I'm not sure of everything to...
When you say clock, are you refering to the "analog" variety? (Numbers 1 thru 12; hour, minute, and second hands <g>) or are you needing to enter time?
You can use the DateTime picker from Microsoft.
If you find using it a bit troublesome, try the KB article written as an example...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.