Prev: Macro problem
Next: Simple concept eye tracking HELP!
From: Bill on 10 Apr 2010 20:39 I would like the TooltipString of my uicontrol to display the value of this uicontrol. How would I go about doing that? Thank you.
From: ImageAnalyst on 10 Apr 2010 21:21 On Apr 10, 8:39 pm, "Bill " <curtcobai...(a)gmail.com> wrote: > I would like the TooltipString of my uicontrol to display the value of this uicontrol. How would I go about doing that? > Thank you. -------------------------------------------------------------------- Can't you just do this?: % Get the value. controlValue = get(controlHandle, 'value'); % Convert number to string if the value is a numeric value. controlValue = num2str(controlValue); % If needed. % Set the value. set(controlHandle, 'TooltipString', controlValue);
|
Pages: 1 Prev: Macro problem Next: Simple concept eye tracking HELP! |