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
210
Textbox in ColumnHeader
posted

Hi

I know it is possibile to add a checkbox to a columnHeader by using a
CreationFilter.
I tried to use the same filter method, just replacing the checkbox with
textbox, but the

parent.getdescendant(GetType(TextUIElement))
aTextUIElement = New TextUIElement(parent)

does not take the type, as the checkbox did.

Is possible at all, to add a textbox the an UltraWingrid Header?

Regars
JensB

ps I am using Netadvantage 2008 vol1

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    A CheckBoxUIElement and a TextUIElement are not really the same. The CheckBoxUIElement has some built-in functionality to allow the user to click on it.

    The TextUIElement just displays text, it is not a TextBox control and it's not editable.

    If you want to place a control over the header, then you should just create a TextBox control and use the HeaderUIElementRect to position the TextBox over the header.

    If you want something more complicated, like allowing the user to click on the header to edit it, then this will get a lot more difficult and complex.