PDA

View Full Version : toggle toolbar?



smick
8 Nov 2010, 2:29 PM
Hello,

What is the proper method to show/hide a toolbar?

Currently I have a button in one toolbar that has a handler like this:

myForm.tbar.toggle()

What happens though is that the tool bar disappears and leaves a white space. How can I make it go away and also collapse the space it's in?

Thanks!

darthwes
8 Nov 2010, 9:21 PM
win.syncSize()?

Condor
8 Nov 2010, 11:39 PM
Or doLayout() if the form contains items.