Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application Background
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00494910
Message ID:
00494923
Views:
12
Hello again

if you wanted to check your resolution and set the appropriate background you, you could try this:
lnwidth  = <b>SYSMETRIC</b>(1)
lnHeight = <b>SYSMETRIC</b>(2)
MyPicFor800x600 = 'some bmp 800 x 600.bmp'
MyPicFor1024x768 = 'some bmp 1024 x 768.bmp'

<b>DO CASE</b>
	<b>CASE</b> lnWidth <= 800 <b>AND</b> lnHeight <= 600
		<b>_SCREEN.PICTURE</b> = MyPicFor800x600
	<b>CASE</b> lnWidth = 1024 <b>AND</b> lnHeight  = 768
		<b>_SCREEN.PICTURE</b> = MyPicFor1024x768
        <b>OTHERWISE</b>
                <b>_SCREEN.BACKGROUND</b> = <RGB>(128,128,128) && that grey color
<b>ENDCASE</b>
What is Wisdom?
Wisdom - The ability to respond to any situation according to God's Plan.
Therefore:
USE Wisdom IN Everything ORDER priority AS Knowledge
SELECT Knowledge
BROWSE FOR Understanding WHERE Wisdom=Guide

LeRoy Jackson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform