Resolved Fill OvalSharp

thek

Member
Joined
May 31, 2009
Messages
22
Programming Experience
Beginner
Easy one, but not for me

I have a OvalShape and a Button on the form. When I press the Button, the OvalSharp should fill with red color.

This do nothing :eek:
VB.NET:
Private Sub btnGreen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGreen.Click
        OvalShape1.FillColor = Color.Red
    End Sub
 
Last edited:
help said:
The FillColor property has no effect when the FillStyle is set to Transparent.
FillStyle is set to Transparent by default.
 
Back
Top