Click here to Skip to main content
15,887,383 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I have the following codes/scripts which is written inside Loftware Label Design software. If the Text0025 value is empty, then I will set the visibility to false, else is true but when I "Verify Script", it prompt the above error, how can I solve it? I have checked my codes, but it seems ok to me. Any help would be appreciated. Thank you.
Below are my codes:

C#
if(Text0025.Text.Equal(""))
{
      Text.0025.Visible = false;
      Labe0024.Visible = false;
}
else
{
      Text.0025.Visible = true;
      Labe0024.Visible = true;
}
Posted
Comments
Jamie888 25-Nov-14 1:25am    
FIY, I hav checked the properties of the text field also and the name for the text field is indeed Text0025.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900