Click here to Skip to main content
15,923,006 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Properties on Custom Control Pin
Ralf Meier1-Apr-23 23:29
mveRalf Meier1-Apr-23 23:29 
GeneralRe: Properties on Custom Control Pin
robert112-Apr-23 2:15
robert112-Apr-23 2:15 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 2:20
mveRalf Meier2-Apr-23 2:20 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 2:23
mveRalf Meier2-Apr-23 2:23 
GeneralRe: Properties on Custom Control Pin
robert112-Apr-23 2:32
robert112-Apr-23 2:32 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 3:12
mveRalf Meier2-Apr-23 3:12 
GeneralRe: Properties on Custom Control Pin
robert112-Apr-23 4:33
robert112-Apr-23 4:33 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 5:19
mveRalf Meier2-Apr-23 5:19 
In the Moment I don't see the wuestion in it - but ... when I understood right I made something similar with a Label.
This Label could have also different shapes - (Rounded, Rectangle, Phased, Raised, Sunken and so on).
If you want to do this you should create for each shape an own method which draw it - like you have done for the Rounded part.
The Selection of the Shapes is an Enum which can also easily placed on a Property. Based on this Enum-Property you select the Shape-Painting inside the OnPaint-Method. At the End the OnPaint-Method will become a very big one ... Cool | :cool:

What we can do, if there are questions or need for discussion, is : you send me the code and I take a look and/or make changes ...
GeneralMessage Closed Pin
2-Apr-23 5:36
robert112-Apr-23 5:36 
SuggestionRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 5:42
mveRalf Meier2-Apr-23 5:42 
GeneralRe: Properties on Custom Control Pin
Eddy Vluggen1-Apr-23 12:20
professionalEddy Vluggen1-Apr-23 12:20 
GeneralRe: Properties on Custom Control Pin
robert111-Apr-23 12:34
robert111-Apr-23 12:34 
GeneralRe: Properties on Custom Control Pin
Eddy Vluggen1-Apr-23 13:13
professionalEddy Vluggen1-Apr-23 13:13 
GeneralRe: Properties on Custom Control Pin
robert111-Apr-23 13:47
robert111-Apr-23 13:47 
GeneralRe: Properties on Custom Control Pin
robert111-Apr-23 14:19
robert111-Apr-23 14:19 
PraiseRe: Properties on Custom Control Pin
Eddy Vluggen1-Apr-23 15:04
professionalEddy Vluggen1-Apr-23 15:04 
GeneralRe: Properties on Custom Control Pin
Ralf Meier1-Apr-23 22:56
mveRalf Meier1-Apr-23 22:56 
GeneralRe: Properties on Custom Control Pin
Eddy Vluggen1-Apr-23 23:57
professionalEddy Vluggen1-Apr-23 23:57 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 0:04
mveRalf Meier2-Apr-23 0:04 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 0:05
mveRalf Meier2-Apr-23 0:05 
QuestionDetecting when a child form is being moved Pin
Georg Kohler25-Mar-23 8:48
Georg Kohler25-Mar-23 8:48 
AnswerRe: Detecting when a child form is being moved Pin
Dave Kreskowiak25-Mar-23 18:13
mveDave Kreskowiak25-Mar-23 18:13 
GeneralRe: Detecting when a child form is being moved Pin
Georg Kohler26-Mar-23 8:31
Georg Kohler26-Mar-23 8:31 
GeneralRe: Detecting when a child form is being moved Pin
Dave Kreskowiak26-Mar-23 10:15
mveDave Kreskowiak26-Mar-23 10:15 
QuestionLoading svg into picture box on user control added dynamically to Table Layout Panel Slow Pin
Member 1206177121-Feb-23 8:29
Member 1206177121-Feb-23 8:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.