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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On menu click give help popup window 1

Status
Not open for further replies.

mjmaas

MIS
Apr 29, 2005
3
NL
Who can help me, I want when people click in the menu on help, they recieve an new popup, with a helptekst file. So not one line of text in a msgBox, but multiple lines.

How do i link it, and how can i design it, so it will be opened by click on help button in the menu
 
1. the function msgbox() supports multiple lines: To change line add & vbCrLf

e.g. msgbox("Hello user." & vbCrLf & "Thanks for purchasing the application!")

2. If you want design/create your own help (Task providing help). Add a new form tin the project named "frmHelp"...problably add a textbox/richtextbox buttons etc. To make it appear at the click event add code:

Code:
Dim myHelpForm As New frmHelp
myHelpForm.Show () ' or .ShowDialog()


-bclt
 
Or try the next: !

add a textbox and set its property Multiline to true. Add the text you want (containing spaces, {enter},mean white lines).

Then: MsgBox(textbox1.Text) to see the results !!



-bclt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top