Move a record into oTree

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Move a record into oTree

Post by Silvio.Falconi »

can I move a record from a tree level to another with the mouse ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
goosfancito
Posts: 1392
Joined: Fri Oct 07, 2005 7:08 pm

Re: Move a record into oTree

Post by goosfancito »

Buonanotte, potresti farlo?
Un aporte chico hace grandes cambios.
Apoyemos al proyecto "Hogar pimpinela"
Bajate la aplicación (gratuita) y encuentra en ella toda la info de como podes colaborar.
GRACIAS!
https://play.google.com/store/apps/deta ... .acomprar
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Move a record into oTree

Post by nageswaragunupudi »

Yes, by using oBrw:oTreeItem:Add() and oBrw:oTreeItem:Delete()
Please look into treeitem.prg
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Move a record into oTree

Post by Antonio Linares »

Next FWH build includes these new methods for Class TTreeView:

Class TTreeView already has a Method GoTop()
new Method GoPrev()
new Method GoNext()
new Method GoBottom()

You may review the updated pim.exe and prg here to see how those methods are used:
https://github.com/FiveTechSoft/FWH_too ... er/pim.zip

Next Methods we want to implement are SwapUp() and SwapDown(), thats why these new methods were needed

Next would be to implement a SwapItems() to be used with the mouse
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Move a record into oTree

Post by Silvio.Falconi »

Antonio Linares wrote:Next FWH build includes these new methods for Class TTreeView:

Class TTreeView already has a Method GoTop()
new Method GoPrev()
new Method GoNext()
new Method GoBottom()

You may review the updated pim.exe and prg here to see how those methods are used:
https://github.com/FiveTechSoft/FWH_too ... er/pim.zip

Next Methods we want to implement are SwapUp() and SwapDown(), thats why these new methods were needed

Next would be to implement a SwapItems() to be used with the mouse
Antonio, dont remember why I ask it
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply