Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Endrit on February 21, 2012, 05:59:53 PM
-
Hi guys ,
I have a problem !
In a window i have a button and when i press this one i'd like that it create another button !
I have this code but it doesn't function ;
please help me ! Thanks to all !
-
so even if you do something like the following it doesn't work? Does the "Sanity check!" message display?
on "button1" {
button2.
Text =
"I am a button";
}
-
so even if you do something like the following it doesn't work? Does the "Sanity check!" message display?
on "button1" {
button2.
Text =
"I am a button";
}
Thank you !!! :)
I really didn't think to make it visible :| ! ::rock
-
so even if you do something like the following it doesn't work? Does the "Sanity check!" message display?
on "button1" {
button2.
Text =
"I am a button";
}
well i'd like to delete it but it doesn't function ::slug ::slug!
the code is now :
on "button1" {
button2.
Text =
"I am a button";
}
on "button2" {
}
i added the game message to check it but nothing !
::slug ::slug ::slug ::slug ::slug ::slug ::slug
-
if this code is actual, you have a few problems:
var delete = this.DeleteButton("buttno2"); //note a typo (buttno)
I am not sure you can delete button by name, correct way is:
-
Also when creating the button, set its ParentNotify property to true, so that it sends events to the window.
-
if this code is actual, you have a few problems:
var delete = this.DeleteButton("buttno2"); //note a typo (buttno)
I am not sure you can delete button by name, correct way is:
In this way it function !
But I tried to to delete it by clicking on it the code is the next and it doesn't function :( ::slug ::slug ::slug ::slug
(I know that I'm being boring but i need your help metamorphium ! Sorry :( )
c_map.
SetImage("interface\omega\Maps0001.png");
on "Maps" {
}
-
See my post above.
-
Thank you Mnemonic !