Move a record into oTree

Move a record into oTree

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7072
Joined: Thu Oct 18, 2012 7:17 pm

Re: Move a record into oTree

Postby goosfancito » Wed Dec 09, 2020 1:15 am

Buonanotte, potresti farlo?
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: Move a record into oTree

Postby nageswaragunupudi » Wed Dec 09, 2020 3:57 am

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Move a record into oTree

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

Re: Move a record into oTree

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7072
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Surasak and 58 guests