LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Comment changer le format d'une partie de texte dans un contrôle Texte Message en CVI

Bonjour

 

Après avoir essayé plusieurs méthode pour modifier le format d'une partie de texte afficher dans un contrôle Text message sous labwindows.

 

ex : Je veux mettre en gras ou en couleur une partie du texte affiche

 

Je me permets de vous poser cette question.

 

Peut - on faire ceci ? J'ai vu que l'on peut utiliser une richTextBox mais je n'arrive pas à charger l'activeX pemettant d'intégrer ce control.

 

Merci d'avance

 

Cordialement

0 Kudos
Message 1 of 2
(2,936 Views)

I'm not exactly sure that I have corretly understood your question, but it seems to me that you want to have part of the text in a textbox with different attributes (color or boldness or so). This in not possible with regular textbox control, which holds only one set of attributes valid for the whole control.

I am afraid the richtextbox is the only valid control for such a matter.

 

 

As a last note, here the link to the french board of the forums where french-speaking users can discuss in their native language.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,927 Views)