Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Desktop application オブジェクト - ScreenWidth プロパティ

Panel
bgColor#2c3c4c

画面の幅(ピクセル)

Desktopapplicationオブジェクト (PRIM_APPL) のメンバ

データタイプ - 整数

詳細

ScreenWidthプロパティと ScreenWidthプロパティと ScreenHeight プロパティは、プライマリディスプレイの解像度を返します。

この例は、フォームタイトルバーの画面解像度を示しています。 この例は、フォームタイトルバーの画面解像度を示しています。 

     Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM) Clientheight(172) Clientwidth(364) Height(211) Left(137) Top(198) Width(380)

Evtroutine Handling(#com_owner.CreateInstance)

#Com_owner.Caption := #sys_appln.ScreenWidth.ASstring + " x " + #sys_appln.ScreenHeight.ASstring

Endroutine

End_Com


参照

すべてのコンポーネント クラス
テクニカルリファレンス