viewpoint-particle

Author Topic: ReportView Question  (Read 3328 times)

seckner

  • Jr. Member
  • **
  • Posts: 68
ReportView Question
« on: October 02, 2013, 04:30:57 pm »
We've created a monster! So, now that I can get my Edit Boxes to fill in so.. lets see if we can put it into a grid. Got that and it looks OK EXCEPT, I just can't seem to understand how to size the columns. I want all of them to be the size of the data in the column so I called DialogControlSet(MyDialog_Handle,"ReportView_1",DC_RVCOLWIDTH,"-1" ) and, not. The first column is, second and rest of the column's are at the width of the header, not the data. Help?

JTaylor

  • Pundit
  • *****
  • Posts: 1046
    • Data & Stuff Inc.
Re: ReportView Question
« Reply #1 on: October 02, 2013, 09:27:23 pm »
You need to provide a space delimited list with a value for each column.

Jim


(s) Specify a new width in dialog units for each REPORTVIEW column as a space delimited in the function's set-info (fourth) parameter. Column widths can be set to -1 to cause a column's width to fit the column contents. -2 can be used to set a column's width to match the column's header text. Setting the farthest right column to -2 causes that column to fill the remaining width of the control.



JTaylor

  • Pundit
  • *****
  • Posts: 1046
    • Data & Stuff Inc.
Re: ReportView Question
« Reply #2 on: October 02, 2013, 09:28:43 pm »
Deana, just noticed...looks like that documentation needs another word or two.

jim

seckner

  • Jr. Member
  • **
  • Posts: 68
Re: ReportView Question
« Reply #3 on: October 03, 2013, 07:27:49 am »
Thank you Jim - worked like a charm!

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: ReportView Question
« Reply #4 on: October 03, 2013, 09:37:34 am »
Deana, just noticed...looks like that documentation needs another word or two.

jim

Thanks for the heads up. Will be addressed in the next release.
Deana F.
Technical Support
Wilson WindowWare Inc.