-
May 31st, 2023, 04:37 AM
#1
Thread Starter
Hyperactive Member
Any header icon/picture for GroupBox control ideas?
Hi, Consider you want to distinguish between lots of similar built-in GroupBox controls, prior to their header titles with a small 32×32 pixels (Like old school ImageList controls for TreeViews and such). Since it does not "Image" property in itself, How can we achieve it? (If it has one, I think it was for background image, not the header)
I already used tabs for changing subitems therefore exclude this controls as an alternative.
Peace/.
-
May 31st, 2023, 05:15 AM
#2
Re: Any header icon/picture for GroupBox control ideas?
I'm not sure whether this would work or not but one hacky option may be to adding some leading spaces to the Text to create a gap and then draw the Image in the appropriate place on the Paint event. I'm just not sure whether you could raw all the way to the edge of the control or only inside the frame.
-
May 31st, 2023, 05:16 AM
#3
Re: Any header icon/picture for GroupBox control ideas?
While this is for C#, I'm sure it translates easily to VB: https://www.codeproject.com/Articles...oupBox-control
-
May 31st, 2023, 04:02 PM
#4
Re: Any header icon/picture for GroupBox control ideas?
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Jun 2nd, 2023, 03:10 AM
#5
Thread Starter
Hyperactive Member
Re: Any header icon/picture for GroupBox control ideas?
Great ideas, thanks all for contribution.
How about a simple dark red circle on a tab control indicating an alarm and when it's appropriate it flickers? I mean a graphical image or an outlined drawn eclipse shape. Formerly I was using ○ and ● in series repeatedly (There are even emojis supported by newer versions of Windows including 🔴 and ⚫). They are text symbols so lesser the resources files, simpler the code but harder to read and informing for user.
Is your approaches same to this?
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
|