Hi all!
I've got a stack:
Text labels and some text fields with sportsman's data (Number, Name, Surname etc).
When clicking on one of it runs the modal stack with text entry field. Initially, text field has "previous" value of field that we clicked in main window.
I need to highlight this "previous" text. But how?
Advise me some handlers or smthg else...
How can i highlight the default text
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: How can i highlight the default text
The "ask" command opens a modal window with the default text highlighted, e.g.,
Is this what you wanted?
Regards,
Sri.
Code: Select all
ask "What is your surname?" with the text of field "Surname"
Regards,
Sri.
Re: How can i highlight the default text
Hi Ultravibe,
not sure I understand, but I would add this to the "opencard" script of your modal stack:
Know what I mean?
Best
Klaus
not sure I understand, but I would add this to the "opencard" script of your modal stack:
Code: Select all
on opencard
select text of fld "the one with the PREVIOUS text in it"
...
end opencard
Best
Klaus
Re: How can i highlight the default text
Sri, thank U, but the way that advise Klaus is better, because no need to change structure of program code etc 
Klaus, thank U so much!

Klaus, thank U so much!
Re: How can i highlight the default text
Hi Ultravibe:
Klaus is not just better, he is the best!
Sri.
Klaus is not just better, he is the best!
Sri.