Revision: 13824
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13824&view=rev
Author: vouchcac
Date: 2010-02-09 01:43:47 +0000 (Tue, 09 Feb 2010)
Log Message:
-----------
2010-02-08 17:16 UTC-0800 Pritpal Bedi ([email protected])
* 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.
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbxbp/tests/demoxbp.prg
trunk/harbour/contrib/hbxbp/xbp.ch
trunk/harbour/contrib/hbxbp/xbpparthandler.prg
trunk/harbour/contrib/hbxbp/xbpstatusbar.prg
trunk/harbour/contrib/hbxbp/xbptoolbar.prg
trunk/harbour/contrib/hbxbp/xbpwindow.prg
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour