RESIZE DCTABPAGE

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
jdsoft
Posts: 113
Joined: Thu Jan 28, 2010 1:13 pm
Location: Overberg
Contact:

RESIZE DCTABPAGE

#1 Post by jdsoft »

Hello,

I mus be doing something wrong.

Code: Select all

@ 1    ,1         DCTABPAGE oTabMutaties    CAPTION "Meldingen"        SIZE 110,20    PREOFFSET 0 POSTOFFSET 88     RESIZE   DCGUI_RESIZE_REPOSONLY_Y
@ 0    ,0         DCTABPAGE oTabErrors      CAPTION "Fouten"                          RELATIVE oTabMutaties         RESIZE   DCGUI_RESIZE_REPOSONLY_Y
If i resize the page, the 2nd TAB page does no follow the resize. It hides behind the first tab.
Other controls like DCPUSHBUTTON, DCGET and DCSAY are repositoned correctly.

What is my mistake?
Regards,
Jack Duijf

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

Re: RESIZE DCTABPAGE

#2 Post by rdonnay »

You have done nothing wrong.

I never wrote code to do what you want to do.

You should NOT resize the tabpage, instead you should resize its parent.

The tabpage will automatically resize with the parent if you use the .. RESIZE DCGUI_RESIZE_RESIZEONLY clause.

If I wrote code to automatically resize tabpages when a sibling is resized, then that would be difficult code to manage.
The eXpress train is coming - and it has more cars.

Post Reply