In Powerbuilder, the hourglass cursor does not persist when the Dart control is busy. How can I keep the hourglass?
Unlike other environments, the interface is automatically disabled when the cursor changes to an hourglass in Powerbuilder. Including the code below will allow the hourglass to persist, but it will not automatically disable the interface. To produce the usual hourglass behavior, the interface must be explicitely disabled and enabled by the user. //In the external global function declarations FUNCTION ulong SetCapture(ulong a) LIBRARY “user32.dll” FUNCTION boolean ReleaseCapture() LIBRARY “user32.dll” //In the script ulong ll_handle, ll_rc ll_handle = Handle(this) ll_rc = SetCapture(ll_handle) SetPointer(hourglass!