
Disabled ValDisplay or SetVariable, but value or text selectable

vebski
Does anyone know how to make a control in a panel that will display a value or string, but not allow the user to edit AND be selectable in order to be able to copy/paste? A great example is the IGOR Data Browser; you can select the "Curent Data Folder" text field and copy/paste, but you cannot type into the field.
Thanks,
Dan
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
September 7, 2012 at 04:24 pm - Permalink
copy the variable you want into a second variable, and display this one. then code the field so that if the user changes the value, it reloads the old value?
ugly, but semi-workable..
September 10, 2012 at 11:22 am - Permalink
Thanks,
Dan
September 18, 2012 at 10:09 am - Permalink