I try to make a floating panel or button, when I press the scroll on the form, everything works, but when I scroll it turns off. Bound to AutoScrollPosition.Y
- What does it mean "podglyuchivaet" and on top of what should the socket float? - rdorn
- @rdorn podglyuchivaet in terms of sometimes moves, sometimes not, and the difference is on top of what? But in general, just on the form - Vladimir H
- Well, then place the panel directly on the form, fixing the position and size, and let the rest of the content change under it, albeit scrolled, at least with what. Through the form designer, this is not done, but in the code easily. indicating in the Parrent property the form - rdorn
- or subscribe to the mouse event associated with the wheel, I don’t remember what is called, but it does it because it’s most likely that you subscribed to form scrolling events and didn’t subscribe to mouse wheel events, so it doesn’t react - rdorn
|