User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_viewerwnd.busyprepare_tobject_string

Table of Contents

TGIS_ViewerWnd.BusyPrepare method

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ViewerWnd.BusyPrepare | Constructors | Fields | Methods | Properties | Events

Prepare BusyEvent for long-term operation.

Available also on: Delphi FMX | Java | ActiveX | Python.

Syntax

Implements IGIS_Viewer.BusyPrepare.

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

Parameters

Name Type Description
_sender TObject component which is causing long-term operations
_text string
String
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.

2022/11/16 01:38

Page Tools