I have a label field set aside for hints. I want hints to appear when the user hovers over any field.
I know to use the mouseenter command, but I cannot get it to work.
Here is my code:
on mouseenter
lblHints Contents = "Enter your First Name - this is a mandatory field!"
end mouseenter
This code does not work. What do I have to do to make it work.
Thank you.
Mike
SOLVED - How to populate a field with custom text
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
SOLVED - How to populate a field with custom text
Last edited by admin12 on Mon Aug 01, 2011 6:50 am, edited 1 time in total.
Re: How to populate a field with custom text
Code: Select all
on mouseenter
set the text of field "lblHints" to "this is a field"
end mouseenter
on mouseleave
set the text of field "lblHints" to empty
end mouseleave
Re: How to populate a field with custom text
Hi Mike,
I just can't stop to recommend these stacks to get the basics of LiveCode:
http://www.runrev.com/developers/lesson ... nferences/
Best
Klaus
I just can't stop to recommend these stacks to get the basics of LiveCode:
http://www.runrev.com/developers/lesson ... nferences/

Best
Klaus