Selects the contents of an HTML5 Element.
CSS3 Selector of the element to select.
If you are unfamiliar with CSS3 Selectors have a look in Finding the correct CSS3 Selector article.
If True will move the caret to the selected element.
Selects the contents of an HTML5 Element.
Visual Basic |
---|
Public Sub SelectElement( _ ByVal Selector As String, _ ByVal MoveCaret As Boolean, _ ByVal SelectContents As Boolean _ ) |
CSS3 Selector of the element to select.
If you are unfamiliar with CSS3 Selectors have a look in Finding the correct CSS3 Selector article.
If True will move the caret to the selected element.
Private Sub Toolbar2_ButtonClick(ByVal Button As MSComctlLib.Button) On Error Resume Next NoEvents = True WebKitX1.SelectElement Button.Key, False, True If mnuSyncDesignerAndSource.Checked Then SelectSource Button.Key End If NoEvents = False End Sub