Discussion Locked

Selected Rows are Invisible in DataWindo

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am using a DataWindow for a report and use the Preview mode of DW for a print preview. The problem is that when the preview is on the selected Row becomes invisible. Please forward your suggestions, The code is as follows:
if not ibPrintPreview then
dw_1.Modify("datawindow.print.preview=Yes")
dw_sort2.Modify("datawindow.print.preview=Yes")
cb_zoom.enabled = True
em_1.enabled = True
triggerevent(em_1,clicked!)
this.text = "&Print Preview Off"
ibPrintPreview = True
else
dw_1.Modify("datawindow.print.preview=No")
dw_sort2.Modify("datawindow.print.preview=No")
this.text = "&Print Preview On"
cb_zoom.enabled = False
em_1.enabled = False
ibPrintPreview = False
end if

1 reply

by suwatniabloy

There is no error in your script. I cannot see what is the problem because I dont know what is inside of dw_1 and dw_sort2. I dont what do you mean by "... the selected row becomes invisible". Please explain in details. Maybe I can help. And one thing, what is the version of your powerbuilder?

This discussion is closed to new replies.