Resize Task Panes Individually in Same Task Pane Manager Collection

Add-in Express™ Support Service
That's what is more important than anything else

Resize Task Panes Individually in Same Task Pane Manager Collection
Resize Task Panes Individually in Same Task Pane Manager Collection 
mwynn


Guest


I have a Task Pane Manager Collection with multiple Excel Task Pane items. I would like each task pane to maintain its own distinct size, so that when I select it from the drop-down in the header, the task pane resizes according to its previous size. Right now, when I adjust the splitter for a task pane, all other task panes resize to the new size.

Is there a simple way to achieve this?

Thanks,
Matt
Posted 12 May, 2015 06:07:05 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Matt,

Set ADXExcelTaskPanesCollectionItem.Splitter = AddinExpress.XL.ADXExcelSplitter.None. This prevents the user from modifying the panes' size.


Andrei Smolin
Add-in Express Team Leader
Posted 12 May, 2015 08:13:19 Top
mwynn


Guest


Thanks Andrei! I can see how this works.
However, I would still like users to be able to modify the size with the splitter.

Is there a way that I can use the Activated event of the task pane to enable splitters for all active task panes, and set splitters to None for taskpanes that are minimized or hidden. I think this would solve my issue.

Thanks again,
Matt
Posted 12 May, 2015 08:22:47 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
No, there's no such way. Changing the Splitter property will only apply when the form is shown for the next time.


Andrei Smolin
Add-in Express Team Leader
Posted 12 May, 2015 08:30:18 Top