Xbasic

UI_DLG_REFRESH_TARGETED Function

Syntax

V UI_DLG_REFRESH_TARGETED(C title,C vars,[C ommit[,L asynchronous]])

Arguments

title

The name of the dialog box.

vars

A CR-LF delimited list of controls to refresh.

ommit

Optional. A list of controls not to refresh.

asynchronous

Optional. Default = .T.

Description

Refresh a dialogs controls that match vars - ommit the control def.

Discussion

The UI_DLG_REFRESH_TARGETED() function refreshes a selected list of controls on a Xdialog form.

The following example refreshes only the fn and fb controls on an Xdialog.

dim clst as C
clst = <<%str%
fn
fb
%str%
ui_dlg_refresh_targeted("Confirm Replace", clst)

Limitations

Desktop applications only.

See Also