[Gambas-user] How-to-use-GridView1-0-0-Border
Gianluigi
bagonergi at ...626...
Fri Nov 25 21:14:51 CET 2016
Now work :-)
Public Sub Form_Open()
Dim b As Border
GridView1.Columns.Count = 3
GridView1.Rows.Count = 3
b = New Border("color:blue;top-style:dotted")
GridView1[0, 2].Border = b
End
Regards
Gianluigi
2016-11-25 20:56 GMT+01:00 Gianluigi <bagonergi at ...626...>:
> (Your question:
> For example:
> GridView1[0, 0].Border.Color = Color.Red
> gives an error: Null object)
>
> Hello Vuott,
> (continually struggling with spam) :-(
>
> I think it is something like this, but it does not work.
>
> Sorry :-(
> Gianluigi
>
> '-----------------------------------------------
> Public Sub Form_Open()
>
> Dim b As Border
>
> GridView1.Columns.Count = 3
> GridView1.Rows.Count = 3
> b = New Border("Style=\"border-color:red;\"")
> GridView1[0, 2].Border = b
>
> End
> '------------------------------------------------
>
More information about the User
mailing list