Interesting. This capitalizes the first character only. I was looking more for having the caps looks like the declaration in the config file.
For example my config file has this line:
So I expect if I type "isnot" it will convert to "IsNot". In VB.NET key words are not always capitalized with first letter only.
Anyway you example gave me an idea. I could parse the config file in the OnCustomDraw and replace the key word with the one from the config file myself. A lot of headache when I see no reason why the control shouldn't do this by default. Users can then use the config file to control this.
>Hi Perry,
It is possible to automatically capitalize the key words using the OnCustomDraw event. I have attached a sample that illustrates this. Let me know if this meets your requirements.
Thank you for your patience.
Regards,
Ebenezer.P
Sample