FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour using treeview
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
using treeview
Posted: Wed Dec 11, 2024 09:38 AM
I made a tree with checkboxes



when I click on first main option "Estratti" I wish the procedure select each submenu are on menu 1, so how make it ?

then To check wich option are checked I made
Code (fw): Select all Collapse
 oTree:OnClick = { || CheckStatus( oTree, oTree:aItems, @atipic ) }
where I save on atipic all items but when I go to save on first colums save the logic (.t. or .f.) and on second column save the name of Main option
Code (fw): Select all Collapse
function CheckStatus( oTree, aItems,aTipic )
   local n
   for n = 1 to Len( aItems )
      aadd(aTipic, {oTree:GetCheck( aItems[ n ] ),aItems[n]:cPrompt})
   next
     return nil


So how I can save the name of each submenu ?

How I can assign on each submenu a number ? I must load a data info for each submenu checked and I not Know How make
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