> In another example, I have a button on the window. And a function is > set to run for that. But it runs right away. And nothing happens when > I hit the button! You are probably trying to assign the command to a function call rather than a function name. ie you added parentheses after the function name. You need a reference to the fiunction - like a function pointer in C/C++ Alan G.