Hilited Text in a button

Graham graham.samuel at wanadoo.fr
Thu Jun 12 10:53:01 EDT 2003


On Wed, 11 Jun 2003 13:13:49 -0400 Howard Bornstein 
<bornstein at designeq.com> wrote (and thanks for the reply):

>I'm checking it on a Mac but I assume it's the same. There's a cool
>feature in the Property Inspector that, if you hold the cursor over the
>button for a moment, you'll see the property (as a tool tip) that the
>button will change. In this case it's "hilitecolor".

OK, so the labelling is wrong - very minor bug in the Dev Environment.


> From the TD:
>
>"¬ The hiliteColor of a button is used for the background of the button
>when it is highlighted. If the button is a menu, the hiliteColor is used
>to highlight the button, but not the active menu choice. The hiliteColor
>has no effect if the button is a tabbed button. The hiliteColor has no
>effect until the button is highlighted."
>
> >In fact I can't work out how to change the button's
> >hilited text color from the PI at all.
>
>Not sure what you mean by "hilited" text color, but to change the text
>color of the button, use the Text button.

No, I want the color of the text to change while the mouse is down and 
change back when the mouse comes back up. I thought this was part of button 
behaviour, but if it's not then fair enough, I'll do it by script when I 
need to.


> >BTW, there's a property with no explanatory text below this in the same PI
> >which on my machine can be cleared but not set. Wonder what this is.
>
>The tooltip reveals this to be the Border color/pattern. I'm not sure why
>this option is disabled (yes, it's disabled here also).
Another v. minor bug, IMHO.

Graham

---------------------------------------------------
Graham Samuel / The Living Fossil Co. / UK & France  





More information about the use-livecode mailing list