By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,660 Members | 1,735 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,660 IT Pros & Developers. It's quick & easy.

HelpProvider Control

P: n/a
Hi,
I want help regarding providing information about form and controls which
are presented on the form.
when ever user presses f1 if the form has focus then it has to provide
information about the form( eg.what it does etc)
When the control has focus , if the user presses f1 key then it has to
provide info regatding that control i.e what the control is meant for.
Like that i want to provide help information to the end user to make him
know how to use the application.

For eg in my application there is one form and it is having 2 text box
controls and i've placed HelpProvider control.

For form i 've set the properties like this

show help on helpProvider1 = true
HelpString on helpProvider1= Drugs Entry Form

For First textbox i set the following properties

show help on helpProvider1 = true
HelpString on helpProvider1= Enter Drug name

For Second textbox i set the following properties

show help on helpProvider1 = true
HelpString on helpProvider1= Enter Dosage level

After running the application so the form is having the focus and when i
press f1 it is displaying the message dugs entry form

, when select 1st textbox and press f1 then it is displaying Enter Drug
name and
when select 2nd textbox and press f1 then it is displaying enter dosage
level.

Again when am selecting form and pressing f1 then it is displaying the
message Enter dosage level.( it is displaying the message of the control
which i 've selected previously before selecting the form.
So instaed of providing message using helpstring i've used one htmel page.
In this i 've written some text. and i 've included this file into
application using the property
HelpNamespace of HelpProvider control.

When am running the application and pressing f1 key then it is displaying
the information into Browser i dont want to display the info into browser
but want to display in seperate document .
Plz tell me how to do this one.
Thanx in advance
Yoshitha
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.