BOBSCOTT wrote on Jun 28
th, 2006 at 2:38pm:
Is there a method for changing screen resolution when a Sesame Application runs? or do I need an @enviroment command that tells me the users settings and have different forms start based on the settings returned.
This is a good idea. But it's not available in Sesame 1.0 unfortunately.
However, you should be able to achieve something close. The user's screen resolution is not likely to change much. How about doing this: Give the user a form which just has a picklist of the screen resolutions (800x600, 1024x768 right up to the
crazy ones you get on some laptops these days!). From the choice set the mode and store this as a text file stored on the user's local drive: ScreenMode.txt = 1, 2 etc.
When the user opens the main menu form initially this text file is interrogated and the value stored in a static variable, eg stMode. Then have conditional code for the command buttons which opens the form:
IF stMode =1 then open form customers1, if mode =2 then open form Customers2 etc (This is quasi-code).
If the user changes their resolution then they'd have to go and pick a different resolution. Sesame would use different forms the next time they restarted Sesame. Should work as you wish with very little effort by the user (or database administrator).