TDBCombo's Selstart is not right for CJK chars.

Originally Posted 3 October 2011, 8:40 am EST

  • Originally Posted 3 October 2011, 8:40 am EST

    I want set the cursor to the end of the TDBCombo use below code:

    TDBCombo.Selstart = len(TDBCombo.Text)

    the above code is right for ascii chars, but not right for CJK chars.
    I need use TDBCombo.Selstart = len(TDBCombo.Text) *2 to set the cursor to the end of the TDBCombo.

    this is not same with the textbox control, so I think this is not right.

    Thanks
  • Reply

    HI,

    If you are talking about the Unicode characters, then I would like to inform you that this is not supported with TDBCombo, so there can be issues while implementing the same on them

    Or if there is something else that I misunderstood then kindly provide me the test sample for the same

    Regards
    ~Gatim
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels