|
-
Jun 7th, 2018, 06:19 AM
#1
Thread Starter
Member
Top left pixel of shape is not drawn
Hi everyone,
I've encountered some weird VB6 behavior, and searching the internet doesn't help much. I doubt that I'm the first with this problem though.
Anyway. Here's how to reproduce it:
1. Create a new VB6 project.
2. Add a new UserControl to the project.
3. Set the BackStyle of this UserControl to 0 - Transparent.
4. Place a rectangle Shape on the UserControl, with, solely for the sake of convenience, Left and Top close to the Left and Top of the UserControl.
5. Don't touch any of the Shape's other properties.
6. Put an instance of the UserControl on the Form and run the project.
The top left pixel of the shape is not drawn. How can this be fixed?
Thanks!
Cooz
Tags for this Thread
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
|