- Bjarne Eian
- PowerBuilder
- 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.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.