Click here to Skip to main content
15,912,507 members

Comments by Walt Hamilton (Top 7 by date)

Walt Hamilton 8-Jul-15 23:08pm View    
Thanks so much. It will be a day or two before I can get back to this project to test it, but it looks good.

For anybody that is following this thread, a pictureBox with a transparent background and a transparent picture is transparent to the background of the form when moved across it. The problem is that when it is moved across some other control, the transparent part of the picture reverts to the background color of the form, ignoring anything else it passes over.
Thanks again, I'll try it and let you know.
Walt Hamilton 6-Jul-15 22:08pm View    
Ralf,
Thanks for answering my question. I'm not married to any certain format for the picture. Gif, Png, Jpeg all allow for transparencies. The problem is not with the picture; it is that whether I put it in a pictureBox, a Button, or a Label doesn't seem to matter. Even with the background of the container set to transparent, .Net defines transparent as statically adopting the color of where it opens, and never changes. I wonder if it is possible to have a dynamic transparency (one that always shows what is behind it, even while it is moving across the screen in front of other objects.)
Again, thanks for at least answering my question.
Walt Hamilton 5-Jul-15 18:58pm View    
What I meant was that because I didn't know that the correct term is "WindowsForms instead of "Windows Forms", the system wouldn't let me tag my post, and now I am looked down on.
Thank you for the suggestion to try VB.net. It sounds like someone over there may know if there is a way to drag my cow (irregular shaped object) around the screen without dragging a rectangle of color with her? I can drag her, I just don't want her to cover up everything she crosses, and still be in front when she is dropped.
I don't care if Visual Basic is the worst language to use for .NET. It is the one I know best, and if the .NET framework will run it,I don't want to learn another one.
Walt Hamilton 5-Jul-15 18:52pm View    
Seriously. I am NOT a software engineer, which may explain why I don't want to have to learn a new language. Forgive me for thinking that the VB in VB.NET stands for Visual Beginners All-purpose Symbolic Instruction Code (BASIC). I am a poor ignorant teacher that wants to create a Windows Form for my students. What I really want to know is: Is there a way to drag my cow (irregular shaped object) around the screen without dragging a rectangle of color with her? I can drag her, I just don't want her to cover up everything she crosses, and still be in front when she is dropped.
Walt Hamilton 4-Jul-15 19:05pm View    
Thanks. Some of these forums are so difficult to navigate until you learn the magic keywords (like using WindowsForms, instead of Windows Forms.)

To answer your question, I'd use CowMilker.Net, if it would do what I need done. :) Actually, I want to code it in Basic, rather than have to learn another language. Any help would be appreciated.