API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ITRIGMLELEMENT_SETISFOCUSED()

Brew Release
Brew MP 1.0.2
See Also
ITRIGMLELEMENT_CanTakeFocus() ITRIGMLELEMENT_GetFocusChild()
Description
Sets whether an element has focus or not. Focus can only be given to elements that can take focus. When a non leaf node has its focus set then it sets focus on its first child that can take focus. When focus is removed from a non leaf node focus is not removed from its focus child.
Params
po
[]:
The Trigml element for which to set focus.
isFocused
[]:
If TRUE then focus is set, else focus is removed.
Interface
  • ITRIGMLELEMENT
Prototype
  •    int ITRIGMLELEMENT_SetIsFocused(ITrigmlElement* po, boolean isFocused)
    
Return
  •    BREW error code.
    
Comments
None