CLOSE
PowerBuilder Tips

方法

グリッドデータウィンドウのグリッド線の色を変更するには、PowerScript から Grid の Color プロパティに色の値を指定します。
以下は、データウィンドウコントロールの constructor イベント内にグリッド線に黒を指定するスクリプトを記述しています。

this.Object.DataWindow.Grid.Color = rgb( 0,  0,  0)  // グリッドの線を黒くする

なお PowerBuilder 2022 R3 Build 3418J で指定できるグリッド線の色は、integer 型で指定できる範囲に制限されるため注意してください。 

Tips情報

プロダクト :PowerBuilder

バージョン :2022R3

x instagram facebook youtube

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny