You'll have to show us what code you're using.
tinstaafl
Nearly a Posting Virtuoso
1,304 posts since Jun 2010
Reputation Points: 341
Solved Threads: 225
Skill Endorsements: 14
in the button click event for dialog2 are you putting the code to move the text after the me.close() statement? If the form is closed the controls in it can't be read. Also there are 2 buttons on a standard dialog. Make sure you're using the click event for the proper button.
tinstaafl
Nearly a Posting Virtuoso
1,304 posts since Jun 2010
Reputation Points: 341
Solved Threads: 225
Skill Endorsements: 14
put dialog1.show in the button click for dialog2, that will activate it. also in the code you submitted you appear to have 5 different dialogs, child_dialog, dialog1, dialog2, dialogbox1, dialogbox2. this can make it difficult to decipher your meaning. I gather though that the activate event isn't firing on dialog1. Where is the code for dialog1 active event?
tinstaafl
Nearly a Posting Virtuoso
1,304 posts since Jun 2010
Reputation Points: 341
Solved Threads: 225
Skill Endorsements: 14
That's the code to activate the form. In the form's code declarations is an activate event subroutine, that is triggered when the form is activated. This is called the activate event. If you need something to happen when the form activates this is the subroutine that contains the code that runs when the form is activated(i.e. adding text to a textbox).
tinstaafl
Nearly a Posting Virtuoso
1,304 posts since Jun 2010
Reputation Points: 341
Solved Threads: 225
Skill Endorsements: 14