Skip Navigation LinksOneClickHelp > Programs and the interface description > Word 2 Help (doc to chm) > Additional opportunities > Copying of a text in a clipboard  

Copying of a text in a clipboard

For creation of such a possibility in Help it is necessary to make in MS Word the steps below.

1.     Define two styles
Name = CopyItBegin, based on Normal, size = 1.
Name  = CopyItEnd, based on Normal, size = 1.

2.     Insert one style above and one below the text.

CopyItBegin

 

Your any text

CopyItEnd

 

Example, how it looks can be seen only in Chm, Aspx, Html or Hxs:

Private Sub mnuHelpChm_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuHelpChm.Click
Help.ShowHelp(Me, HelpProvider.HelpNamespace)
End Sub

 

In Chm, Aspx, HxS, Html the button and phrase CopyCode is added and for them style <div class ='CopyIt '> is defined, but this style is not defined in _style.css.

 

BackHomeNext