-1

I have tabular DataWindow in my window:

opt_IMG_20130620_092903.jpg

Then i have code that doing it: opt_IMG_20130620_092932.jpg (qwe is the middle column. asd is the right column)

The problem is I don't know how fix the blank area: opt_IMG_20130620_092919.jpg

Thanks!

Seki
  • 11,135
  • 7
  • 46
  • 70
gilhanan
  • 335
  • 1
  • 6
  • 16

2 Answers2

1

i like your screenshoots, they look like real :) So I think your problem is that there are INVISIBLE columns on your datawindow. Thats why the width is larger than you expected. You can do two things:

  • remove the invisible controls from your datawindow (just delete it. you do not need to delete these fields from the select)
  • set the width to 0 for the invisible columns

I hope this helps!

Regards Gábor

Ps.: I forget to say that you need to set the LABEL and COLUMNS width also to 0 (or delet BOTH of that)

DARKinVADER
  • 640
  • 3
  • 11
0

Oke i found solution. PowerBuilder calculate the the biggest sum of X+Width (when its expression, default value consider) from all columns (Include invisible). The calculation performed after Create method of UO DataWindow.

Amazing :)

gilhanan
  • 335
  • 1
  • 6
  • 16