How to refresh TTabControl()/(SysTabControl32 noption?

How to refresh TTabControl()/(SysTabControl32 noption?

Postby ShumingWang » Thu Jan 17, 2008 5: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
Last edited by ShumingWang on Fri Jan 18, 2008 12:45 am, edited 1 time in total.
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Postby Antonio Linares » Thu Jan 17, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby ShumingWang » Fri Jan 18, 2008 12:57 am

Antonio,
This works! before by my mistakes,sorry.
Shuming Wang
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], nageswaragunupudi and 26 guests