Code not working ? After I created a Tab Control and Cut and Paste the controls to each tab.

  • Thread starter Thread starter acs68
  • Start date Start date
A

acs68

Hi all,

I was noticing that my form was beginning to get cluttered so I decided to
create a Tab Ctrl and move all the controls / buttons etc to the pages.

I basically created the page with two tabs, renamed the tabs and cut and
pasted the controls and buttons etc to it.

Now for some reason the code that is attached to buttons and lstboxes etc
doesn't seem to execute.

Is there something I need to do ?

cheers,

Adam
 
Further on this,

if I create a new button and copy and paste the code , the new button works
fine.
 
The code has become disconnected from the controls.

Open the form in design view.
Open the Properties box.
On the Event tab, you need to set the properties back to:
[Event Procedure]
 
Thanks Allen,

that was it :)

cheers


Allen Browne said:
The code has become disconnected from the controls.

Open the form in design view.
Open the Properties box.
On the Event tab, you need to set the properties back to:
[Event Procedure]

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

acs68 said:
Further on this,

if I create a new button and copy and paste the code , the new button
works
fine.
 
Back
Top