Design screen in background

This forum is for eXpress++ general support.
Post Reply
Message
Author
ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

Design screen in background

#1 Post by ampandya »

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

Wolfgang Ciriack
Posts: 481
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Design screen in background

#2 Post by Wolfgang Ciriack »

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.
_______________________
Best Regards
Wolfgang

ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

Re: Design screen in background

#3 Post by ampandya »

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

User avatar
rdonnay
Site Admin
Posts: 4775
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Design screen in background

#4 Post by rdonnay »

I don't understand what is your problem.

Do you have a sample program that demonstrates your issue?
The eXpress train is coming - and it has more cars.

Post Reply