Personal Notes Attached to Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way of adding a personal to a control for future reference.
Sometimes it is tough remerbering the method behind the MADNESS!

Thanks!
 
You can add whatever comments you like in the event procedures. If you are
using macros, there is a description associated with each step. If you are
looking for something visual the pops up on mouse-over, use the control tip.
 
If you mean text that describes the purpose of a control, you can use the
ControlTip property for short descriptions. When you hover over the control,
it displays the text. For more detailed descriptions of either specific
controls, or the form in general, you can use a Help file (somewhat
cumbersome to use IMO) or hidden label or textbox controls.

If you set the Tag property of these controls to something like "Help" (do
not type the quotes), you can use a command button to loop through the form's
controls and toggle their visibility:

Dim ctl as Control
For Each ctl in Me.Controls
If ctl.Tag = "Help" Then
ctl.Visible = Not ctl.Visible
End If
Next ctl

Hope that helps.

Sprinks
 

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

Back
Top