I need guidance with creating TABCONTOLS with resource files.
Using FWxH and Pelles C - (I can't see a TAB control under Borland's )
I can put the control on the screen, but how do I specify the no. of tabs, tab names and whats on each tab?
Creating TABCONTOLS with resource files
Creating TABCONTOLS with resource files
Many thanks
Ollie.
Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie.
Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
The no of tabs ist not specified in the resource, but in the source code.
This line
gives you 27 tabs.
Stefan
This line
Code: Select all
REDEFINE TABS oTabs ID 1000 OF oDlg ;
PROMPT "A-Z",;
" A ", " B ", " C ", " D ", " E ", " F ", " G ", " H ",;
" I ", " J ", " K ", " L ", " M ", " N ", " O ", " P ",;
" Q ", " R ", " S ", " T ", " U ", " V ", " W ", " X ",;
" Y ", " Z " ;
Stefan