Home > Software engineering >  Did not find a way or data source, how to do?
Did not find a way or data source, how to do?

Time:10-29


Private Sub Form_Load ()
With myflexgrid 'initialize flexgrid controls the row headings
. CellAlignment=4 'flexAlignCenter
TextMatrix (1, 0)="student id"
TextMatrix (1, 1)="name"
TextMatrix (1, 2)="gender", "
TextMatrix (1, 3)="date of birth"
TextMatrix (1, 4)="class,"
TextMatrix (1, 5)="contact"
TextMatrix (1, 6)="enrolled date
"TextMatrix (1, 7)="home address"
End With
End Sub
Execution is always appeared in the process: "CellAlignment=" method was not found or data source, how to do?

CodePudding user response:

Commented out ". CellAlignment=4 'flexAlignCenter "the role of this line, the line should be centered control cell, comment out it will not affect the normal operation of the program

CodePudding user response:

That didn't this property, then the other commented, anyway, will not affect the overall situation.
  • Related