How do I Programmatically Modify Button Labels Within a Table? Primary Software: LabWindows/CVI Development Systems>>Full Development SystemPrimary Software Version: 8.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have created a table that contains buttons as a part of my User Interface. How can I dynamically alter the labels of the buttons contained within my table? Solution: This can be accomplished by using the GetTableCellVal and SetTableCellVal functions to retrieve the value of the buttons from within the cells of the table. Because the cells are of type VAL_CELL_BUTTON, the GetTableCellVal will expect a string large enough to hold the button's label plus a NULL termination character. An example program has been attached that demonstrates this process. Related Links: Attachments:
Report Date: 12/18/2007 Last Updated: 12/20/2007 Document ID: 4GHH9L6X |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
