To keep the selection of a textfield visible while the focus is on another control?
Terry Judd
tsj at unimelb.edu.au
Sat Jun 5 18:17:05 EDT 2010
On 6/06/10 12:02 AM, "G. Wolfgang Gaich" <gwolfgang at gaich.de> wrote:
> One way I tested was to store the selectedChunk in a custom property on
> selectionchanged and when the user has entered the textsize in the
> combobox and presses return or enter the textsize and the selection for
> the selectedchunk (I stored in the custom property) of the field is set.
> But there is a period of time the user doesn't see his selection in the
> textfield.
>
> Is there a way to keep the selection of a textfield visible while the
> focus is on another control?
Hi Wolfgang - You can use the backcolor to achieve an 'authentic' selection
effect...
Set the backcolor of [chunk expression] to the hiliteColor
Terry...
--
Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
>
> Thank you very much in advance.
>
> Wolfgang
More information about the use-livecode
mailing list