Here's my internal tag definition:
Here's how it's used in code and the error I receive:
What am I doing wrong?
Trouble writing to internal tag - Cannot implicitly convert
-
- Posts: 25
- Joined: Sat Jul 04, 2015 6:13 am
-
- Posts: 25
- Joined: Sat Jul 04, 2015 6:13 am
Re: Trouble writing to internal tag - Cannot implicitly [sol
I had a brainwave. Type a '.' and see what the editor shows up:
There's a ResetTag method as well.
This works.
Code: Select all
Globals.Tags.bValidRecipeSelection.SetTag(); // Controls visibility of "next" button.
This works.
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Re: Trouble writing to internal tag - Cannot implicitly conv
You need to set the value property:
Code: Select all
Globals.Tags.bValidRecipeSelection.Value = false;
Adam M.
Controls Engineer
FlexEnergy
Controls Engineer
FlexEnergy
-
- Posts: 25
- Joined: Sat Jul 04, 2015 6:13 am
Re: Trouble writing to internal tag - Cannot implicitly conv
OK. Thanks for your reply.