Task Frame

  • Thread starter Thread starter sajidshabbir
  • Start date Start date
S

sajidshabbir

I am trying to develop a custom task pane with many taskframes. When
any taskframe is expanded all others should get collapsed. Does anyone
know how to do this. Any help is greatly appreciated. Thank you
 
fullymoon,

Than there are a lot of possibilities, one of those, dock the panel to
middle and set visible not true the other pannels in a loop as you set to
the one which should be visible ,

as a kind of pseudo (not checked)

\\\
for each ctr in me.controls
if typeof ctr Is panel then
if ctr.name not = "panelToShow" then
ctr.visible = false
else
ctr.visible = true
end if
end it
next
///

I hope this helps,

Cor
 
Thanks for the assistance. But I dont think that pseudo code will work.
I dont want to invisible the taskframes but merely collapse them. Here
is what I have been working at assuming I have 2 taskframes in a
taskpane

if taskframe1.expanded = true
if taskframe1.click
taskframe1.expanded = false
end if
end if

so when it is expanded and i click on it, it collapses. but I need to
do this for a generic case
 
Back
Top