HugoOlivera Posted November 12, 2014 Share Posted November 12, 2014 (edited) Добрый день уважаемые! Подскажите пожалуйста в чем может быть ошибка? или же не верно само написание. Естественно Global( "wtMainPanel", nil ) и Global( "wtGold", nil) заданы. Содержимое файл MainPanel.(WidgetPanel) ... <Name>MainPanel</Name> <Children> <Item href="Text/Gold.(WidgetTextView).xdb#xpointer(/WidgetTextView)" /> <Item href="Text/Silver.(WidgetTextView).xdb#xpointer(/WidgetTextView)" /> <Item href="Text/Copper.(WidgetTextView).xdb#xpointer(/WidgetTextView)" /> </Children> ... При инициализации в lua скрипте MainPanel подхватывает и отображается, но на "Gold" ругается Widgets::LuaGetChildChecked: can't find a child: Gold, details: int __cdecl Widgets::LuaGetChildChecked(struct lua_State *) wtMainPanel = mainForm:GetChildChecked( "MainPanel", false ) wtGold = wtMainPanel:GetChildChecked( "Gold", false ) Edited November 12, 2014 by HugoOlivera Quote Link to comment Share on other sites More sharing options...
Setras Posted November 12, 2014 Share Posted November 12, 2014 У панели wtMainPanel нет ребенка с именем Gold. Проверь Text/Gold.(WidgetTextView).xdb Quote Link to comment Share on other sites More sharing options...
hal.dll Posted November 12, 2014 Share Posted November 12, 2014 Text/Gold.(WidgetTextView).xdb должен содержать: <Name>Gold</Name> 1 Quote Link to comment Share on other sites More sharing options...
HugoOlivera Posted November 12, 2014 Author Share Posted November 12, 2014 Text/Gold.(WidgetTextView).xdb должен содержать: <Name>Gold</Name> Спасибо большое Quote Link to comment Share on other sites More sharing options...
Recommended Posts