471,350 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

using Tix.FileSelectBox in python

i was using Tix.FileSelectBox to select imagefiles from a
directory..when i click on image and click my app's okbutton i can
get the selected image name by

self.selimgname=self.myfileselectbox.selection.cge t("value")

after this if i just select a folder and not an image and click
ok then again the myfileselectbox.selection.cget("value") gives
the previously selected image name.

i would like to give an error msg asking the user if he doen't select
an image..how can i do this?

Jan 2 '08 #1
0 806

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by The_Incubator | last post: by
reply views Thread by Adam | last post: by
3 posts views Thread by Peter Moscatt | last post: by
3 posts views Thread by Kenneth McDonald | last post: by
reply views Thread by Richard Taylor | last post: by
2 posts views Thread by Martin v. Lwis | last post: by
29 posts views Thread by 63q2o4i02 | last post: by
reply views Thread by rajasankar | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.