×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

AFXDataDialog

AFXDataDialog

AFXDataDialog

(OP)
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 ?

RE: AFXDataDialog

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources