We are trying to find out if there is a way to hide a control at the form level like you can at the grid level when using form designer in Infrastructure Administrator/Map 3d indusry models. If you look at the code we have bben able to write a script for locking the control...but not hiding it. Is there a control for such an option??
Thanks John
Dim mybankid as string=me.StrValue("BANK_ID")
if mybankid = nothing then
me.Dialog.Controls.Item("Bank_ID").IsLocked=false 'can be edited
me.Dialog.Controls.Item("Trans_num").IsLocked=true 'can not be edited
else
me.Dialog.Controls.Item("Bank_ID").IsLocked=true 'can not be edited
me.Dialog.Controls.Item("Trans_num").IsLocked=false 'can be edited
end if