J
JFB
Hi Folks,
I'm trhying to incorporate a comboBox and Calendar inside of a MsFlexGrid.
Does anyone know how to do it or have a link to share with me?
Also How can I make the flexgrid ready for write any text?
Tks in advance
JFB
Inherits System.Windows.Forms.Form
Public RowCounter As Integer
Private Sub OrderForm_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
RowCounter = 1
With OrderFlexGrid 'FlexGrid control
..Clear()
..AllowUserResizing = MSFlexGridLib.AllowUserResizeSettings.flexResizeNone
..Rows = 6000 : .Cols = 4 : .Width = 420
..set_ColWidth(0, 300)
..set_ColWidth(1, 2000)
..set_ColWidth(2, 2000)
..set_ColWidth(3, 2000)
'Titles
..set_TextMatrix(0, 1, "CUSTOMER")
..set_TextMatrix(0, 2, "DATE")
..set_TextMatrix(0, 3, "USER")
..Focus()
End With
End Sub
Private Sub OrderFlexGrid_Enter(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles OrderFlexGrid.Enter
With OrderFlexGrid 'FlexGrid control
..set_TextMatrix(RowCounter, 0, RowCounter)
..set_TextMatrix(RowCounter, 1, "sample")
..set_TextMatrix(RowCounter, 2, Now)
..set_TextMatrix(RowCounter, 3, "xtUser.Text")
RowCounter = RowCounter + 1
End With
End Sub
End Class
I'm trhying to incorporate a comboBox and Calendar inside of a MsFlexGrid.
Does anyone know how to do it or have a link to share with me?
Also How can I make the flexgrid ready for write any text?
Tks in advance
JFB
Inherits System.Windows.Forms.Form
Public RowCounter As Integer
Private Sub OrderForm_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
RowCounter = 1
With OrderFlexGrid 'FlexGrid control
..Clear()
..AllowUserResizing = MSFlexGridLib.AllowUserResizeSettings.flexResizeNone
..Rows = 6000 : .Cols = 4 : .Width = 420
..set_ColWidth(0, 300)
..set_ColWidth(1, 2000)
..set_ColWidth(2, 2000)
..set_ColWidth(3, 2000)
'Titles
..set_TextMatrix(0, 1, "CUSTOMER")
..set_TextMatrix(0, 2, "DATE")
..set_TextMatrix(0, 3, "USER")
..Focus()
End With
End Sub
Private Sub OrderFlexGrid_Enter(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles OrderFlexGrid.Enter
With OrderFlexGrid 'FlexGrid control
..set_TextMatrix(RowCounter, 0, RowCounter)
..set_TextMatrix(RowCounter, 1, "sample")
..set_TextMatrix(RowCounter, 2, Now)
..set_TextMatrix(RowCounter, 3, "xtUser.Text")
RowCounter = RowCounter + 1
End With
End Sub
End Class