User Tools

Site Tools


api:dk11:net:tatukgis.ndk.wpf.tgis_viewerwnd.busyshake_tobject_int64_int64_boolean

Table of Contents

TGIS_ViewerWnd.BusyShake method

Syntax

// C#
public void BusyShake(
  TObject _sender,
  long _pos,
  long _end,
  ref bool _abort
);
' VisualBasic
Public Sub BusyShake(
  ByVal _sender As TObject,
  ByVal _pos As Long,
  ByVal _end As Long,
  ByRef _abort As Boolean
)
// Oxygene
public
  procedure BusyShake(
    _sender : TObject;
    _pos : Int64;
    _end : Int64;
    var _abort : Boolean
  );

Parameters

Name Type Description
_sender TObject component which is causing long-term operations
_pos long
Int64
current progress
_end long
Int64
maximal progress value
_abort bool
Boolean
if set to True inside message handler then an abort request.

Remarks

For percent of completion calculation you should provide proper _pos and _end values. If you can not calculate these values - please provide 0.

See BusyPrepare.

2017/09/04 11:30