Reputation:
I'm making a checksheet , in my checksheet there's a legend ✓ = Ok , X = NG. Is it possible to change the tick symbol in vb6 checkbox ?
Upvotes: 2
Views: 362
Reputation: 1486
You might be able to mimic the desired behavior/optics with the CommandButton
control, where you set its Style
property to 2, set its Picture
property to a matching image and swap that image if necessary:
Dim pic As StdPicture
Set pic = LoadPicture("C:\YourCheckmarkOrXImageFileHere.ico") Set
Command1.Picture = pic
Upvotes: 1
Reputation: 6414
You can customize the checkbox. Set its properties this way:
1 - Graphical
Pictures can be icons (*.ico
), cursors (*.cur
), bitmaps (*.bmp
, *.gif
, *.jpg
, etc.).
Note that since it uses bitmap type images and not vector ones, you'll deal with pixel sizes to design your UI.
Upvotes: 4