Re: Sticky Popup? -- SOLVED

2010-03-13 Thread Tereza Snyder

On Mar 13, 2010, at 1:10 AM, Scott Rossi wrote:

 Recently, I wrote:
 
 Is there any way to make the action of popping up a menu sticky?
 ...
 The solution I found was to set the ink of the default menubar to noop and
 place a dummy menubar of my design *behind* the real menubar.  Even though
 the real menubar is invisible, it responds to clicks and its pulldown menus
 display properly, with their stickiness intact, so one gets the illusion
 of clicking on the custom menubar.
 
 Not sure if this is the best way to pull off custom menus, but it seems to
 work fine here (and maybe this will save someone some hairpulling).

My few hairs are now reserved for other projects! noop saves the day!

t


-- 
Tereza Snyder
Califex Software, Inc.
www.califexsoftware.com




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Sticky Popup? -- SOLVED

2010-03-12 Thread Scott Rossi
Recently, I wrote:

 Is there any way to make the action of popping up a menu sticky?

Background: I was trying to get a menubar with a custom appearance (black
menubar, white button text) to work on Windows Vista and XP.  The problem
was, colorizing the menu buttons on XP winds up colorizing the text of the
menu (white text on a white background is fairly difficult to read), while
on Vista I found it virtually impossible to change the appearance of the
menu at all (it takes on the default appearance of the OS).

I tried using proxy buttons to display the menus of the real buttons, but in
doing so pulldown menus are no longer sticky, and when menus are popped,
their command-key equivalents are not displayed. Setting the menubar of the
stack to empty allowed customizing of the menubar itself, but then the
menubar lost its standard behavior and refused to respond to keyboard
shortcuts.

The solution I found was to set the ink of the default menubar to noop and
place a dummy menubar of my design *behind* the real menubar.  Even though
the real menubar is invisible, it responds to clicks and its pulldown menus
display properly, with their stickiness intact, so one gets the illusion
of clicking on the custom menubar.

Not sure if this is the best way to pull off custom menus, but it seems to
work fine here (and maybe this will save someone some hairpulling).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Sticky popup?

2010-03-04 Thread dfepstein


Scott Rossi asked Is there any way to make the action of popping up a menu 
sticky? 



To imitate a sticky popup I show a stack (named here L9nav) with empty 
decorations, whose buttons trigger the desired actions and cause the stack to 
close.  And I include in the stack an invisible graphic named auto whose 
script, when in use, causes the stack to close when there's a click somewhere 
outside the stack. 



On mousedown: 



insert script of graphic auto of stack L9nav into front 

go stack L9nav as palette 



Graphic auto has this script: 



on focusIn 

get the short name of this stack 

if it is not L9nav then close stack L9nav 

pass focusIn 

end focusIn 



on openField 

get the short name of this stack 

if it is not L9nav then close stack L9nav 

pass openField 

end openField 



And L9nav itself has this script: 



on closeStack 

if there is not a graphic auto then exit closeStack 

get the long name of graphic auto 

remove script of it from front 

end closeStack 



David Epstein
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Sticky Popup?

2010-03-03 Thread Scott Rossi
Is there any way to make the action of popping up a menu sticky?

I'm trying to work around a menu text color problem by using proxy buttons
to pop up File/Edit/Help menus.  Popping up a menu behaves similarly to
directly clicking the menu button, except that the menu is not sticky --
the menu doesn't stay opened when the mouse is released.  Is there any way
to simulate this sticky behavior when using the popup command?

(BTW, the text color issue is due to using a custom menu color scheme and
differences between XP and Vista.   On Vista, menus are drawn with their own
default color scheme, so changing the text color of the menu button has no
bearing on the menu.  But on XP, the text in a menu is affected by the
textcolor of the menu button, so making the textcolor anything besides black
makes the menu difficult to read.)

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution