Raedor/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
(RscControlsGroups ...)
(setfocus)
Line 30: Line 30:
==Control Eventhandlers==
==Control Eventhandlers==


===mouseEnter/Exit/Moving/Hold===
===mouseEnter/Exit/Moving/Hold/setFocus===


* For static texts (and static pictures) it seems to trigger only when you set the focus on it
* For static texts (and static pictures) it seems to trigger only when you set the focus on it

Revision as of 13:54, 9 October 2008


What makes the difference for controls is the "type" entry. We have 30(+?) different types. Also important is the "style" entry, I think we better use the base classes as name for them or the macro for the type number from resincl instead of the clean type number, as it is easier to read then.

I think it would be good if we write some info about each control type/style and which combinations are possible (e.g. button + picture is not).


List of known problems/inconsistencies

Config Params and Classes

Displays

  • movingEnable: Nobody knows what this does

Controls

  • class ControlsBackground seems to be not working for RscControlsGroups
  • moving: Seems to have no effect on RscActiveTexts, RscControlsGroups
  • moveOnEdges: What does this do? -- Seems to be used only with maps.


Control commands

ctrlSetFade

  • no effect on maps

Control Eventhandlers

mouseEnter/Exit/Moving/Hold/setFocus

  • For static texts (and static pictures) it seems to trigger only when you set the focus on it