Page 1 of 1
Move a record into oTree
Posted: Thu Nov 26, 2015 10:13 pm
by Silvio.Falconi
can I move a record from a tree level to another with the mouse ?
Re: Move a record into oTree
Posted: Wed Dec 09, 2020 1:15 am
by goosfancito
Buonanotte, potresti farlo?
Re: Move a record into oTree
Posted: Wed Dec 09, 2020 3:57 am
by nageswaragunupudi
Yes, by using oBrw:oTreeItem:Add() and oBrw:oTreeItem:Delete()
Please look into treeitem.prg
Re: Move a record into oTree
Posted: Wed Dec 09, 2020 11:14 am
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
Re: Move a record into oTree
Posted: Wed Dec 09, 2020 12:09 pm
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