Re: Unable to set accessibility hint for NSTextField
Re: Unable to set accessibility hint for NSTextField
- Subject: Re: Unable to set accessibility hint for NSTextField
- From: Marco Zehe <email@hidden>
- Date: Mon, 07 Sep 2015 20:20:58 +0200
Hi Alex!
Can't you just use the setter? SetAccessibilityHint?
Marco
> Am 07.09.2015 um 19:30 schrieb Alex Hall <email@hidden>:
>
> Hello all,
> I'm trying to change the hint of a text field in code, because it will differ during runtime from what I set in IB. I'm doing this:
>
> myTextField.accessibilityHint="new hint text"
>
> I'm getting an error, though, that "value of type NSTextField has no member accessibilityHint". Yet, cmd-ctrl-j on the word "accessibilityHint" jumps right to it, but in UIAccessibility.h, which makes no sense at all. How do I update the hint, label, or other accessibility attributes for standard controls on OS X? Thank you in advance.
>
> --
> Have a great day,
> Alex Hall
> email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden