Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

AFXDataDialog

Status
Not open for further replies.

Jachidos

Materials
Joined
Jan 4, 2016
Messages
6
Location
FR
Hello,

I'm currently trying to implement an AFXDataDialog box in Abaqus. Once the data is selected, I want it to choose between Ok, Continue and Cancel. Ok is if you already have all your data, Continue sends you to another box to select more data and Cancel... cancels the operation.


Ok and Cancel work perfectly fine already but I can't find how I'm supposed to program the Continue button.
He appears in the box but clicking on it doesn't do anything.

Does anybody have an idea on how to do it ?
Is the second box supposed to be in another class than the first one ? In the same one ?
Is there a particular way to program it ?
 
I recently tried defining my new form in a new class using the getNextDialog function. But it still doesn't work. I'm out of ideas, does anybody know how I should do ? :/

Here's my getNextDialog just in case :

def getNextDialog(self, previousDb):
self.dialog2 = newSet(self)​
return self.dialog2​

PreviousDB is useless here but the function takes 2 arguments. I'm not using previousDB because I want it to give the same box as many times as the user clicks on Continue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top