Difference between revisions of "Microsoft KB Archive/107807"

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 44: Line 44:
 
You can center a screen programmatically in FoxBASE+/Mac independent of the current screen resolution by using the following sample program code.<br />
 
You can center a screen programmatically in FoxBASE+/Mac independent of the current screen resolution by using the following sample program code.<br />
 
<br />
 
<br />
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this code &quot;as is&quot; without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
+
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this code "as is" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
 
<pre class="codesample">  * Screen 1 will be centered
 
<pre class="codesample">  * Screen 1 will be centered
 
   mrow=(VAL(SYS(1021))-VAL(SYS(1023)))/2
 
   mrow=(VAL(SYS(1021))-VAL(SYS(1023)))/2

Latest revision as of 10:20, 20 July 2020

Knowledge Base


How to Center a Screen in FoxBASE+/Mac

PSS ID Number: 107807

Article Last Modified on 10/22/1999



The information in this article applies to:

  • Microsoft FoxBASE+ for Macintosh 2.01



This article was previously published under Q107807

You can center a screen programmatically in FoxBASE+/Mac independent of the current screen resolution by using the following sample program code.

WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this code "as is" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

   * Screen 1 will be centered
   mrow=(VAL(SYS(1021))-VAL(SYS(1023)))/2
   mcol=(VAL(SYS(1022))-VAL(SYS(1024)))/2
   SCREEN 1 TOP AT mrow,mcol
        


Additional query words: 2.01 center screen

Keywords: KB107807
Technology: kbAudDeveloper kbFoxBASE201Mac kbFoxBASESearch kbFoxproSearch kbHWMAC kbOSMAC