Developer

API Reference

ITRIGMLELEMENT_SetIsFocused()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
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.
Parameters
  • 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.
Comment
None
  • Follow