Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Special Characters for RichTextObject
Message
 
 
To
08/06/2006 11:04:36
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01127844
Message ID:
01128017
Views:
23
WITH Thisform.oRtf.OBJECT
  * Offset to the position where to insert new charater
  * Dont'y change it if you want to insert the new character at the cursor position
  .SelStart = nnn
  * Do not override any existing characters
  .SelLength = 0
  .SelText = lcNewCharacter
...
>I have a Form with a Pageframe that contains a RichText Control. The user can either type in text or paste graphics into this control.
>
>Now the users want me to provide a set of optional symbols or special characters to use in the control.
>
>My idea is to have another control containing the special characters as labels. When clicked the selected character would be inserted or appended to the current string in the control.
>
>Can this be done, making sure the selected symbol gets in the right place within the text?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform