Click here to Skip to main content
15,844,673 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 0:29
professionalRalf Meier2-Apr-23 0:29 
GeneralRe: Properties on Custom Control Pin
robert112-Apr-23 3:15
robert112-Apr-23 3:15 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 3:20
professionalRalf Meier2-Apr-23 3:20 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 3:23
professionalRalf Meier2-Apr-23 3:23 
GeneralRe: Properties on Custom Control Pin
robert112-Apr-23 3:32
robert112-Apr-23 3:32 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 4:12
professionalRalf Meier2-Apr-23 4:12 
GeneralRe: Properties on Custom Control Pin
robert112-Apr-23 5:33
robert112-Apr-23 5:33 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 6:19
professionalRalf Meier2-Apr-23 6: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 6:36
robert112-Apr-23 6:36 
SuggestionRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 6:42
professionalRalf Meier2-Apr-23 6:42 
GeneralRe: Properties on Custom Control Pin
Eddy Vluggen1-Apr-23 13:20
professionalEddy Vluggen1-Apr-23 13:20 
GeneralRe: Properties on Custom Control Pin
robert111-Apr-23 13:34
robert111-Apr-23 13:34 
GeneralRe: Properties on Custom Control Pin
Eddy Vluggen1-Apr-23 14:13
professionalEddy Vluggen1-Apr-23 14:13 
GeneralRe: Properties on Custom Control Pin
robert111-Apr-23 14:47
robert111-Apr-23 14:47 
GeneralRe: Properties on Custom Control Pin
robert111-Apr-23 15:19
robert111-Apr-23 15:19 
PraiseRe: Properties on Custom Control Pin
Eddy Vluggen1-Apr-23 16:04
professionalEddy Vluggen1-Apr-23 16:04 
GeneralRe: Properties on Custom Control Pin
Ralf Meier1-Apr-23 23:56
professionalRalf Meier1-Apr-23 23:56 
GeneralRe: Properties on Custom Control Pin
Eddy Vluggen2-Apr-23 0:57
professionalEddy Vluggen2-Apr-23 0:57 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 1:04
professionalRalf Meier2-Apr-23 1:04 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 1:05
professionalRalf Meier2-Apr-23 1:05 
QuestionDetecting when a child form is being moved Pin
Georg Kohler25-Mar-23 9:48
Georg Kohler25-Mar-23 9:48 
AnswerRe: Detecting when a child form is being moved Pin
Dave Kreskowiak25-Mar-23 19:13
mveDave Kreskowiak25-Mar-23 19:13 
GeneralRe: Detecting when a child form is being moved Pin
Georg Kohler26-Mar-23 9:31
Georg Kohler26-Mar-23 9:31 
GeneralRe: Detecting when a child form is being moved Pin
Dave Kreskowiak26-Mar-23 11:15
mveDave Kreskowiak26-Mar-23 11:15 
QuestionLoading svg into picture box on user control added dynamically to Table Layout Panel Slow Pin
Member 1206177121-Feb-23 9:29
Member 1206177121-Feb-23 9: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.