Hi
I have a screen being designed when it loads using the code below:
DCGETOPTIONS ;
WINDOWHEIGHT win_height ;
WINDOWWIDT win_width;
PRESENTATION APRES ;
RESIZE RESIZEDEFAULT DCGUI_RESIZE_AUTORESIZE_SCALEFONT;
color tillbgcolour notitlebar
DCREAD GUI TITLE 'Till Sales' options getoptions parent @odlg FIT;
TIMEOUT atout EVAL {|o|o:setFrameState(XBPDLG_FRAMESTAT_MAXIMIZED),SetAppWindow(o)}
It has many buttons on the screen, When it loads its 1024,768 (standard) screen resolution. If the screen res is more than this the screen flickers many times as it is auto resizing the buttons on the screen.
Is there any way I can design this screen in the background and once its loaded to the size of the screen, Display it??
Thanks
Design screen in background
-
- Posts: 481
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Design screen in background
Hi,
you can test if you use HIDE in DCGETOPTIONS and then
EVAL {|o|o:setFrameState(XBPDLG_FRAMESTAT_MAXIMIZED),SetAppWindow(o), o:show()}
brings a better result.
you can test if you use HIDE in DCGETOPTIONS and then
EVAL {|o|o:setFrameState(XBPDLG_FRAMESTAT_MAXIMIZED),SetAppWindow(o), o:show()}
brings a better result.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Design screen in background
Hi
Hide() and Show() doesnt help.
It creates the static and buttons on original size and then maximise and auto resize all the buttons.
thanks
Hide() and Show() doesnt help.
It creates the static and buttons on original size and then maximise and auto resize all the buttons.
thanks
Re: Design screen in background
I don't understand what is your problem.
Do you have a sample program that demonstrates your issue?
Do you have a sample program that demonstrates your issue?
The eXpress train is coming - and it has more cars.