Hey everybody,
there are a couple issues about the JBGrid that either I can not get to work or simply don't work.
I don't know!?
Anyway the following does not work:
|
Jabaco Source
|
1
2
3
4
5
|
' JBGrid
Public Sub Form_Load()
grdTest.TextMatrix(0, 0) = "Test"
grdTest.DataMatrix(0, 0).FontBold = True
End Sub
|
also in the JBGrid it is possible to set every cell to a different FontColor, alignment and so on ...
But when a cell is selected the FontColor and other formatting turns to default values.
You can make use of the JLable's ability to display html formatted text to work around these limitations:
|
Jabaco Source
|
1
|
grdTest.DataMatrix(0,0).Parent.setText("<html><b>" & grdTest.TextMatrix(0,0) & "</b></html>")
|
Code needs to be present in the MouseDown() Sub as well !!
Have fun,
Dani