Tab control on iLogic form depending on part/assy or drawing

Tab control on iLogic form depending on part/assy or drawing

w_broeksema
Explorer Explorer
267 Views
1 Reply
Message 1 of 2

Tab control on iLogic form depending on part/assy or drawing

w_broeksema
Explorer
Explorer

Hello,

 

I'm fairly new to iLogic, so I need some help. 

 

I have a iLogic form with two tabs. One tab contains a button which can only be used in idw/dwg and the other tab is for parts/assemblies.

 

I'm looking for some code which automatically acitvates the right tab in case of opening either a part/assembly or a drawing.

 

Also a built-in warning which pops up when selecting the wrong button would be helpfull.

 

Is there anyone that can help me?

 

Thanks in advance.

 

 

0 Likes
268 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

Hi @w_broeksema.  We do not currently have that level of control over the objects within an iLogic Form.  Those iLogic Forms are pretty basic in functionality to make them easier to quickly create and use by folks who may not have much (if any) programming experience.  If the Form were a regular vb.net System.Windows.Forms.Form then we might be able to have that level of control over those internal objects within the Form.  However, those are much more complex to create and require a lot more code behind each and every object within them to support their functionality.  I believe the only somewhat automated way to control those tabs would be with a Boolean user parameter, and the 'Enabling Parameter Name' property of that tab control within the Form.  When that is set-up in the Form, then when that Parameter is True, that control in the Form is available, but when the Parameter is False, then that control will be unavailable (greyed out).

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes