It should be nice to be able to create a "typedef enum" for the pages of a tabcontrol ...
So the modification of a tabPage label could be automaticaly propagated to constants ..
The problem is ... When you modify the pages labels, and if you use the constant value associated with the pages ...
The associated wires are then brocken ... They are not automatically modified ![]()
When you only want to modify the Label of a tabPage (For example to correct a mistake), the Vi will no more work !
An other idea would be to add a kind of "Caption" to the tabPages, in order to disociate the 'Display name' and the Variable name ...
Here a short example ...
Other Idea : (From the well known Roms)
It should be nice to create the TabPages of a TabControl automaticaty from a typedef enum, and keep the link between the two items.
=> Modification of the TabPages modifies the typedef enum
=> Modification of the typedef Enum, modifies the TabControl content
只有注册用户才能在此添加评论。 如果您已经注册,请登录。 如果您还没有注册,请注册并登录。
Any idea that has received less than 9 kudos within 9 years after posting will be automatically declined.