-
Jim Reese
- PowerBuilder
- Tuesday, 9 June 2026 05:42 PM UTC
I'll be submitting a bug for 1, and the other is in the latest open source PFC, just thought I'd give a heads up here. I don't think either are specific to 2025R2, just that I found them during our migration.
1. Coding a timer(interval) method in the postopen event of a response window (maybe other types as well, didn't test) doesn't activate the timer event unless you add the optional 2nd parameter to indicate the windowname in which you want the timer event to be triggered. I just changed the code to timer(interval,this) and it solved the issue. This isn't new to 2025R2, I tested 2022R3 and saw the same issue. I also tested this in both a PFC and a non-PFC window, so it isn't PFC related. I'll submit a bug for this. The same timer(interval) code in the open event works fine, only becomes an issue when moved to an event posted from the open event.
2. In the pfc_w_message window, in of_paintinitialwindow, if the messagebox is displaying 3 buttons such as yes/no/cancel, There is a set of parenthesis missing, making the first button almost invisible behind the 2nd button.
This:
cb_1.x = li_widthmidpoint - (cb_1.Width +20) + (cb_1.width/2)
Should be this:
cb_1.x = li_widthmidpoint - ((cb_1.Width +20) + (cb_1.width/2)) //this is what it was in earlier versions
or alternatively this:
cb_1.x = li_widthmidpoint - (cb_1.Width +20) - (cb_1.width/2)
I've had difficulty logging into github, so hopefully someone who has been maintaining the PFC there could make this correction.
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.