Page 1 of 1

Trouble writing to internal tag - Cannot implicitly convert

Posted: Wed Oct 28, 2015 1:19 pm
by Transistor
Here's my internal tag definition:
error-tag-definition.png
error-tag-definition.png (4.75 KiB) Viewed 11105 times
Here's how it's used in code and the error I receive:
tag-error-list.png
tag-error-list.png (29.43 KiB) Viewed 11105 times
What am I doing wrong?

Re: Trouble writing to internal tag - Cannot implicitly [sol

Posted: Wed Oct 28, 2015 2:13 pm
by Transistor
I had a brainwave. Type a '.' and see what the editor shows up:

Code: Select all

Globals.Tags.bValidRecipeSelection.SetTag(); // Controls visibility of "next" button.
There's a ResetTag method as well.

This works.

Re: Trouble writing to internal tag - Cannot implicitly conv

Posted: Thu Oct 29, 2015 10:42 am
by AMitchneck
You need to set the value property:

Code: Select all

Globals.Tags.bValidRecipeSelection.Value = false;

Re: Trouble writing to internal tag - Cannot implicitly conv

Posted: Thu Oct 29, 2015 12:38 pm
by Transistor
OK. Thanks for your reply.