When a DPanel is hovered, i'm just drawing something on it.
On my DPanel, I have a few DButton, DModelPanel. But the focus prevents to draw the surface on DPanel when i move my cursor on them.
Do you have any idea ?
You could draw the DPanel inside the button.Paint function. You would first draw the button then but also could paint other elements.
The idea is to make possible drawing (on its parent - DPanel) when a button is hovered.
Drawing on DPanel from DButton.Paint is impossible.
Or just use Panel/IsChildHovered?
Panel:IsChildHovered is the solution. Thanks a lot.
Sorry, you need to Log In to post a reply to this thread.