thanx but can you give the full code with SendMessage function ?
this is my code
code:
function OnWndMainEvent_CtrlClicked(Wnd, ControlId) {
if(ControlId == "ButtonSend") {
vari[0] = Wnd.GetControlText("var1");
vari[1] = Wnd.GetControlText("var2");
Wnd.Visible = false;
Wnd.SendMessage("hi");
}
}
is this correct ?