To keep the selection of a textfield visible while the focus is on another control?

G.Wolfgang Gaich gwolfgang at gaich.de
Sat Jun 5 21:38:46 EDT 2010


Hello Terry,

thank you for the tip. But if I set the backcolor for the selectedchunk, 
blank lines are not affected like they are when the user select several 
lines. Yes, I'm a bit fussy when I build an UI.

Wolfgang


Am 06.06.2010 00:17, schrieb Terry Judd:
> 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
>>      
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>    




More information about the use-livecode mailing list