I have a Text Display Object in a form. In its Procedure Panel it has this code:
global procedureDelete procedureDelete = "SetWindows" call ".Import/export procedures"
The “.Import/export procedures” procedure contains this code:
zoomwindow 23,0,650,500,"nopalette,noscroll,notoolbar" setwindow 23,500,500,430,"nopalette,noscroll,notoolbar" openform "ReadMe" return
When I quit Panorama X, open the form and click on the Text Display Object, I get the error message: “parameter( function: Current procedure was not called as a subroutine.” before anything is executed in the second batch of code. There is no .Initialize procedure. I get the same message when I trigger the code from any other object. If I click on the object a second time, everything works as it should. Inserting a
message statement into the first code displays the correct value for the * procedureDelete* variable.