1. Bjarne Eian
  2. PowerBuilder
  3. Saturday, 6 March 2021 07:03 AM UTC

I had an external datawindow displaying rows of information and a couple of command buttons on each row. The datawindow had no update capacities and all columns had taborder 0.

After some trial and error I discovered that by adding one row at design time to the data object belonging to the external datawindow, the command buttons suddenly got focus rectangles. Even after dw.Reset() and dw.InsertRow(). All buttons was set to “User Defined (0)”

In the clicked event I had to put some code to make it stick to rows:

SetRow(row)
SetRedraw(true)

Thought I should mention it.

I was using PB12.5.



There are no replies made for this question yet.
However, you are not allowed to reply to this question.