Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Close iLogic Form

2 REPLIES 2
Reply
Message 1 of 3
solson
949 Views, 2 Replies

Close iLogic Form

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

Steve Olson
Manager, Training Services
https://knowledge.autodesk.com/profile/O37DF451BDD2485B
https://www.youtube.com/channel/UCgQTCawsuRFJVSHRXIwLdtg
2 REPLIES 2
Message 2 of 3
jletcher
in reply to: solson

Have not tried it but does    iLogicForm.Hide

 

Work ?

Message 3 of 3
solson
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.


Steve Olson
Manager, Training Services
https://knowledge.autodesk.com/profile/O37DF451BDD2485B
https://www.youtube.com/channel/UCgQTCawsuRFJVSHRXIwLdtg

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report