Negrita en in ITEM del tree?

Re: Negrita en in ITEM del tree?

Postby goosfancito » Wed Apr 27, 2022 12:32 pm

bien,
y el mecanismo como seria?
selecciono el Arbol, y luego como le digo "solamente a este item" ponelo en negrita?
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: Negrita en in ITEM del tree?

Postby Antonio Linares » Wed Apr 27, 2022 2:11 pm

if oTree:GetSelected() != nil
oTree:GetSelected():Bold( .T. )
endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Negrita en in ITEM del tree?

Postby goosfancito » Wed Apr 27, 2022 3:22 pm

Antonio Linares wrote:if oTree:GetSelected() != nil
oTree:GetSelected():Bold( .T. )
endif


Intente eso antonio, pero no me funcionó, es el codigo del pim.prg
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: Negrita en in ITEM del tree?

Postby Antonio Linares » Thu Apr 28, 2022 1:52 pm

Aqui tienes pim.exe, pruébalo y verás como funciona bien :-)

https://github.com/FiveTechSoft/FWH_tools/blob/master/pim.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Negrita en in ITEM del tree?

Postby goosfancito » Thu Apr 28, 2022 10:28 pm

si funciona de diez,
pero no puedo reproducirlo en mi programa.

no hay mas info?
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: Negrita en in ITEM del tree?

Postby Antonio Linares » Fri Apr 29, 2022 3:16 am

Imagino que no habrás implementado bien el método Bold(), revísalo :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 87 guests