Groupbox corners round?

feurich

Centurion
Joined
Oct 21, 2003
Messages
170
Location
Holland
Hi there,

Is there a way of making the corners of a groupbox round?
Or do I have to make my own control for this?

All the best

Feurich
 
Try changing the flatstyle property of the groupbox to 'system', and then on the first line of you application add these lines:
Code:
        'Turn on XP Styling
        Application.EnableVisualStyles()
        Application.DoEvents()
 
Remember this only works on XP, if someone has Windows 2000 or 98 you will still see the squared of corners when they use yoru program
 
Question on this

When I do this the inner groupbox's caption is filled in bold.
The outer most groupbox caption is in normal Font
Is this normal behaviour?

I have looked at the setting of the individual controls but nothing is out of the order?
 
Back
Top