Problem: Getting error "An error occurred when setting the property named 'DesktopForm' of the object named <> of type 'Script'."
When running a script.
Versions: P7 and later
Description:
In Paradox 5, you couldn't use popupmenus in a script unless you defined the script as a DesktopForm.
var
pop PopUpMenu
endVar
self'DesktopForm = True
pop.addText("Hello")
pop.addText("Goodbye")
view(pop.show())
Solution:
In Paradox 7 you can use popupmenus in a script, but you have to remove the line self'DesktopForm in the script. It will cause an errormessage on
execution. "An error occurred when setting the property named 'DesktopForm' of the object named <> of type 'Script'." Followed by "Cannot
access property."