FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Negrita en in ITEM del tree?
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
Re: Negrita en in ITEM del tree?
Posted: 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/
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Negrita en in ITEM del tree?
Posted: Wed Apr 27, 2022 02:11 PM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
Re: Negrita en in ITEM del tree?
Posted: Wed Apr 27, 2022 03: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/
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Negrita en in ITEM del tree?
Posted: Thu Apr 28, 2022 01: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
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
Re: Negrita en in ITEM del tree?
Posted: 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/
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Negrita en in ITEM del tree?
Posted: Fri Apr 29, 2022 03:16 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion