Top > GetPt

GetPt       User Interactive Edit

Declaration:
 PROCEDURE GetPt ( VAR pX :REAL;
            VAR pY :REAL
           ) ;

Description:

Procedure GetPt switches the cursor to selection mode and allows the 
user to select a point in a Vectorworks document. 
This cannot be used if there is a function anywhere in the calling chain.

説明

マウスがクリックされるまで待機し、クリックされた点の座標を返します。

Parameters:

pReturns coordinates of mouse click.座標

Example:

       PROCEDURE Example;
       VAR
       	pt :POINT;
       BEGIN
       	GetPt(pt.x, pt.y);
       	Message(pt);
       END;
       RUN(Example);

リロード   新規 下位ページ作成 編集 凍結 差分 添付 コピー 名前変更   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
Last-modified: Wed, 07 Dec 2011 19:59:32 JST (4526d)