Clear An Edit Field When It Has Been Clicked.

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Googie85
Posts: 77
Joined: Tue Aug 05, 2014 10:07 am

Clear An Edit Field When It Has Been Clicked.

Post by Googie85 » Sat Oct 21, 2017 6:42 am

Hi Guys!!

I am having trouble getting an edit field to clear its text when someone clicks on the field.

Any help is gratefully appreciated,

Many Thanks,

Googie.

shaosean
Posts: 902
Joined: Thu Nov 04, 2010 7:53 am

Re: Clear An Edit Field When It Has Been Clicked.

Post by shaosean » Sat Oct 21, 2017 9:31 am

If the field is unlocked, just handle the OpenField message and set the text to empty
https://livecode.com/resources/api/#liv ... /openfield

Post Reply

Return to “Windows”