/build/static/layout/Breadcrumb_cap_w.png

ControlCondition Table, Feature Action State

Hello,

I'm trying to hide a control on a dialog based on the action state of a feature.

The ControlCondition reference...
https://msdn.microsoft.com/en-us/library/aa368035(v=vs.85).aspx

...links to the Conditional Syntax Page:
https://msdn.microsoft.com/en-us/library/aa368012(v=vs.85).aspx

So I would assume this should work just fine. However when I add the following into a ControlCondition Condiiton it does not appear to work:

&Server = 2

Where 'Server' is the feature and '2' is the action state for absent. 

Using this condiiton within the ControlEvent table appears to work just fine, however.

I also checked by just adding a PROPERTY = Value set from the property table and it appears to hide the control just fine then.

Here is a Copy/Paste of the relevant row for reference:
(SQL_Dialog ctrl_SQLTCPPORT Hide &SQL = 2)

1 Comment   [ + ] Show comment
  • Odd, I seemingly can use &SQL=3 (3 being action state for present) and that works fine. I honestly don't understand why action state 2 does not work but if 3 works I'll just have to reverse the logic. - dreyer 8 years ago

Answers (1)

Posted by: anonymous_9363 8 years ago
Red Belt
0
What happens if you test for the content of the public property "behind" the control? That is to say, set the property to 0 in the property table and then test for 'Not PROPERTY_CONTENT=0'?
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ