HTALite framework

Batch, ASP, JScript, Kixtart, etc.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
VBScab
Posts: 2
Joined: Thu May 07, 2009 11:09 pm

HTALite framework

Post by VBScab » Thu May 07, 2009 11:14 pm

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

User avatar
VBScab
Posts: 2
Joined: Thu May 07, 2009 11:09 pm

HTALite framework

Post by VBScab » Thu May 07, 2009 11:14 pm

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

Locked