user1318718
user1318718

Reputation: 21

Design Preview mode is not working with Label type DataWindow

I am new to PowerBuilder.

I am trying to use Design Preview functionality to change attribute of column at run time. It is working fine for free form DataWindow but when I tried to use same feature with Label type DataWindow then only X and Y attribute for column are not updating while moving column.

Sequence >> Select column and make column as movable and then try to move column by drag. It is not updating X and Y position and all other attribute are updating properly.

Can any one tell me why it is not working with Label type DataWindow or what is the other way to do it ?

Thanks in advance...

Upvotes: 2

Views: 1250

Answers (1)

Rich Bianco
Rich Bianco

Reputation: 4174

  1. Open the "Label" datawindow object via the datawindow painter.
  2. Select any column you want to be moveable.
  3. With the column highlighed select the "Position" tab.
  4. Check the "Moveable" checkbox on the Position tab.
  5. Open datawindow object in preview mode.
  6. Move the column (via drag) in the design section (top) OR the preview section (bottom) of the datawindow painter.

You should be able to move the column at runtime as well if the datawindow control is in print preview mode. I verified this works using PB12.5 Classic. HTH

Upvotes: 1

Related Questions