Home » Developer & Programmer » Forms » Setting Screen Resolution through form 6i Runtime
Setting Screen Resolution through form 6i Runtime [message #256383] Sat, 04 August 2007 02:42 Go to next message
shahidmughal
Messages: 91
Registered: January 2006
Location: Faisalabad Pakistan
Member

salaam o alaikum

I have designed a form for 800x600 screen resolution. When I set other resolutions it does not fit on screen.
Is there any way to get current screen resolution through Form Builder 6i at runtime.

Please provide me solution for this problem

Best Regards

Muhammad Shahid Mughal
Re: Setting Screen Resolution through form 6i Runtime [message #256392 is a reply to message #256383] Sat, 04 August 2007 03:31 Go to previous messageGo to next message
Littlefoot
Messages: 20891
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Ummm ... are you saying that someone uses 640 x 480 resolution? Because, any resolution higher than the one you've mentioned (for example, 1024 x 768, 1680 x 1050, etc.) will be able to display your form easily.

However, you might try to maximize the window to fill the screen according to the display style of the window manager using
Set_Window_Property(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE)
Re: Setting Screen Resolution through form 6i Runtime [message #256397 is a reply to message #256383] Sat, 04 August 2007 04:49 Go to previous messageGo to next message
azamkhan
Messages: 548
Registered: August 2005
Senior Member
Yes I also want to know the solution for this problem.
Re: Setting Screen Resolution through form 6i Runtime [message #256404 is a reply to message #256392] Sat, 04 August 2007 06:28 Go to previous messageGo to next message
shahidmughal
Messages: 91
Registered: January 2006
Location: Faisalabad Pakistan
Member

hi
no i have set the forms contents using 800x600 but if some one have greater are lower the system should set the resolution 800x600 only for forms runtime.

i tried using compatibility mode option in the properties of ifrun60.exe

but i could not find the setting to make the it by default 800x600 resolution.

Regards
Muhammad Shahid Mughal
Re: Setting Screen Resolution through form 6i Runtime [message #256414 is a reply to message #256404] Sat, 04 August 2007 07:52 Go to previous messageGo to next message
Littlefoot
Messages: 20891
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Ah, so you would, actually, want to CHANGE resolution (as if someone - on MS Windows - changed screen settings)! I'm sorry, I wouldn't know how to do that.
Re: Setting Screen Resolution through form 6i Runtime [message #256616 is a reply to message #256414] Mon, 06 August 2007 02:17 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
You might be able to write a Java thingy to do it for you.

David
Previous Topic: Library attachment in developer6i
Next Topic: form help
Goto Forum:
  


Current Time: Sun Dec 04 23:06:22 CST 2016

Total time taken to generate the page: 0.16721 seconds