March 19th, 2010, 08:31 AM
[RESOLVED] Displaying Unicode in MSHflexgrid
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?
March 19th, 2010, 10:31 AM
Re: Displaying Unicode in MSHflexgrid
VB6 has its own Flexgrid. MSFLEXGRID, which doesn't require OFFICE.
You can use the WingDings Font. This shows a checkbox that checks and
Private Sub Form_Load()
.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
Private Sub MSFlexGrid1_Click()
If .MouseCol = 0 Then
If .TextMatrix(.Row, 0) = "q" Then
.TextMatrix(.Row, 0) = "þ"
.TextMatrix(.Row, 0) = "q"
Tags for this Thread
Click Here to Expand Forum to Full Width