Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
Text property UltraNumeric "Button Right"
posted

Hi there,

Is there a way to change a buttonsright text property without casting?

I mean, why this property is not directly available?

I guess something like

Me.UltraNumericEditor_0.ButtonsRight("Name").text = "dd"

(of course, this is not possible!)

Thanks in advance!

Parents
  • 37774
    Verified Answer
    posted

    No, there is no way to do this without casting.  The reason for this is that not all editor buttons support a text property; the ones that do support a Text property derive from EditorButton (as opposed to EditorButtonBase), so you could check for that class if you want to be more general.  The only button that doesn't support a Text property that I am aware of is the SpinEditorButton.

    -Matt

Reply Children
No Data