Newbies gsmith Posted January 13, 2001 Newbies Share Posted January 13, 2001 I'm designing an application that will be distributed to peole with different screen resolutions. I created a calc field with status(currentScreenHeight). I then created another calc field, using "IF", that returns a "0" value if height is 480 and a "1" value if height is not 480. Now I need to have a script that takes me to the form that I set up for 640x480 resolution when the calc field has a value of "1" and takes me to another form if the value is "0". Well... this is where I'm stuck. Any suggestions? Link to comment Share on other sites More sharing options...
BobWeaver Posted January 13, 2001 Share Posted January 13, 2001 Make a script that goes to the correct layout based on the screen height: if[status(currentScreenHeight)=480] Go To Layout(Layout1) else Go To Layout(Layout2) End If Then select Document preferences from the Edit menu. Select "When Opening...perform script", and pick the above script. [This message has been edited by BobWeaver (edited January 13, 2001).] Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8694 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now