2018-06-21, 17:16
@mardukL
Yeah, i understand what you've done. what I understand is that visible decides the visibility of the control based on the condition given. Now, you've manually added a condition and then called the specific variables (year, genre, etc.) in the label tag. Which of course works, BUT
(AND HERE LET ME KNOW IF I UNDERSTAND THE FUNCTIONALITY CORRECTLY)
the variables are created so that they can decide which value the label get based upon the condtion that is met. Now, I did not test, but I can see your code fails if a condition is not met (or worse, null).
for ex., what if it does not contain a year and is not a tvshow, is not showing this control a wanted behavior? or if I it's a movie the first INFO fails. That's why i think variable is needed because making this minute changes will come back later and bite in the ass.
EDIT: BTW, if you wish, post me some sort of contact info (mail?) I can link you to a private cloud where we can chat, share files and edit them. (can't pm or send u an email due to user novelty)
Yeah, i understand what you've done. what I understand is that visible decides the visibility of the control based on the condition given. Now, you've manually added a condition and then called the specific variables (year, genre, etc.) in the label tag. Which of course works, BUT
(AND HERE LET ME KNOW IF I UNDERSTAND THE FUNCTIONALITY CORRECTLY)
the variables are created so that they can decide which value the label get based upon the condtion that is met. Now, I did not test, but I can see your code fails if a condition is not met (or worse, null).
for ex., what if it does not contain a year and is not a tvshow, is not showing this control a wanted behavior? or if I it's a movie the first INFO fails. That's why i think variable is needed because making this minute changes will come back later and bite in the ass.
EDIT: BTW, if you wish, post me some sort of contact info (mail?) I can link you to a private cloud where we can chat, share files and edit them. (can't pm or send u an email due to user novelty)