Skip to content

Ok - cUIObject

Used on items and accelerator key definitions to terminate the current level of start_ui or ui_accept

Type: Procedure

Syntax

Procedure Ok

Call Example

Send Ok

Description

It is used on items and accelerator key definitions to terminate the current level of start_ui or ui_accept, returning a integer value of msg_ok.

on_item "OK" send ok
:
integer iRetVal
ui_accept amenu to iRetVal
if (iRetVal = msg_Ok) send process_panel