Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.
« »

'Change Case' in TX Text Control ActiveX

Blogged by Christopher Krause on August 09, 2005 and tagged with ActiveX, Samples.

A desirable feature of a word processing application is to change the case of a word, sentence or entire document.

This sample application shows you how to implement the different cases known from Microsoft Word using TX Text Control ActiveX.

We are going to implement the following case changes:

  • UPPER CASE (convert all characters to uppercase)
  • lower case (convert all characters to lowercase)
  • Title Case (first letter of each word is made uppercase)
  • tOgGlE cAsE (toggle the text, whereby capital letters are made lowercase and lowercase letters are made uppercase)
  • Sentence case. (convert the text, whereby the first character of the sentence is uppercase)

In Visual Basic, the functions LCase and UCase offer the functionality to change the case of characters.

Please take a look at this sample application (complete with downloadable source code), to see how easily this 'change case' feature can be implemented in TX Text Control.

« Prev:TX Text Control Samples and Help Center
» Next:Minimizing TX Text Control .NET to the system tray

Comments

If you would like to comment on this blog entry, please post a comment.

External verification page for ISO 9000:2000 certificate
ISO 9001:2000
certified