|
-
Jan 29th, 2022, 07:34 AM
#8
Re: Show a PictureBox transparent over a ListBox Help!
 Originally Posted by jmcilhinney
Given that Paint is a member of Control and ListBox inherits Control, that's obviously false. There's even documentation for it, which you should know because you should have looked.
If you read the documentation, you may notice that it says under the heading Remarks:
This event is not relevant for this class.
In other words, the ListBox paint event is about as useless as ...
I was going to cite male nipples (vide Darwin) but that would be doing them an injustice; can anyone think of a better analogy?
Anyway it makes sense that the event list shown in the Properties window (click lightning icon) omits Paint. I think it would improve the MSDN documentation if it left out the redundant stuff, or at least marked it as irrelevant e.g. by using small light-grey letters
BB.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|