Page 1 of 1

Assigning event

PostPosted: September 9th, 2007, 6:36 pm
by Hafren
Hello,

How can I assign an onmousemove event to a number of buttons
created at runtime?

Thanks

Hafren[/b]

PostPosted: September 9th, 2007, 7:10 pm
by Johnny_Bit
when you crate then in create statement add something like
Code: Select all
thatdumbjutscreatedbutton.onmouseover:=form1.idontwanttosearchforanswer;

it's as simple as that. why you didn't even try?

PostPosted: September 10th, 2007, 8:15 am
by Hafren
I did try all the obvious things but they didn't work in the situation.
Thanks for your reasoned and courteous reply.

Hafren

PostPosted: September 11th, 2007, 6:32 am
by Johnny_Bit
and what exacly does not work?