Hello,
I created a desktop project in xojo. In my mainwindow I put only one control, a desktopseparator. But most of the event handler of this class doesn’t seem to work. I can’t have fired the MouseDown, MouseUP, MouseDrag, KeyDown event handlers. The only event handler that work properly, in my opinion, are the MouseEnter and MouseExit event handlers.
What are the prerequisites to trigger the above mentioned events?
many thanks for your efforts in advance
I suspect that many of the descriptions in the “new” documentation simply are a copy of their parent class
and that most of the events and methods are not implemented…
If you try to an an event to a DesktopSeparator, they are all there to be chosen from.
@Roger_Kaufmann , are you saying that you implement these evsnts but they don’t seem to fire? I don’t know how thick a DesktopSeparator is, but it seems to me that MouseDown on one would be quite difficult to actually do, with the mouse. What are you hoping to do with the other events?
After testng: I couldn’t get MouseDown to fire, but MouseMove did fire.
I’m replying to this because I’m experiencing the same issue. I can add one thing: it’s a regression.
I don’t know when this became broken, but one of my apps was able to use MouseDown, MouseDrag and MouseUp events on a DesktopSeparator, until recently, to act like a moveable splitter. I eventually noticed this wouldn’t work anymore and, only today, managed to take a look at it and, indeed, only MouseEnter, MouseExit and MouseMove work in recent Xojo releases.
As far as I can tell, the only unexpected property while debugging the DesktopSeparator is its Active property that is set to false, even when AllowAutoDeactivate is false. That’s not enough to make a guess, just the only clue I have.
So yes, Roger, it had worked earlier and I could not find a mention that it was no longer supported.