FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Move a record into oTree
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Move a record into oTree
Posted: Thu Nov 26, 2015 10:13 PM

can I move a record from a tree level to another with the mouse ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
Re: Move a record into oTree
Posted: Wed Dec 09, 2020 01:15 AM

Buonanotte, potresti farlo?

FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Move a record into oTree
Posted: Wed Dec 09, 2020 03:57 AM

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

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Move a record into oTree
Posted: Wed Dec 09, 2020 11:14 AM
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_tools/blob/master/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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Move a record into oTree
Posted: Wed Dec 09, 2020 12:09 PM
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_tools/blob/master/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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion