ctrlSetPosition – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
Line 1: Line 1:
Does anyone know what _control refers to? I've tried it with the idc and with the individual classname. The first returns an error, the second returns not an error, but nothing happens neither.
Does anyone know what _control refers to? I've tried it with the idc and with the individual classname. The first returns an error, the second returns not an error, but nothing happens neither.
----
I found an example used by BI in an .sqf:
First of all...
private ["_ctrlG_Options", "_ctrlB_Show1"];
_ctrlG_Options = dispMain displayCtrl 1002;
Then the relevant line...
_ctrlG_Options ctrlSetPosition [0.63, 0.325];
[[User:Planck|Planck]] 12:55, 9 February 2007 (CET)

Latest revision as of 13:55, 9 February 2007

Does anyone know what _control refers to? I've tried it with the idc and with the individual classname. The first returns an error, the second returns not an error, but nothing happens neither.


I found an example used by BI in an .sqf:

First of all...

private ["_ctrlG_Options", "_ctrlB_Show1"];

_ctrlG_Options = dispMain displayCtrl 1002;

Then the relevant line...

_ctrlG_Options ctrlSetPosition [0.63, 0.325];

Planck 12:55, 9 February 2007 (CET)