FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Action em Tree
Posts: 15
Joined: Thu Sep 21, 2006 02:04 PM
Action em Tree
Posted: Fri Sep 22, 2006 01:33 PM

Ola to all…. (I am new in the group)

1) Has as to make one tree (TTreeView) with opcao of ACTION (exactly she will be necessary to change the classroom)?
2) have as to change the source of tree?

I am very been thankful the group for the chance, or possibility of being able to clarify these you doubt!

Thanks a lot

Ola a todos.... (sou novo aki no grupo)

1) Tem como fazer um tree (TTreeView) com opcao de ACTION (mesmo se for preciso mudar a classe) ?
2) tem como mudar a fonte do tree ?

Fico muito agradecido ao grupo pela oportunidade, ou possibilidade de poder esclarecer essas duvidas !

Muito Obrigado

Gilberto
(Brasil - Toledo - PR)

giba_f@hotmail.com

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Action em Tree
Posted: Sat Sep 23, 2006 05:55 AM

Gilberto,

Please review samples\TestTree.prg:

oTree:bChanged = { || oWnd:SetText( If( oTree:GetSelected():GetParent() != nil,;
oTree:GetSelected():GetParent():cPrompt + " + ", "" ) + ;
oTree:GetSelText() ) }

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 15
Joined: Thu Sep 21, 2006 02:04 PM
Action em Tree
Posted: Sat Sep 23, 2006 02:13 PM

First, thanks for the reply.

Had seen and tested, but not was exatament what I am needing… The ACTION would be the idea!

Nor changing the classroom?

Thanks a lot!

OBS: sorry my ingles (hehehehe)

Posts: 15
Joined: Thu Sep 21, 2006 02:04 PM
Action em Tree
Posted: Thu Sep 28, 2006 06:22 PM

Still I am needing. If they any person to souper and will be able to inform, I am been thankful to me!

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Action em Tree
Posted: Thu Sep 28, 2006 06:27 PM

Enter key is used to open and close a tree branch, so you should not use it to fire an action. You may use mouse double click event oTree:bLDblClick = { || MsgInfo( "double click" ) }

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion