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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialog Box Global Reset

Status
Not open for further replies.

hankm3

Programmer
Jan 27, 2002
284
US
Question:

I Have a Dialog Box with Several Buttons, a ListBox and 2 DirList Boxes. This Seems to work fine, except when I collect All the Info from the Buttons and Boxes and have the Script process it, I would like to "Refresh" the Entire Dialog Box from the Start of the Script Execution. Basically Run the Script and be able to use the same Dialog Box over and Over until I am finished and Press the EXIT Button.

Should I set a LOOP to Restart Main ?? IE: GOTO Main:

Any Ideas ??

Thanks
 
I would think it would be a little easier to just call a procedure that set the different variables in the dialogbox to the desired setting and then issued a dlgupdate.
 
Knob,

Took your advise and the Reset Procedure works fine. Did come across another problem and solution. My Source Files are in a two word Directory. C:\Text Files.
When the DirListBox came up it was showing all file Types. .cap / .txt / .doc
The solution was to use the Windows Path. C:\Textfi~1\*.txt This Cleared up DirBox so it acted normal.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top