2015-01-17 11:37 AM
2015-01-17 11:57 AM
2015-01-17 05:46 PM
IF parameter1 THEN HIDEPARAMETER 'parameter2'This says that if parameter1 is turned on, parameter2 is to be hidden. For this to work, parameter1 must be a boolean value.
2015-01-18 12:13 PM
2015-01-18 12:16 PM
2015-01-18 02:57 PM
2015-01-18 05:58 PM
2015-01-18 07:03 PM
2015-01-18 10:18 PM
jensvs wrote:Given that your parameters are text (i.e. door or drawers) and not boolean, then what you show is fine, other than you have quotes around Type_of_Desk in your code.
I tried this in the parameter script
IF "Type_of_Desk" = "Door" THEN
HIDEPARAMETER "Number_of_Drawers"
HIDEPARAMETER "Material_Drawer"
ENDIF
IF Type_of_Desk = 'Door' THEN HIDEPARAMETER 'Number_of_Drawers', 'Material_Drawer' ENDIF
2015-01-19 04:02 AM
IF Type_of_Desk = 'Door' THEN LOCK 'Number_of_Drawers', 'Material_Drawer' HIDEPARAMETER 'Number_of_Drawers', 'Material_Drawer' ENDIFBarry.