Link to home
Start Free TrialLog in
Avatar of lalitha_sabesan
lalitha_sabesan

asked on

Window resize without using hard coded values

I have a window which has more than 15 controls and I need to add code that will work with any machine. I think that if I use the hard coded value it may not properly in some machines with different resolutions. Could anybody tell me whether there is any way I can achieve this?
Avatar of michaelstoffel
michaelstoffel

Is your application PFC based.  The resize service makes it easy, even works with fields in DWs.  If it is not PFC based, there are some examples on CodeXchange.

Remember to design your GUI around the lowest resolution you'll support.

Hi lalitha,

If you are not using PFC, i have a user object, that you can use in any window.  this will dynamically resize and will work in any machine with any resolution.

i will past the exported syntax here as next comment... copy the whole code into a text file and save as some name.sru(eg : u_resize.sru) then import this file into ur pbl and check the 'constructor' event of the object to understand how it works

Regrads
Gaf
ASKER CERTIFIED SOLUTION
Avatar of gafoor78
gafoor78
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lalitha_sabesan

ASKER

The above worked after I added Tab controls to the functions.
 Thanks.
Lalitha
Yes! i missed the tab control....

thanks for the grading and point.