|
This class is called in the same way as XbpBrowse but adds the following enhancements:
- ::cAlias ivar holds a reference to the workarea alias the browse is associated with.
The default is the current alias at the time the object is created.
- ::cChild ivar holds a reference to a child-browse object to be refreshed each time
this browse becomes stable.
- ::whileClause ivar holds a code-block to define scoping. The default codeblock returns TRUE.
- ::setup() method is called automatically when the object is created. It creates default codeblocks
for the following XbpBrowse navigation slots:
- ::cursorMode
- ::softTrack
- ::setFontCompoundName()
- ::hScroll
- ::itemSelected
- ::skipBlock
- ::goTopBlock
- ::goBottomBlock
- ::phyPosBlock
- ::posBlock
- ::goPosBlock
- ::lastPosBlock
- ::firstPosBlock
Each ivar can of course be altered after initialising the object. Note that the navigation slots utilise
the ::cAlias ivar - an example:
::goTopBlock := {|| (::cAlias)->(DbGoTop()) }
In short, this class allows a GUI browse to be created and used with mimimal effort (i.e. create the object, add the columns and go...)
|