Action em Tree

Action em Tree

Postby gibaf » Fri Sep 22, 2006 1: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
gibaf
 
Posts: 15
Joined: Thu Sep 21, 2006 2:04 pm
Location: Brasil - Toledo - PR

Postby Antonio Linares » Sat Sep 23, 2006 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby gibaf » Sat Sep 23, 2006 2: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)
gibaf
 
Posts: 15
Joined: Thu Sep 21, 2006 2:04 pm
Location: Brasil - Toledo - PR

Postby gibaf » Thu Sep 28, 2006 6:22 pm

Still I am needing. If they any person to souper and will be able to inform, I am been thankful to me!
gibaf
 
Posts: 15
Joined: Thu Sep 21, 2006 2:04 pm
Location: Brasil - Toledo - PR

Postby Antonio Linares » Thu Sep 28, 2006 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 84 guests