User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_viewerwnd.busyprepare_itbaseobject_widestring

Table of Contents

ITGIS_ViewerWnd.BusyPrepare method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWnd.BusyPrepare | Methods | Properties

Prepare BusyEvent for long-term operation.

Available also on: Delphi FMX | .NET WinForms | Java.

Syntax

// C#
public void BusyPrepare(
  ITBaseObject _sender,
  WideString _text
);
' VisualBasic
Public Sub BusyPrepare(
  ByVal _sender As ITBaseObject,
  ByVal _text As WideString
)
// Oxygene
public
  procedure BusyPrepare(
    _sender : ITBaseObject;
    _text : WideString
  );

Parameters

Name Type Description
_sender ITBaseObject component which is causing long-term operations
_text WideString text to appear in a BusyText property; predefined GIS_BUSY_NOEVENTS and GIS_BUSY_NOHOURGLASS could be used to define "silent" busy state; in such state BusyEvent will not be called and, in a case of GIS_BUSY_NOHOURGLASS, hourglass will not be displayed and check for interrupt as well.

Remarks

Do not use during OnPaint event directly. Must be paired with BusyRelease. The actual state can be obtained from IsBusy property.

2020/05/22 01:05

Page Tools