P
Peter B
Hi!
Taking a randomly focused control on a form, how can you check to see if it
is a text-input control? I.e. a control that accepts input from the user.
What I want to do is add a text character to the control, but only if it can
hold text. For example if a button is focused, adding the char to this
controls Text-property would change the name of the button, which I don't
want...
1. What controls are "text-input" controls in CF?
Textbox, Combobox, NumericUpDown?, DomainUpDown?, more?
2. How can you determin if a control is of this type?
It must be done in the framework somewhere since typing a character in the
SIP when a button is focused won't change it's name, while doing the same
when a textbox is focused will add the character to the text...
3. Would it be the same in the full framework?
/ Peter
Taking a randomly focused control on a form, how can you check to see if it
is a text-input control? I.e. a control that accepts input from the user.
What I want to do is add a text character to the control, but only if it can
hold text. For example if a button is focused, adding the char to this
controls Text-property would change the name of the button, which I don't
want...
1. What controls are "text-input" controls in CF?
Textbox, Combobox, NumericUpDown?, DomainUpDown?, more?
2. How can you determin if a control is of this type?
It must be done in the framework somewhere since typing a character in the
SIP when a button is focused won't change it's name, while doing the same
when a textbox is focused will add the character to the text...
3. Would it be the same in the full framework?
/ Peter