FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Creating TABCONTOLS with resource files
Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
Creating TABCONTOLS with resource files
Posted: 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)
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Creating TABCONTOLS with resource files
Posted: Tue Jan 02, 2007 06:10 PM
The no of tabs ist not specified in the resource, but in the source code.

This line

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
kind regards

Stefan

Continue the discussion