Well, I figured it out.
Since noone responded to my questions, I created my own pretty cool popup class to create my own popups, and it worked pretty good in my test project. But as soon as I brought it into my main project and added the code, it immediately started behaving the same way as the codejock controls. My popup notifications slid into view, but then would not recognize any of the click events.
So back to work I went, debugging.
Somewhere along the way, I had a thought that my problem might be that i was in the form_load event, and the form loading (called modally) may not be considered modal until the form_load finished. If it became "modal" (i.e, not allowing any other forms be accessed) after the form_load event, it could keep me from clicking my popup forms. So I added a timer, and set it to 1 second, and then added my popup code when the timer fired.
Then my popups didnt show at all.
So, I started ripping the code apart and simplifying it to find out what the problem was. And I found it. I made my popups using a form that I stylized into a nice popup window. Seems that when you try to load a non-modal form FROM a modal form, it errors out. But, if you do it programmatically, it might not. Intestingly enough, my forms WERE being created (I saw the debug.print messages as they drew themselves, and moved themselves around for my slide-effect), they just werent visible. Bastages.
So my thought was EXACTLY correct. If you load something (like a form) in the form_load event, the loading form doesnt become "modal" until the form_load is complete.
With this in mind, I put the code for the codejock popups back into play, to be called from the timer after the form load event finishes.
And yes, it works now. Compiled it to an exe and the itemclick events now work. So it was the form_load drawing the popups before making the form modal. They drew, but could not be clicked.
All these years I've been coding in VB, and I still learn something new.
Hope this hopes anyone else having the same problem, since codejock doesnt seem interested in responding.
------------- Product: Xtreme SuitePro (ActiveX) version 13.2.1 Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0
|