What is the little drop down thing in Xojo when saving called?

Hi
What is the term used to describe the little drop down window that appears when saving in Xojo?

I would like to implement it, is there a Xojo component for this?

Thanks
Mark

Look at SheetWindow (under Window)

https://documentation.xojo.com/api/deprecated/window.html

and showModalWithin

https://documentation.xojo.com/api/deprecated/window.html#window-showModalWithin

Or GetSaveFolderItem

https://documentation.xojo.com/api/deprecated/getsavefolderitem.html

or it’s API2 replacement

https://documentation.xojo.com/api/files/folderitem.html.ShowSaveFileDialog

Hey Markus
Thank you. Sheet window. Now I know what it is called I can read up about it. Thanks!
Mark

Just note that SheetWindows are Mac only - though it should be pretty easy to roll your own cross-platform version.

You make it sound like they don’t exist at all for cross platform development.

On other platforms, they behave as ordinary movable modal dialog boxes.

https://documentation.xojo.com/api/deprecated/window.html

how to do that??? something like sheetwindows for cross platform??

They don’t.

The whole point of a SheetWindow is that it is a modal window that stays with it’s parent window.

As SheetWindows do not exist on Windows or Linux Xojo uses a movable modal instead.

That does NOT make them SheetWindows.

The easiest way should be with ContainerControls (though you could also use a Canvas). Did it once as a proof of concept, and it is on my list of “articles to write for xDev” …

There are other options too though … I’ll have to check what options MBS offers …

i have xDev, can you let me know which issue so i can read up on this

When I’ve written it I’ll let you know :wink:

:thinking: You can proof-read then … :grin:

I thought you already wrote the article

Maybe I’ll write it for next the issue (Jan/Feb). If so then I’ll send you a pre-print when I have it done.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.