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

Developer

API Reference

ITRIGMLELEMENT_CANTAKEFOCUS()

Brew Release
Brew MP 1.0.2
See Also
ITRIGMLELEMENT_CanTakeFocus() ITRIGMLELEMENT_GetFocusChild() ITRIGMLELEMENT_SetIsAlwaysFocusable() ITRIGMLELEMENT_IsAlwaysFocusable()
Description
Determines whether an element can take focus. Non visible elements can't take focus. An element can take focus if one of the following are true: - ITRIGMLELEMENT_IsAlwaysFocusable returns true
- The element's canfocus attribute is set to true
- The element's attached widget can take focus
- The element has a focus listener
- One of the children of the element can take focus
Params
po
[]:
The Trigml element to query.
Interface
  • ITRIGMLELEMENT
Prototype
  •    boolean ITRIGMLELEMENT_CanTakeFocus(ITrigmlElement* po)
    
Return
  •    TRUE if the element can take focus, FALSE otherwise.
    
Comments
None