Hello,
I am currently modifying a form with an msflexgrid. The form works as is, however it doesn't like my changes.
Previously, the formatstring and number of columns didn't exist in code, only in the properties section in the IDE.
The formatstring with three columns is what the grid originally had. I am adding a new column and changing the spacing of 'Name' so it will all fit.
The flex grid has just enough space at the end of name to accomodate the verticle scroll bar. When I add a fourth column, the grid treats it the exact same as the previous formatstring except it doesn't adjust the column width. In the empty space where the scroll bar goes, it adds 'GL'.
If I add a horizontal scroll bar, I can see the entire column but this isn't what I want. There is no code to set the form width and I haven't encountered this issue with other grids in the past.
What may I be overlooking?
Thanks.
If at first you don't succeed, then sky diving wasn't meant for you!
I am currently modifying a form with an msflexgrid. The form works as is, however it doesn't like my changes.
Code:
msfgOptions.Clear
If m_bolChargeType Then
msfgOptions.FormatString =
"^Active |<Code |<Name |<GL Account "
msfgOptions.Cols = 4
Else
msfgOptions.FormatString = "^Active |<Code |<Name "
msfgOptions.Cols = 3
End If
Previously, the formatstring and number of columns didn't exist in code, only in the properties section in the IDE.
The formatstring with three columns is what the grid originally had. I am adding a new column and changing the spacing of 'Name' so it will all fit.
The flex grid has just enough space at the end of name to accomodate the verticle scroll bar. When I add a fourth column, the grid treats it the exact same as the previous formatstring except it doesn't adjust the column width. In the empty space where the scroll bar goes, it adds 'GL'.
If I add a horizontal scroll bar, I can see the entire column but this isn't what I want. There is no code to set the form width and I haven't encountered this issue with other grids in the past.
What may I be overlooking?
Thanks.
If at first you don't succeed, then sky diving wasn't meant for you!