>Hello,
>I need help in applying click procedure to a button I just created usind addobject method from a container object. It happens everytime I click the right mouse button.
>I am triggering this by the mousedown event of the container. I add the button using the mouse position as left and top position.
Write the button class as a prg, compile and add from it. This works since VFP6 SP3. However it is likely that you already know what to write to 'click' at designtime, why not use a button class you created at develpment time?
Cetin