Pritpal Bedi 8a2bf3993c 2010-02-08 17:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp.ch
  * contrib/hbxbp/xbpparthandler.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Fixed a rare parent/child relation issue in XbpStatusBar()
      and XbpToolBar() classes.
    + Implemented Harbour extension:
        Method :hbLayout( HBPLAYOUT_TYPE_* )
           Currently HBPLAYOUT_TYPE_HORZBOX and
                     HBPLAYOUT_TYPE_VERTBOX are supported.
        This is essentially executed after :create().
        When executed class attemps to all children of 
        it to be laid accordingly, if some are already created.
        Any other Xbp part created with "this" object as parent,
        that is also laid appropriately.
       
        This reduces a lot of code writing.
        Example:
          oStatic := XbpStatic():new():create( oDlg,... )
          oStatic:hbLayout := HBPLAYOUT_TYPE_HORZBOX 
          oBtn  := XbpPushButton():new( oStatic ):create( ... )
          oBtn1 := XbpPushButton():new( oStatic ):create( ... )
          oBtn2 := XbpPushButton():new( oStatic ):create( ... )
             Then, these buttons will be nicely placed inside
             oStatic. No need to go for complex calculations.

  * contrib/hbxbp/tests/demoxbp.prg
    + Applied :hbLayout for :drawingArea and tabPages.
2010-02-09 01:43:47 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%