- Koen de Vos
- PowerBuilder
- Wednesday, 3 January 2018 10:00 AM UTC
We are migrating from PowerBuilder 12.5 (4953) to PowerBuilder 2017 (1681)
In PowerBuilder 2017 when i Post to an event which has a reference Long array as argument it is no longer an array when it arrives in the event. If i call the event without a post it works fine. In PowerBuilder 12.5 this worked fine with a Post.
See the code below, the upperbound returns -1 because al_rowarray is not an array:
event clicked;LONG ll_selectedrows[]
io_paneDwControl.Event Post PopUp("sendEmail", ll_selectedrows)
end event
event popup(string as_message, ref long al_rowarray[]);
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.