LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

creation tableau sur tab

bonjour, j'ai une fonction qui créer des tabs dans un panel

 

 mon probleme est d'ajouter un tableau sur chaque tab crée, en utilisant le code CVI,comment faire svp

merci .

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

As far as I can understand based on my limited knowledge of french language, you want to programmatically create a table inside a newly created tab page.

Let me say first that this is not a trivial task: tables have a very large set of attributes that you must set to accomodate them to your needs, so it may take you a long time to obtain the result you want.

 

However, I can suggest you a couple of alternatives to simplify the task:

  1. Create a dummy panel with the table and accomodate it as you want, next use Tools >> UI to code converter tool in the UIR editor to generate the appropriate code that programmatically creates the panel; this is the code that you need to incorporate in your program to create the table
  2. Create a separate panel in the UIR editor that replicates the exact aspet you want for the tab page, next load it and call InsertPanelAsTabPage () command to incorporate it in the tab control. You will need to discard the original panel after having loaded it into the tab control

 

As a last hint I want to point you to the french board in this forum.



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,978 Views)