BtnText

From Doors CS, Doors CSE, and Doors CE Wiki
Jump to: navigation, search

You are here : Developers' SDK >> AxeDCS GUI Reference >> BtnText

Description

Adds a clickable button with custom position and text to the GUIStack. Jumps to a specific address in case of clicking.

Key : CubicReg [stats] [→]

Inputs

  • X,Y : the button's position, relative to the current container.
  • onClickFuncr : the address to jump to in case of clicking.
  • Text : zero-terminated string to be displayed on the button.

Format

Data(X, Y, onClickFuncr)→XXX
"Text"[00
BtnText(XXX

Or :

Data(X, Y, LlabelOnClickFuncr)→XXX
"Text"[00
BtnText(XXX

Always follow this scheme when setting parameters !