Inventor General Discussion

Inventor General Discussion

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

Close iLogic Form

515 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,983
Registered: ‎05-18-2011
Message 2 of 3 (511 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 (507 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.