Creating TABCONTOLS with resource files

Creating TABCONTOLS with resource files

Postby Ollie » Mon Jan 01, 2007 10:13 pm

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?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Postby StefanHaupt » Tue Jan 02, 2007 6:10 pm

The no of tabs ist not specified in the resource, but in the source code.

This line

Code: Select all  Expand view
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 " ;


gives you 27 tabs.

Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 71 guests

cron