Home > Archive > FoxPro Help and Support > January 2006 > TreeView with optional checkboxes









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TreeView with optional checkboxes
Mark Minnie

2006-01-20, 8:25 pm

I am looking for a simple to use tree view control for Visual Foxpro. I
need a treeview control that has the option to show or not show the
checkboxes on each node. I want the sub-nodes to have checkboxes but not
the parent nodes. I don't think this capability is available in the
Microsoft TreeView control. Does anyone know how I can achieve this or any
third party tree view controls that accomplish this?


NigelGomm

2006-01-23, 9:24 am

Mark,

you can do it with the MS treeview if you keep the checkboxes property = .f.
and use your own images of cleared and ticked checkboxes.

You can switch the image in the nodeclick event

and when you come to save your data loop around each node looking for image
= ticked or cleared.


hth

Nigel


"Mark Minnie" <mminnie@minniebyte.com> wrote in message
news:89d42$43d14abb$
9440b802$17208@STARB
AND.NET...
>I am looking for a simple to use tree view control for Visual Foxpro. I
>need a treeview control that has the option to show or not show the
>checkboxes on each node. I want the sub-nodes to have checkboxes but not
>the parent nodes. I don't think this capability is available in the
>Microsoft TreeView control. Does anyone know how I can achieve this or any
>third party tree view controls that accomplish this?
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com