Hi Roger
Thanks for your response
I would like you to give us a sample function that utilise your above code because I do not know where to insert this in my application
Joe
Virtual screen
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: Virtual screen
I form in memory without displaying on the screen an image of any dimension, up to 4K in X and y. then I scale it to the real resolution of the screen and then display it on the screen. Search: "My original image, my image scaled": http://lc.kubagro.ru/__AIDOS-X.txt
Re: Virtual screen
Hi Roger I developed my application resolution 1600 X 900 screen but need to deploy it on client computers with resolution 1280 X 768 :This requires that you know the size of the Dialog Window (oDlg:currentSize())
1. Where should I insert the 1280 x 768 resolution in your suggested code (oDlg:currentSize) ?
2. Will I need to place this code in every DCGETOPTION ... of my application dialogs ?
Thanks
Joe
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Virtual screen
You can put an DCGET OPTIONS ..... with all the needed values at the beginning of your program and then a
dc_getoptdefault(GetOptions). Then these values are the default for all dialogs.
dc_getoptdefault(GetOptions). Then these values are the default for all dialogs.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Virtual screen
All this will do is SCALE the objects and the fonts.
If you wrote everything for 1600 x 900, then it would need to scale down, not up.
This means that fonts could get smaller.
If you wrote everything for 1600 x 900, then it would need to scale down, not up.
This means that fonts could get smaller.
The eXpress train is coming - and it has more cars.
Re: Virtual screen
Hi Roger
I appreciate your responses.
You and express++ has a tradition that has kept us far apart from other support communities and that is providing ready-to-compile and run samples. EXPRESS++ have tones of samples in Xdemo.exe and sample folders. They are all ready-to-compile and run. That was my request on this topic. Something like:
PROC Main()
Local GetList[0]
------
-----
DCGETOPTION SCALE aScale ....
DCREAD GUI .....
Return
That way you would solve my request completely - except if not possible.
That was what I thought you promised earlier.
Thanks.
Joe
I appreciate your responses.
You and express++ has a tradition that has kept us far apart from other support communities and that is providing ready-to-compile and run samples. EXPRESS++ have tones of samples in Xdemo.exe and sample folders. They are all ready-to-compile and run. That was my request on this topic. Something like:
PROC Main()
Local GetList[0]
------
-----
DCGETOPTION SCALE aScale ....
DCREAD GUI .....
Return
That way you would solve my request completely - except if not possible.
That was what I thought you promised earlier.
Thanks.
Joe
Re: Virtual screen
I have been consumed for the past 2 weeks due to the fact that I am the president of our Navy association and just got back from our 2-year reunion. I will be finding much more time now for support in November and December as I get back into my work.
The eXpress train is coming - and it has more cars.