Minimize not working in a plugin

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

Minimize not working in a plugin

Post by gyroscope » Wed Apr 29, 2009 4:46 pm

Hi, the straightforward code for minimize:

Code: Select all

set the iconic of this stack to true
works fine in a stack (or a standalone app) but doesn't work if the stack is a plugin.

Does anyone know the reason why and is there an alternative script for a minimize button in a plugin that works please :?:

Edit: I've just realised it's because making a stack a plugin automatically makes it a palette, and it seems minimize doesn't work with palettes. Does anyone know of a workaround to this please :?:

Post Reply