Sets the selected attribute of an existing element.
Visual Basic |
---|
Public Sub ElementSetSelected( _ ByVal elementHandle As Long, _ ByVal bSelected As Boolean _ ) |
- elementHandle
- The handle of an element returned by the ElementCreate method.
- bSelected
- If the element is selected.
An element created with the Selected attribute set to true will be automatically selected.