DCTABPAGE
Posted: Mon Feb 08, 2010 11:49 pm
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.
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.