Page 1 of 1

HTALite framework

Posted: Thu May 07, 2009 11:14 pm
by VBScab
Although I am a JS know-nothing, I am trying to use this framework http://www.scriptinganswers.com/vault/M ... ev%20b.zip, specifically to provide a dynamically- updateable status bar. It seems to be "swallowing" onClick events. I have a number of onClick Subs to handle different click events (clicking of radio button, checking a check-box and so on, mostly to disable UI elements) but they're not being executed. My previous version - which didn't use the framework but updated a SPAN - works just fine so I know for sure that the code to branch to the Subs is good.I can see that the component has events "trapped" in the CreateToolbar and CreateToolbarButton functions but I'm not using either of those, just the status bar. In desperation, I temporarily removed those functions but it made no difference (which is what I expected).Just to add to the excitement, in further testing, it also seems to be swallowing key press events when used with whatever the control's ACCESSKEY is. That is, if I have an accelerator key defined as 'Alt+G', using that key combo moves the focus to the control but the press event doesn't seem to happen. :(vbscab2009-05-08 06:34:38

HTALite framework

Posted: Thu May 07, 2009 11:14 pm
by VBScab
Although I am a JS know-nothing, I am trying to use this framework http://www.scriptinganswers.com/vault/M ... ev%20b.zip, specifically to provide a dynamically- updateable status bar. It seems to be "swallowing" onClick events. I have a number of onClick Subs to handle different click events (clicking of radio button, checking a check-box and so on, mostly to disable UI elements) but they're not being executed. My previous version - which didn't use the framework but updated a SPAN - works just fine so I know for sure that the code to branch to the Subs is good.I can see that the component has events "trapped" in the CreateToolbar and CreateToolbarButton functions but I'm not using either of those, just the status bar. In desperation, I temporarily removed those functions but it made no difference (which is what I expected).Just to add to the excitement, in further testing, it also seems to be swallowing key press events when used with whatever the control's ACCESSKEY is. That is, if I have an accelerator key defined as 'Alt+G', using that key combo moves the focus to the control but the press event doesn't seem to happen. :(vbscab2009-05-08 06:34:38