06-28-2006 03:20 AM
06-28-2006 03:35 AM
Hi Ashley
Just use the "Disabled"-property of the tab control. Set it to either 1 or 2 (disabled or disabled & gray) before your activity starts and set it to 0 (enabled) after the activity finished.
Thomas
06-28-2006 04:19 AM
Hi Thomas
Presumably this is done programmatically using the property node.
However I can't find the trick to control each tab seperately.
06-28-2006 05:01 AM
06-28-2006 06:03 AM
06-28-2006 08:29 AM
Hi again Thomas
I think I probably haven't explained what I am trying to do very well.
Basically the tab control gives access to two separate block diagrams inside a case structure. I attach an amended example to explain better.
I can see I don't need a disable function as clearly, niether case will run until the other has stopped. All I need I suppose is a dialogue box pop up saying "case 1 must be stopped before case 2 can be run and vice versa" or for case 2 to be greyed out whilst case 1 is running and vice versa. I am sure I am making this more difficult than it really is.
I will fix it in the end.
Many thanks
Ash
06-28-2006 08:55 AM