"koenig at v-i-t.de" wrote: > i meant something like this > > Button( dlgframe, text="OK", relief=GROOVE, command=load ) > > i want to pass "load" pass a eg. filename, so that "load" knows what to load. > how is this possible? def mycb(): load("filename") Button( dlgframe, text="OK", relief=GROOVE, command=mycb ) Cheers /F