LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Comment afficher les tabulation dans un Label sous LabWindows 6

Je cherche à inserer des tabulations dans Label d'un contrôle par programmation.
je sais que je peux les mettre à la main directement dans le contrôle en faisant ctrl 'tab'. j'ai essayé le caractère spécial "\t"  (avec la fonction sprintf) mais dans l'uir, je vois un caractère a la place de la tabulation (caractère '[]').
Y a t'il une configuration spécial de labwindows a faire pour permettre ces caractères spéciaux.
je développe sous LabWindows 6.0
merci
0 Kudos
Message 1 of 2
(2,907 Views)
(I apologize for not responding in French, but I really don't know it well enough to write in)
 
The CVI user interface library doesn't support ,<tab> characters. Yes, you can type <Ctrl-Tab> and what looks like a tab break is created. But if you look carefully, you'll notice that the only thing that happened is that a few spaces were inserted in the string, enough spaces to advance to the next tab stop. And you might also notice that if, after you enter <Ctrl-Tab> you start typing before the tab break, the spaces behave like spaces, and not like a real tab break.
 
There is no equivalent programmatic action to typing <Ctrl-Tab>.
 
Luis
NI
Message 2 of 2
(2,899 Views)