R rede96 Registered User. Local time Today, 22:12 Joined Apr 2, 2004 Messages 134 Jun 3, 2006 #1 I am creating about 80 controls on a form using the CreateControl method. Is there a way that I can also create some code for the 'OnClick' event at the same time? Thanks Red
I am creating about 80 controls on a form using the CreateControl method. Is there a way that I can also create some code for the 'OnClick' event at the same time? Thanks Red
B bonekrusher Registered User. Local time Today, 14:12 Joined Nov 19, 2005 Messages 266 Jun 3, 2006 #2 right click on the control>properties, click the event tap, scroll down to the "on click", from the drop down selection, choose event procedure
right click on the control>properties, click the event tap, scroll down to the "on click", from the drop down selection, choose event procedure
R rede96 Registered User. Local time Today, 22:12 Joined Apr 2, 2004 Messages 134 Jun 3, 2006 #3 Sorry, my bad. What I was actually looking to do was to create the OnClick event whislt creating the controls. I've been at it all afternoon and have the CreateEventProc. This should do what I need. Thanks anyway. Red It's simple when you know how!
Sorry, my bad. What I was actually looking to do was to create the OnClick event whislt creating the controls. I've been at it all afternoon and have the CreateEventProc. This should do what I need. Thanks anyway. Red It's simple when you know how!