PBDR.COM

About   -   Contact   -   Purchase   -   Search   -   What's New

 
 
Other Forms of Row Highlighting
This tip was sent in by Alexander Shender.

This is feature that become possible in PowerBuilder 5.0 and works best with Datawindows that have gray background.

When creating your next Datawindow place the following code in Column, Properties, Expression tab, Border attribute: IF( GetRow( ) = CurrentRow( ), 1, 0 )

This way when the row becomes a current row in will change its border to lowered. If transparent background is used and text in left most column is aligned left. Put this code in the border property of that column. Stretch this column to overlap the entire row. By doing this your 3D highlight will cover the entire row.

You can change the background color using the same technique.

 

Top of Page

Legal Notice

Ken Howe 2011