Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Option Button Context sensitive help problem

Status
Not open for further replies.

YACHTIE

Technical User
Feb 17, 2004
77
CA
On a Word form I have replaced the checkbox form field [/color red]with the control toolbox option button[/color red].
My problem I have no idea how to have context sensitive help info displyed on the status bar at bottom of page like was the case with checkbox.
any suggestions would be highly appreciated.
 
You can put this in your OptionButton_Change() subs:

[tt]
Private Sub OptionButton1_Change()
If OptionButton1.Value = True Then
Application.StatusBar = "Option 1 is selected"
End If
End Sub

Private Sub OptionButton2_Change()
If OptionButton2.Value = True Then
Application.StatusBar = "Option 2 is selected"
End If
End Sub
[/tt]

*cLFlaVA
----------------------------
A pirate walks into a bar with a huge ship's steering wheel down his pants.
The bartender asks, "Are you aware that you have a steering wheel down your pants?"
The pirate replies, "Arrrrr! It's driving me nuts!
 
Thanks tried that but it has no effect, tried _Click instead of OptionButton1_Change [/color red]Same result n o t h i n g ........
Also I would like to have the status bar show something when the particular item has focus not just after clicking, is that possible?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top