There are a lot of possibilities to do it.
If you want to create a red border, you can write
|
Jabaco Source
|
1
|
Shape4.BorderColor = RGB(255, 0, 0)
|
or
|
Jabaco Source
|
1
|
Shape4.BorderColor = &Hff
|
or
|
Jabaco Source
|
1
|
Shape4.BorderColor = &H0000ff
|
or
|
Jabaco Source
|
1
|
Shape4.BorderColor = 255
|
or
|
Jabaco Source
|
1
|
Shape4.BorderColor = ColorToRGB(Color.red)
|
or
|
Jabaco Source
|
1
|
Shape4.BorderColor = ColorToRGB(New Color(255, 0, 0))
|
If you want to change the
BackColor of an
Shape, be sure, that you have set the
BackStyle to
vbSolid before.
Greatings
theuserbl