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?
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The above worked after I added Tab controls to the functions.
Thanks.
Lalitha
Thanks.
Lalitha
Yes! i missed the tab control....
thanks for the grading and point.
thanks for the grading and point.
Remember to design your GUI around the lowest resolution you'll support.