The tab control has a terminal on the block diagram which acts like an enum. Simply wire it to a case structure, then right click on the case structure and select "add case for every value". You'll get one case for every tab position.
If course you can also use the tab terminal in any other way in your code, e.g. use it with comparison operators, etc.
Message Edited by altenbach on 03-02-2005 09:22 AM