NativeUIError$ ( )

Parameters

None.

Description

Returns why the last LoadNativeUI or ShowNativeUI failed, or "" if it succeeded.

LoadNativeUI and ShowNativeUI clear it before they start, so read it straight after a failure:

ui=LoadNativeUI("workbench.ui")
If ui=0 Then RuntimeError NativeUIError()

The other form commands report mistakes, such as an invalid handle, with a runtime error instead.

For the full story, see the Native UI documents guide and its complete NativeUI.bb sample.


See also: LoadNativeUI, ShowNativeUI, FindNativeGadget.

Index