Jump to content
Alloder.pro  about Allods with love 😱
Search In
  • More options...
Find results that contain...
Find results in...

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Digest April

We talk about what was done and updated in the past month. We help keep abreast of events.

Read more

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

Описание виджетов в инициализации


HugoOlivera
 Share

Recommended Posts

Добрый день уважаемые!

Подскажите пожалуйста в чем может быть ошибка? или же не верно само написание. Естественно 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 by HugoOlivera
Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use