I'm testing PB 2019 R2 #2203 vs. PB 2017 R3 #1880.
I create methods on application object and see below similarity + difference
Test Cases
- Create a function
- Open app object
- Create function with return statement
- Save app object
- Create an event
- Open app object
- Create event with return statement
- Save app object
// Test Case #1
public function integer of_test ();
return 0
// Test Case #2
event type integer ue_test();
return 0
Observations
PB Version | Create Function | Create Event |
PB 2017 R3 #1880 | Success | Success |
PB 2019 R2 #2203 | Success | Failure |
The failure is that
- The user event disappears from the app object's event list when I save the app object.
- When I reopen app object in app painter I cannot find the event anywhere.
- When I reopen app object in Edit Source I see the event located at end of source code (misplaced compared to PB 2017 R3)
- Also in Edit Source I see no event header in the GLOBAL TYPE definition at top of script (missing compared to PB 2017 R3).
Can anyone repro this behavior?
Perhaps in an build of PB 2019 GA?
Thx /Michael
This is just one of those many small though important improvements to "core PowerBuilder".
THX!