MeEtc
Patchou's look-alike
In the Shadow Gallery once again
Posts: 2200 Reputation: 60
38 / /
Joined: Nov 2004
Status: Away
|
O.P. No Function calls for child windows being made on debug window
I'm not sure if its something I'm doing wrong or what, but none of the controls on child windows are generating function calls on the debug window for YASS as I'm trying to create it.
Window declarations: code: wnd = MsgPlus.CreateWnd('yass_gui_imgedit.xml', 'WndImageEdit', 1);
wnd.Button_SetCheckState('RadGeneral', true);
cwnd_General = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.General', 130, 60, true);
cwnd_Background = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.Background', 130, 60, false);
cwnd_DP = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.DP', 130, 60, false);
cwnd_StatusImg = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.StatusImg', 130, 60, false);
cwnd_StatusText = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.StatusText', 130, 60, false);
cwnd_Nick = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.Nick', 130, 60, false);
cwnd_PSM = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.PSM', 130, 60, false);
cwnd_PSMMedia = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.PSMMedia', 130, 60, false);
cwnd_Time = MsgPlus.CreateChildWnd(wnd, 'yass_gui_imgedit.xml', 'WndimageEdit.Time', 130, 60, false);
trying to call a function: code: function Oncwnd_BackgroundEvent_CtrlClicked(Wnd, ControlId){
Debug.Trace('ctrl clicked: '+ControlId);
if(ControlId == 'btnBgColour')
LoadColourPicker(Wnd, ControlId)
}
function Oncwnd_BackgroundEvent_EditTextChanged(Wnd, ControlId){
Debug.Trace(Wnd + ControlId);
}
when clicking a button or editing a textbox, no function call is listed in the debug window, nor is any trace text outputted. I'm thinking this must be something I'm doing, as I doubt something this major was left out out 4.50.
whats going on here?
This post was edited on 12-09-2007 at 07:02 PM by MeEtc.
I cannot hear you. There is a banana in my ear.
|
|