changing the location of a button in code problem

By mor
Kiryat Ata, Israel
February 19, 2012 6:08pm CST
Ok , there are some objects I can add to the window I program : buttons , dialog box and etc... Every object has it's properties and some of them I want to change , for example , I have a button and I want to change it's location on my window (form for that matter) if a certain event happened , like ... the timer counted one second. So I try to get directly to the button.location.x and change it. It doesn't allow me , saying it's an expression and so I can't make any assignment to it. Is there and function of the button that can do it so I can move the button in the code ? How do I get to the help documentation of a certain function so I can learn how to use it ? (what parameters to give , what it does and etc...)
No responses