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

How to respond to 'cancel' in openpicturedialog?

Status
Not open for further replies.

LEICJDN1

Technical User
Nov 27, 2002
201
GB
I uise openpicturedialog to get a JPEG to load.
How can I handle a press of cancel from the standard dialog so I can display a message of my choice, and then re-rerun openpicturedialog rather than get the standard windows error message?

Tried seeing if openpicturedialog.filename was '' and then recalling openpicturedialog but if second attempt is still '' error appears.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top