|目次前ページ次ページ|
───────────────────────────────────
◆ シェイプ[new](図形データ)作成シーケンス(TShape)  
※(TShape)オブジェクトはフォーム上に描画される幾何学図形を表します 
 ※発生イベント(応答するイベントを参照) 
※作成の為のオプション情報    
 [1]control -> (72) 
 [2]command -> (1)オブジェクト新規作成 
 [4]edit  -> 使用していない [編集領域番号の内容] 
 [5]rect   -> [編集領域番号の内容] 
 $ [2]x $ [3]y $ [4]w $ [5]h $ [6](length) $ [7]color  
 $ [8]font $ [9](selno) $ [10]focus $ [11] 
 $ [12]keycode $ [13]parentcolor $ [14]FontColor 
----------------%%%[05-apr-2003]%%%------------------------- 
 $ [15]zorder $ [16]TabOrder $ [17]TabStop $ [18]FocusControl 
----------------%%%[13-feb-2004]%%%------------------------- 
 $ [19]Align $ 
------------------------------------------------------------ 
 [10]opt  -> 図形の種類(Shape) 
          1:円(stCircle) 
          2:楕円(stEllipse) 
          3:長方形(stRectangle) 
          4:角が丸まった長方形(stRoundRect) 
          5:角が丸まった正方形(stRoundSquare) 
          6:正方形(stSquare) 
 [11]pm1  -> ペンのcid 
 [12]pm2  -> ブラシのcid 
───────────────────────────────────
◆ 応答するイベント 
----------------------------------------------------- 
mask0= 4 : (2)マウス右クリック(ポップアップ)イベント応答(ビット2) 
---------------------------------------------------- 
mask2= 1 : (16)マウス左押す応答可(ビット0)[Roptionを返す] 
mask2= 2 : (17)マウス左離す応答可(ビット1)[Roptionを返す]  
---------------------------------------------------- 
新イベントコード[Revent2]= 上記()の中の数値 
選択個数等[Rselcnt] = 0 
主結果文字列[Rmain] = null 
オプション情報[Roption] = ピクセルX ; ピクセルY ; テキストX ; テキストY 
───────────────────────────────────
◆ 共通 
  (%3) : 表示/非表示 
  (%4) : 廃棄 
  (%5) : 操作可/不可 
  (%7) : サイズ変更 
  (%8) : 表示位置変更 
  (%15) : ヒント文字列の設定 
  (%18) : 前面/背面 
  (%471) : 親コントロール内での揃えかた 
───────────────────────────────────
◆ 描画を更新(Refresh()) 
 <esc>%control;90;[3]id;;;;;;;;; sp M 
※ 描画を更新を終了します 
───────────────────────────────────
◆ 図形の種類(Shape) 
 <esc>%control;400;[3]id;;;[6]shape;;;;;; sp M 
[6]shape --> 図形の種類 
          1:円(stCircle) 
          2:楕円(stEllipse) 
          3:長方形(stRectangle) 
          4:角が丸まった長方形(stRoundRect) 
          5:角が丸まった正方形(stRoundSquare) 
          6:正方形(stSquare) 
───────────────────────────────────
◆ ペンを変更する(Pen) 
 <esc>%control;401;[3]id;;;[6]pen;;;;;; sp M 
[6]pen --> ペンのcid 
───────────────────────────────────
◆ ブラシを変更する(Brush) 
 <esc>%control;402;[3]id;;;[6]brush;;;;;; sp M 
[6]brush --> ブラシのcid 
───────────────────────────────────
               57-1
     |目次前ページ次ページ