I am building an ActiveX Control that contains an unbound MS FlexGrid.
Problem 1: I am unable to make the flexgrid's scroll bars visible when the control is compiled into an OCX. I tried creating a PropertyLet, PropertyGet exposing the flexgrids ScrollBar Property, but this does not help. I can manually add scrollbars, but I cannot understand why I should have to.
Problem 2: The same FlexGrid control has 15 columns whose ColWidth Properties are set depending on which Columns are selected to be shown; ie :
If CheckColVisible.Value = VbChecked then
FlexGrid1.ColWidth(ColNum)=intDefaultColWidth(ColNum) ELSE
FlexGrid1.ColWidth(ColNum)=0.
end if
This works fine for every column except the last visible column. If the last visible Column is not Col(14) then there is about 60 pixels (Roughly half a character) of garbage attached to the last visible column. (The most common use of this ActiveX only displays the first four columns, with other columns being data needed for sorting, filtering and programatic data).
Any Thoughts would be helpful.
Hunter
Problem 1: I am unable to make the flexgrid's scroll bars visible when the control is compiled into an OCX. I tried creating a PropertyLet, PropertyGet exposing the flexgrids ScrollBar Property, but this does not help. I can manually add scrollbars, but I cannot understand why I should have to.
Problem 2: The same FlexGrid control has 15 columns whose ColWidth Properties are set depending on which Columns are selected to be shown; ie :
If CheckColVisible.Value = VbChecked then
FlexGrid1.ColWidth(ColNum)=intDefaultColWidth(ColNum) ELSE
FlexGrid1.ColWidth(ColNum)=0.
end if
This works fine for every column except the last visible column. If the last visible Column is not Col(14) then there is about 60 pixels (Roughly half a character) of garbage attached to the last visible column. (The most common use of this ActiveX only displays the first four columns, with other columns being data needed for sorting, filtering and programatic data).
Any Thoughts would be helpful.
Hunter