Josh Posted August 9, 2021 Share Posted August 9, 2021 Okay, the system dialog interrupts the program execution and I think no mouse move event is picked up when control goes back to the main program.This can probably be avoided if I add some built-in code that executes a fake mouse leave event. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
buzzdx Posted August 10, 2021 Author Share Posted August 10, 2021 Great, I assume that should work. Thanks. Quote Link to comment Share on other sites More sharing options...
buzzdx Posted August 25, 2021 Author Share Posted August 25, 2021 Hi again, I'm currently facing a problem which is linked to the last one. Right now I have a button, and upon pressing the button it needs to get disabled. This time the mouse is still on the button at the time it gets disabled and thus again keeps the blue border. I think this should be fixed when you put in that fake mouse-leave event to button->disable(). However, is there a way to make this work as of now? I tried this: // first try to fix it btn->SetState(false); btn->Redraw(); // trying to emit the mouseleave, but I think it can't get handled before the next line of code. either way has no effect. EmitEvent(Event(EVENT_MOUSELEAVE, btn)); btn->Disable(); // try to fix and redraw after disabling, no effect btn->SetState(false); btn->Redraw(); So far I couldn't get it to work. Do you have any idea how to get it work, or should I leave it be at the moment and wait for a new release? Thanks edit: I noticed the keyboard combinations SHIFT+POS1 as well as SHIFT+END do not seem to work in textfields for selecting text. Is it possible to add these? edit 2: By mistake I placed a button so that it is half hidden, i.e. it is half hidden behind another control. when clicking the button and then moving the mouse onto the control which is drawn over it, the button will not notice that the other control gained focus and keep its blue border. on the other hand when the widget above the button was clicked before and the mouse moves between the two the border works properly, i.e. blue when mouse is over and no blue border when it leaves again. edit 3: Is the function SetRange() the one for setting the, well .. range, for a slider widget? I think it's missing in the documentation? Quote Link to comment Share on other sites More sharing options...
Josh Posted August 26, 2021 Share Posted August 26, 2021 Hi, can you please post a bug report here for each issue you have in a separate thread, with an example I can run that demonstrates the problem? Thank you: https://www.ultraengine.com/community/forum/120-bug-reports/ Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
buzzdx Posted August 26, 2021 Author Share Posted August 26, 2021 I'll try to do that, sure. For the one with the button border we had already talked about a few weeks ago too, or just the new ones? Quote Link to comment Share on other sites More sharing options...
Josh Posted August 26, 2021 Share Posted August 26, 2021 4 minutes ago, buzzdx said: I'll try to do that, sure. For the one with the button border we had already talked about a few weeks ago too, or just the new ones? Just the new items, please. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
buzzdx Posted August 26, 2021 Author Share Posted August 26, 2021 Alright, will do tomorrow. Bed is calling ^^ Good night! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.