Advancing the Cursor

The sort object is a non-visual class user object that allows users to perform complex sorts without opening another window. Sort ascending or descending. Left mouse click to sort ascending, right mouse click to sort descending. Hold down the shift-key to perform a complex sort, i.e., Left-click department then hold down the shift key and left-click last name. The sort object works by using PowerBuilder's default naming convention for column headers. If the column is named "department" then the header needs to be named "department_t".

To use this object you need to write a lot of code! Yes? No... In the constructor event of the DataWindow add one line of code.

//Constructor Event
uf_Create( "Sort" )

This service can easily be extended into the Powersoft Foundation Class (PFC).

Contact Us


PowerObjects Logo

718 Washington Ave. N.
Suite 202
Minneapolis, MN 55401
612.339.3355
1.866.770.3355
info@powerobjects.com