FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to refresh TTabControl()/(SysTabControl32 noption?
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
How to refresh TTabControl()/(SysTabControl32 noption?
Posted: Thu Jan 17, 2008 05:26 AM

Hi,
otabs:=TTabControl():Redefine( 200, oDlg )
otabs:baction:={||sto0209(otabs)}
...

return

function sto0209(otabs)
do case
case otabs:noption==1
obrow1:show()
case otabs:noption==2
do something
otabs:noption:=1
otabs:refresh() // can't change otabs display
end
return

Best regards!

Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to refresh TTabControl()/(SysTabControl32 noption?
Posted: Thu Jan 17, 2008 07:36 AM

Shuming,

Please use a MsgInfo() to check that your code go that way:

do something
otabs:nopion:=1
MsgInfo( "here" )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
How to refresh TTabControl()/(SysTabControl32 noption?
Posted: Fri Jan 18, 2008 12:57 AM

Antonio,
This works! before by my mistakes,sorry.
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651

Continue the discussion