Home » Developer & Programmer » Forms » dynamic Screen Resolution
dynamic Screen Resolution [message #270184] Wed, 26 September 2007 01:21 Go to next message
sispk6
Messages: 164
Registered: November 2006
Location: pakistan
Senior Member
hi,
I am converting my form 6 application to form 10g. this application is previously designed for screen resoltion 0f 600 * 800. Now i want my application to work on any screen resolution, for that purpose i need to retrive resolution from clents machine
.
So in short i want to retrive screen resolution of client machine in forms 10g.

thnx
Re: dynamic Screen Resolution [message #270192 is a reply to message #270184] Wed, 26 September 2007 01:35 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
If you have access to metalink, have a look at documents 1071248.6 and 118632.1. Basically it's about setting an extra parameter (ClientDPI). But I have no experience with it.

MHE
Re: dynamic Screen Resolution [message #270193 is a reply to message #270184] Wed, 26 September 2007 01:35 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Easy answer - work out the resolution your user will use and redo ALL your forms.

Hard answer - have a look at http://www.orafaq.com/forum/m/220038/67467/?srch=change+screen+size#msg_220038 and http://www.orafaq.com/forum/m/167903/67467/?srch=change+screen+size#msg_167903 and http://www.orafaq.com/forum/m/159479/67467/?srch=change+screen+size#msg_159479

David
Re: dynamic Screen Resolution [message #270198 is a reply to message #270184] Wed, 26 September 2007 02:03 Go to previous messageGo to next message
sispk6
Messages: 164
Registered: November 2006
Location: pakistan
Senior Member
Thnx for replying but this is not the solution i m looking for, because my company works with different clients with this single system so never know what resolution they are working at, so thats why i need to get resolution.
Re: dynamic Screen Resolution [message #270202 is a reply to message #270198] Wed, 26 September 2007 02:11 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Did you read the third link? Did you read the last entry of the first link?

David

[Updated on: Wed, 26 September 2007 02:13]

Report message to a moderator

Re: dynamic Screen Resolution [message #270245 is a reply to message #270184] Wed, 26 September 2007 04:56 Go to previous messageGo to next message
sispk6
Messages: 164
Registered: November 2006
Location: pakistan
Senior Member
i got it

GET_APPLICATION_PROPERTY(DISPLAY_WIDTH)
GET_APPLICATION_PROPERTY(DISPLAY_Height)
Re: dynamic Screen Resolution [message #270433 is a reply to message #270245] Wed, 26 September 2007 21:38 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Do yourself a favour. Write one form for a particular resolution using PLL libraries and database procedure for as much as possible. Save it as "my_form600x480". Clone that form, increase the window and canvas sizes, make the screen elements wider etc. Save it as "my_form800x600".

Create an initial form which either determines the size of the screen or has a pair of buttons on it - one to start in 600x400 and the other in 800x600. Then set some global as '600x400' or '800x600' and use that as the suffix in all of the subsequent form calls.

David
Re: dynamic Screen Resolution [message #350421 is a reply to message #270245] Thu, 25 September 2008 00:47 Go to previous messageGo to next message
itech
Messages: 173
Registered: May 2008
Location: Fsd, Pakistan
Senior Member

sispk6 wrote on Wed, 26 September 2007 14:56
i got it

GET_APPLICATION_PROPERTY(DISPLAY_WIDTH)
GET_APPLICATION_PROPERTY(DISPLAY_Height)



does it work for Single Document Interfae As well ?

using USESDI=YES PARAMTER.
Re: dynamic Screen Resolution [message #350436 is a reply to message #350421] Thu, 25 September 2008 01:15 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try it and see what happens.

David
Previous Topic: run reports without specifying full path
Next Topic: notes
Goto Forum:
  


Current Time: Wed Apr 24 19:21:17 CDT 2024