Hi Bernd,

> Am 01.02.2016 um 00:36 schrieb BNig <bernd.niggem...@uni-wh.de>:
> 
> Hi Klaus,
> 
> I don't see a way for the push button,

maybe they will add this later, if I fill out an enhancement request!?

> but maybe you could use a navigation
> bar with just one item.
> It fires on mouseDown though and you have to fake the hilite/unhilite
> because it does not unhilite.
> 
> You could use this script to experiment in the script of the navigation bar
> widget called "nBar", 
> ----------------------------------
> local sNavHiliteColor = "0,121,255"
> 
> on navigate
>   set the navHiliteColor of widget "nBar" to sNavHiliteColor
>   put "navigate" && the milliseconds into field "fRes"
>   set the selectedItem of widget "nBar" to 2
>   put the navHiliteColor of widget "nBar" into line 2 of field "fRes"
>   send "resetColor" to me in 0 milliseconds
> end navigate
> 
> on resetColor
>   if the mouse is down then
>      send resetColor to me in 30 milliseconds
>   else
>      set the navHiliteColor of widget "nBar" to "120,120,120"
>   end if
> end resetColor
> ———————————————

will try this, thank you very much!

> Kind regards
> Bernd

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


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

Reply via email to