[Gambas-user] Another possible bug with GridView
M. Cs.
mohareve at ...626...
Tue Dec 18 16:23:55 CET 2012
I've discovered that there cannot be mixed usage of bold and non-bold fonts
in the same column of a gridView at the same time. Is this correct? I mean
like:
text1
*text2*
*text3*
text4
Can this be enabled somehow?
Thanks!
Csaba
2012/12/18 M. Cs. <mohareve at ...626...>
> Public Sub filer_Data(i As Integer, j As Integer)
> Dim szin As String
> Select Case j
> Case 0
> filer.Data.Text = content[i]
> Case 1
> filer.Data.Text = preview[i]
> If scheck.Value = True Then
> szin = SecurityCheck(preview[i], i)
> If szin = "green" Then filer.Data.Background = Color.White
> If szin = "yellow" Then filer.Data.Background = Color.Yellow
> If szin = "red" Then filer.Data.Background = Color.Red
> Endif
> If bolder = True Then
> filer.Data.Font.Bold = True
> Else
> filer.Data.Font.Bold = False
> Endif
> End Select
> End
>
> This is the Data event which fixes the issues as you told me. Yet there is
> another problem. As you see, I've tried to set the cell's Font property to
> bold (if this is a directory and not a file, just to understand the reason
> why). Bolder is a global boolean which is set in another sub. Why do I have
> only normal font thickness with both bolder values?
>
> Csaba
>
More information about the User
mailing list