SAP Knowledge Base Article - Preview

2147447 - setRedraw() vertical scroll bar not correct - SAP PB

Symptom

setRedraw function does not draw the correct size of the vertical scroll bar.
When you run the following script, vertical scroll bar of DW displays the incorrect size.

event clicked;
    dw_1.retrieve(1000)
    dw_1.setredraw(false)
    dw_1.setitem( 1, 2,"aaa" )
    dw_1.setredraw(true)
    dw_1.retrieve(115)
end event

For example, the following DataWindow has 115 rows. But vertical scroll bar displays the size of 1000.

wrong_size1.png


Read more...

Environment

  • SAP PowerBuilder 12.5
  • SAP PowerBuilder 12.6

Product

SAP PowerBuilder 12.5 ; SAP PowerBuilder 12.6

Keywords

datawindow, scrollbar, 781708, dw , KBA , BC-SYB-PB , PowerBuilder , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.