From: Arjan on
Hi!

In my gui I use "entry" to specify certain file names, in combination
with tk_get_OpenFile. The files can be stored 7 directories deep. As a
consequence, the text showing in the entry always shows the first say
25 characters of the path, which is generally the same path for all
files I want to select. I would rather see the last part of the
directory/filename-string, the part that makes the difference. How to
accomplish this?

Arjan
From: Adrian Davis on
> In my gui I use "entry" to specify certain file names, in combination
> with tk_get_OpenFile. The files can be stored 7 directories deep. As a
> consequence, the text showing in the entry always shows the first say
> 25 characters of the path, which is generally the same path for all
> files I want to select. I would rather see the last part of the
> directory/filename-string, the part that makes the difference. How to
> accomplish this?

Does something like this...

..myentry xview moveto 1

....do what you want?

Best Regards,
=Adrian=


From: Arjan on
> Does something like this...
> .myentry xview moveto 1
> ...do what you want?

Yep!
Thank you!

Arjan
ps. Join the club! We seem to have Arjan, Arjen and Adrian around
here! ;-)