Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 757

Android Deployment • Re: Delete Character In Field.

$
0
0
Hi.

On a new card with a field 1 containing your text and a button, put this in the button script:

CODE:

on mouseUp   if char (word 2 of the selectedChunk) of fld 1 = "s" then answer "You have an S!"end mouseUp
If the cursor is blinking just behind an "s" you will get a dialog. I assume you can expand on this with your deletion thing.

Craig

Statistics: Posted by dunbarx — Mon Dec 09, 2024 4:47 pm



Viewing all articles
Browse latest Browse all 757

Trending Articles