Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SelText in Editbox
Message
De
25/06/2002 03:23:12
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
25/06/2002 02:52:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00671906
Message ID:
00671910
Vues:
12
Hi Robert,
since you need to have some sort of control over the formatting, you may store <> restore SelStart / SelLenght of the editbox in the code that manipulates the format.

But there is one question to me (just to be curious): What means ".. can format the marked text .." in an editbox? AFAIK the format of an editbox can only be changed as once. Do you use something like RTF control?

HTH
Agnes

>Hello everybody!
>
>I've a question concerning editboxes.
>
>In an editbox the user can mark a text and, like in MS Word, he/she can format the marked text using several buttons (font bold, italic,...). Everything works correct but a little bit annoying is that if one formatting is done the selected text is gone and the user has to mark the text once.
>
>Does anybody know how I could keep the marked text, so that the user can make several formattings at once?
>
>Thanks in advance.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform