R3vo 2652 Posted December 12, 2015 I am having trouble with a display I am working on. I want to change the text of a structuredText control, but displayCtrl is returning "No Control". Guess I am missing the obvious. onLoad = "Revo_mD_display = _this select 0;" // To save the display to a variable, returns #81000 which is the idd of my display Revo_mD_display displayCtrl 82000; //Does return "No Control" The control itself: class controls { class Revo_mD_Distance: RscStructuredText { idd = 82000; text = "Distance:"; x = 0.875 * safezoneW + safezoneX; y = 0.3 * safezoneH + safezoneY; w = 0.8 * safezoneW; h = 0.8 * safezoneH; font = "LucidaConsoleB"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.5)"; }; }; I've done things like that a thousand times in dialogues, but displays always cause trouble for me. Share this post Link to post Share on other sites
killzone_kid 1326 Posted December 12, 2015 Aren't you supposed to use idc and not idd for controls? 1 Share this post Link to post Share on other sites
R3vo 2652 Posted December 12, 2015 Aren't you supposed to use idc and not idd for controls? I knew it was something very obvious, thanks for pointing that out. I can't even believe that I missed that, I compared it with a working dialogue line by line...... Share this post Link to post Share on other sites