About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
Preset Tabs automatically call func
Author Message
SamNainocard Offline
Member

Post: #1
Preset Tabs automatically call func
Not sure if intended,

A Tabs with preset (or something), set to any tab (from GUI Editor mostly), will cause a tab to call func itself, if func() is set in same frame of assigning GUI.

Can be test within tutorial.
PHP Code:
static void TabFuncTest(Ptr)
{
    
LogN("ASDASDASDASD");
}

Bool Init()
{
    
tab=&gui_objs.getTabs  ("tab");
    
tab->func(TabFuncTest);

(This post was last modified: 05-23-2013 09:56 AM by SamNainocard.)
05-23-2013 09:46 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Preset Tabs automatically call func
Thanks, the issue was related to saving gui objects in the editor (tabs selection was not fully saved)
Fixed it.
05-23-2013 02:12 PM
Find all posts by this user Quote this message in a reply
Post Reply