Have a question abount create GUI Control
Posted: Wed Apr 18, 2012 4:15 am
I want to create a ctrlbutton in script
but when i compile then got an error message as blow
//----------------------------------
syntax error,unexpected identifier,expecting $end
//----------------------------------
here is my script
//----------------------------------
ctrlbutton myButton = {"Button", "OnButton"};//Here is the error line
void InitEffect()
{
}
void PreRenderEffect()
{
}
void PostRenderEffect()
{
}
void MatrixSizeChanged()
{
InitEffect();
}
void OnButton()
{}
//----------------------------------
my OS is windows 7 32 bit
madrix software version is 2.14
could anybody help me thanks
but when i compile then got an error message as blow
//----------------------------------
syntax error,unexpected identifier,expecting $end
//----------------------------------
here is my script
//----------------------------------
ctrlbutton myButton = {"Button", "OnButton"};//Here is the error line
void InitEffect()
{
}
void PreRenderEffect()
{
}
void PostRenderEffect()
{
}
void MatrixSizeChanged()
{
InitEffect();
}
void OnButton()
{}
//----------------------------------
my OS is windows 7 32 bit
madrix software version is 2.14
could anybody help me thanks