> hi Leo,
> yes, agree, checkboxes are gone when you make treeview hidden
>
> What you can do - is to save checked state in node tag property, and when
> you make treeview visible - loop through all nodes and set checked based on
> ..Tag value
> HTH
>
> --
> Best regards,
> ___________
> Alex Dybenko (MVP)
>
http://alexdyb.blogspot.com>
http://www.PointLtd.com>
> "Leo" <Leo[ at ]discussions.microsoft.com> wrote in message
> news:C152711C-3A3F-42C4-B793-FACA38968675[ at ]microsoft.com...
> > Hi Alex, yes I'm sure... TabStrip is not present on my Form... It has been
> > deleted.
> > Using MyTvw.Visible=True or False the TreeView loose the selected
> > checkboxes
> > !!
> > Same using MyTvw.Enabled=True or False. It is refreshed each time...
> >
> > Do you know a WorkAround to this problem ?
> > Thanks a lot in advance for your support...
> >
> > "Alex Dybenko" wrote:
> >
> >> Hi,
> >> but are you sure, that you inserted control on form directly?
> >> if you delete tab control - treeview should stay on a form
> >>
> >> --
> >> Best regards,
> >> ___________
> >> Alex Dybenko (MVP)
> >>
http://alexdyb.blogspot.com> >>
http://www.PointLtd.com> >>
> >> "Leo" <Leo[ at ]discussions.microsoft.com> wrote in message
> >> news:CF8CA8C5-8696-4917-A0C3-7AE6DD524E7D[ at ]microsoft.com...
> >> > Hi Alex, Thanks for Your suggestion... but...
> >> > When I make Visible/Unvisible a TreeView, this control loose check box
> >> > selection an is moving on top-left corner in the form... Do you have
> >> > another
> >> > Work-Around ?
> >> >
> >> > "Alex Dybenko" wrote:
> >> >
> >> >> hi,
> >> >> this is a problem of tab control.Workaround - is to place treeview on
> >> >> form
> >> >> itself, bring it to front and make it visible/hidden depends on
> >> >> selected
> >> >> tab
> >> >>
> >> >> --
> >> >> Best regards,
> >> >> ___________
> >> >> Alex Dybenko (MVP)
> >> >>
http://alexdyb.blogspot.com> >> >>
http://www.PointLtd.com> >> >>
> >> >> "Leo" <Leo[ at ]discussions.microsoft.com> wrote in message
> >> >> news:E4171B85-1FBF-4CE7-A7C4-1B02058BCE0C[ at ]microsoft.com...
> >> >> > Hi at all.. here's my question:
> >> >> > I was using very often in MSAccess2000 forms, the TabStrip control
> >> >> > with
> >> >> > in
> >> >> > some tab TreeViews and ListViews coming from ComCtl32.ocx.
> >> >> > Now I want to use the MSCOMCTL.OCX to build Treeview and Listview in
> >> >> > any
> >> >> > TabStrip Control (MSAccess or COMCTL.TabStrip or
> >> >> > MSComctlLib.TabStrip)
> >> >> > but
> >> >> > in
> >> >> > runtime the Treeview is moving from the original position on the
> >> >> > form,
> >> >> > to
> >> >> > the
> >> >> > top left corner of the form and always the control loose the
> >> >> > selections
> >> >> > on
> >> >> > check boxes every time I change the tab.
> >> >> > How Is possible to use correctly Treeview and Listview from
> >> >> > MSCOMCTL.OCX
> >> >> > in
> >> >> > TabStrip control like in the COMCTL32.OCX ?
> >> >> > Thanks a lot for any answer...
> >> >>
> >> >>
> >>
> >>
>
>