Hello,
I have an application that prints output for later analysis. Some of the column titles require greek characters. In searching on the internet, I have found that MSHflexgrid is the only flexgrid control that can display unicode correctly. I implemented an MSHflexgrid in my application, and it worked for some time, but now it displays "." instead of display unicode.
Is there a better flexgrid control that can display unicode correctly?
Also, I noticed that MSHflexgrid requires the microsoft forms 2.0 library, which inherently means my user base would need MSoffice to have access to this library and its controls. Is there a control similar to MSHflexgrid that does not require a non-redistributable .dll?
VB6 has its own Flexgrid. MSFLEXGRID, which doesn't require OFFICE.
You can use the WingDings Font. This shows a checkbox that checks and
clears
Code:
Private Sub Form_Load()
With MSFlexGrid1
.ColWidth(0) = 400
.RowHeightMin = 300
.Rows = 10
.Cols = 3
.Row = 1
.Col = 0
.RowSel = .Rows - 1
.FillStyle = flexFillRepeat
.CellFontName = "Wingdings"
.CellFontSize = 12
.CellAlignment = flexAlignCenterCenter
.Text = "q"
.FillStyle = flexFillSingle
.Row = 1
.Col = 1
End With
End Sub
Private Sub MSFlexGrid1_Click()
With MSFlexGrid1
If .MouseCol = 0 Then
If .TextMatrix(.Row, 0) = "q" Then
.TextMatrix(.Row, 0) = "รพ"
Else
.TextMatrix(.Row, 0) = "q"
End If
End If
End With
End Sub
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.