custom buttons

Thomas McGrath III 3mcgrath at adelphia.net
Wed Feb 25 19:42:11 EST 2004


I would like to share this small stack with you guys.

It shows the two buttons grouped with the code. I think it is important 
being able to do this.

BUT, my code may be rough and I would love some real good input on 
this. Maybe better suggestions?

put this in the message box and hit enter.

go URL "http://users.adelphia.net/~3mcgrath/Buttons.rev"

Tom
On Feb 25, 2004, at 5:08 PM, Wilhelm Sanke wrote:

> On Wed Feb 25  Thomas McGrath III <3mcgrath at adelphia.net> wrote:
>
>> I have made my down state and up state 'base' button as the icons of
>> those states in a transparent button and it looks great.
>> I want to link a small icon on top of that button and when the user
>> clicks with the mouse to send mousedown and up to that button 
>> 'through'
>> the icon.
>> Rev is not doing this. I tried pass mousedown, send "mousedown" to
>> button "Button 2" and click at button "Button 2" and none of them seem
>> to work. The last caused REV to freeze up and not receive mouse clicks
>> at all.
>>
>> Should I group them??? should I 'do' something to the icon image???
>>
>> Thanks
>> Tom
>
>
>
> In "Magic Triangle" - to be found among the "user contributions" at 
> the Runrev site - I have used a routine which sends a mouseup-message 
> "through" a field via a "click at" to an underlying graphic.
>
> Maybe this is something that could help with your problem?
>
> Regards,
>
> Wilhelm Sanke
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list