# Matlab toolstrip - part 9 (popup figures)

DevFeed: [Matlab toolstrip - part 9 (popup figures)](<https://devfeed.tech/articles/matlab-toolstrip-part-9-popup-figures-22326.md>)

Original publisher: [Read original article](<https://undocumentedmatlab.com/articles/matlab-toolstrip-part-9-popup-figures>)

Author: Yair Altman

Published: 2019-02-10T17:00:10Z

Content type: tutorial

Language: en

Sources: [Undocumented Matlab](<https://devfeed.tech/sources/undocumented-matlab.md>)

Topics: [MATLAB](<https://devfeed.tech/topics/matlab.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [border](<https://devfeed.tech/tags/border.md>), [button](<https://devfeed.tech/tags/button.md>), [callback](<https://devfeed.tech/tags/callback.md>), [classes](<https://devfeed.tech/tags/classes.md>), [code](<https://devfeed.tech/tags/code.md>), [container](<https://devfeed.tech/tags/container.md>), [control](<https://devfeed.tech/tags/control.md>), [custom](<https://devfeed.tech/tags/custom.md>), [customizable](<https://devfeed.tech/tags/customizable.md>), [figure](<https://devfeed.tech/tags/figure.md>), [figure-window](<https://devfeed.tech/tags/figure-window.md>), [figure-window-gui-high-risk-of-breaking-in-future-versions-java-undocumented-feature](<https://devfeed.tech/tags/figure-window-gui-high-risk-of-breaking-in-future-versions-java-undocumented-feature.md>), [file](<https://devfeed.tech/tags/file.md>), [form](<https://devfeed.tech/tags/form.md>), [gallery](<https://devfeed.tech/tags/gallery.md>), [gui](<https://devfeed.tech/tags/gui.md>), [high-risk-of-breaking-in-future-versions](<https://devfeed.tech/tags/high-risk-of-breaking-in-future-versions.md>), [java](<https://devfeed.tech/tags/java.md>), [matlab](<https://devfeed.tech/tags/matlab.md>), [toolstrip](<https://devfeed.tech/tags/toolstrip.md>), [undocumented](<https://devfeed.tech/tags/undocumented.md>), [undocumented-feature](<https://devfeed.tech/tags/undocumented-feature.md>), [window](<https://devfeed.tech/tags/window.md>)

## AI overview

A toolstrip control can open a customizable popup built from a Matlab figure: create the figure, write a callback to initialize it and position it relative to the triggering control, then attach the callback. The figure should generally be modal and initially hidden. Only legacy Java-based figures made with GUIDE or figure are supported; web-based uifigure is not. The popup appears beneath the button but is an independent window with its own title bar, frame, and taskbar icon, and can be dragged. Hiding its frame can make it less obtrusive but prevents moving or resizing. The excerpt points to a Toolpack light-weight popup panel as a likely better alternative, to be covered in a later post.

## Source excerpt

Custom popup figures can be attached to Matlab GUI toolstrip controls. The post Matlab toolstrip - part 9 (popup figures) appeared first on Undocumented Matlab. Related posts: Matlab toolstrip - part 4 (control customization) Matlab toolstrip components (controls) can be customized in various ways, including user-defined callbacks. ... Matlab toolstrip - part 2 (ToolGroup App) Matlab users can create custom Apps with toolstrips and docked figures. ... Matlab toolstrip - part 8 (galleries) Matlab toolstrips can contain customizable gallery panels of items. ... Matlab toolstrip - part 5 (icons) Icons can be specified in various ways for toolstrip controls and the app window itself. ...