Search the Community
Showing results for tags 'button text'.
Found 1 result
-
Hi... First issue (see video): My guess is that it is ctrlCreate's initial default position? Which is odd as I specify my own? I even tried creating the element/control off-screen and then moving. It makes no difference. for "_i" from 0 to (_men - 1) do { _manIcon = _display ctrlCreate ["RscPicture", _idc]; _manIcon ctrlSetPosition [_xPos * safezoneW + safezoneX, 0.24 * safezoneH + safezoneY, 0.0125 * safezoneW, 0.02 * safezoneH]; _manIcon ctrlSetText "pics\icons\men.paa"; _manIcon ctrlSetScale 1.25; _manIcon ctrlCommit 0; _xPos = _xPos + 0.0147; _idc = _idc + 100; }; Second issue: I understand you can't use the keyword DELETE in dialogs/prePreProcessor-file but it doesn't make sense as to why it doesn't work in the button text (STRING)? It simply doesn't show the word. text = "DELETE MACRO"; // even tried... text = "MACRO DELETE"; text = "ADELETE"; // this works How am I suppose to escape it inside the string? Haven't tried it with ctrlSetText but still would like to know how/why if anyone knows. EDIT: It appears to be an issue when using DELETE MACRO string. It works with them both without one another. lol? Weird.