function Main()
local oTabs1, oTabs2
DEFINE WINDOW oWnd TITLE "Testing FiveWin Tabs" ;
COLOR CLR_WHITE, CLR_BLUE
@ 8, 0 TABS oTabs1 PROMPTS "&One", "&Two", "T&hree", "&Four" OF oWnd ;
BITMAPS "people.bmp", "open2.bmp", "print.bmp", "zoom2.bmp" ;
ACTION oWnd:Say( 5, 5, oTabs1:nOption )
oWnd:oTop = oTabs1
@ 8, 0 TABS oTabs2 PROMPTS "&One", "&Two", "T&hree", "&Four" OF oWnd ;
BITMAPS "people.bmp", "open2.bmp", "print.bmp", "zoom2.bmp" ;
ACTION oWnd:Say( 7, 5, oTabs2:nOption )
oWnd:oBottom = oTabs2
ACTIVATE WINDOW oWnd
return nil
Antonio Linares wrote:James,
- Code: Select all Expand view RUN
function Main()
local oTabs1, oTabs2
DEFINE WINDOW oWnd TITLE "Testing FiveWin Tabs" ;
COLOR CLR_WHITE, CLR_BLUE
@ 8, 0 TABS oTabs1 PROMPTS "&One", "&Two", "T&hree", "&Four" OF oWnd ;
BITMAPS "people.bmp", "open2.bmp", "print.bmp", "zoom2.bmp" ;
ACTION oWnd:Say( 5, 5, oTabs1:nOption )
oWnd:oTop = oTabs1
@ 8, 0 TABS oTabs2 PROMPTS "&One", "&Two", "T&hree", "&Four" OF oWnd ;
BITMAPS "people.bmp", "open2.bmp", "print.bmp", "zoom2.bmp" ;
ACTION oWnd:Say( 7, 5, oTabs2:nOption )
oWnd:oBottom = oTabs2
ACTIVATE WINDOW oWnd
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 66 guests