DCTABPAGE

This forum is for eXpress++ general support.
Post Reply
Message
Author
STLau
Posts: 11
Joined: Mon Feb 08, 2010 11:35 pm

DCTABPAGE

#1 Post by STLau »

The DCTABPAGE behave different from old version. The old version display the sub tabpage nicely when we define @0,0 DCTABPAGE. The latest version 253 overlap the sub tabpage with the main tabpage. If I change it to @1,0 for the sub page, it will display a gap in between main page and sub tab page depending on resolution.

Note:-

The code is as follow:-

@0,0 DCTABPAGE oTabPage1 CAPTION 'General' SIZE 125,25 TABWIDTH 15
DCSETPARENT to oTabPage1
@0,0 DCTABPAGE oTabPage1A CAPTION 'General Page 1' SIZE 125,25 TABWIDTH 15 RELATIVE oTABPAGE1
@0,0 DCTABPAGE oTabPage1B CAPTION 'General Page 2' RELATIVE oTABPAGE1A
@0,0 DCTABPAGE oTabPage1C CAPTION 'General Page 3' RELATIVE oTABPAGE1B
DCSETPARENT to oTabPage1A
....
....

The above code under xBASE1.82 and express 236 is OK ( windows XP )
The same code under xBase1.9 and express 253 have overlapping problem ( windows-7 )

Please see attached screen dump.
Attachments
correct.GIF
correct.GIF (56.14 KiB) Viewed 7052 times
err_window7.gif
err_window7.gif (331.69 KiB) Viewed 7052 times

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

Re: DCTABPAGE

#2 Post by rdonnay »

It appears as though this is somehow related to the ::staticArea of the Tabpage.

I need to know which version of eXpress++ you were using prior to 253.
I need to compare source code to understand why you are having this problem.

Apparently, in the previous version, your subtabs were on the ::staticArea (XbpStatic) of the parent tabs, where in 253, your subtabs are on the XbpTabPage object.

I don't know what was changed in eXpress++ that would make this happen, except that Alaska fixed a problem with tabpages in 1.9 that no longer required a staticarea.

I suggest that you just move the first subtab in your group down 1 row to compensate for this.
The eXpress train is coming - and it has more cars.

Post Reply