Read Only Tab

  • Thread starter Thread starter Secret Squirrel
  • Start date Start date
S

Secret Squirrel

Is it possible to make a tab on a tab control read only? Just looking to make
1 of the tabs read only.
 
Is it possible to make a tab on a tab control read only? Just looking to make
1 of the tabs read only.

No, but you can set the Enabled property of each control on the tab to No, and
the Locked property to Yes to achieve the same effect.
 
Hi John,

Is there an easy way to lock all the controls on a specific tab without
having to spell every control out in VBA?
 
Hi John,

Is there an easy way to lock all the controls on a specific tab without
having to spell every control out in VBA?

hmmmm... not sure... you might be able to loop through the form's Controls
collection and check each one's Parent property. Let's see...

Yep. From the immediate window:

?forms!frmComplaint!cboStatus.parent.name
pgDispatch
?forms!frmComplaint!txtNotes.parent.name
pgNotes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top