Inventor General Discussion

Reply
Member
solson
Posts: 5
Registered: ‎04-15-2008
Message 1 of 3 (479 Views)

Close iLogic Form

479 Views, 2 Replies
09-12-2012 12:15 PM

Is anyone aware of the statement that would close and iLogic form.  What I was looking to do was, based on a parameter, display one of a couple forms.  It works in terms of showing the forms, but I wanted to see the old box close, and open the new one.  I tried iLogicForm.Close, but that is not a recognized function. Here is some sample code.  Any advice is greatly appreciated.

 

If Box = "Part Number" Then
    iLogicForm.Show("Part Number", FormMode.NonModal)
Else
    iLogicForm.Show("Description", FormMode.NonModal)
End If
*Pro
jletcher
Posts: 1,971
Registered: ‎05-18-2011
Message 2 of 3 (477 Views)

Re: Close iLogic Form

09-12-2012 12:27 PM in reply to: solson

Have not tried it but does    iLogicForm.Hide

 

Work ?


Please mark this response as "Accept as Solution" if it answers your question.

James Letcher
2012 Factory Design Suite ( will not load 2013)
What happen to my Inventor :-(
Member
solson
Posts: 5
Registered: ‎04-15-2008
Message 3 of 3 (472 Views)

Re: Close iLogic Form

09-12-2012 12:44 PM in reply to: jletcher

I did try that.  I have tried a few keywords that I thought would close the box, and none of them are recognized.  This is the message I get.

 

Error on Line 4 : 'Close' is not a member of 'Autodesk.iLogic.Interfaces.IiLogicForm'.

 

So I am guess that this is just not a function that is defined in the iLogic environment.

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.