Revision: 11327 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11327&view=rev Author: vouchcac Date: 2009-06-13 21:49:34 +0000 (Sat, 13 Jun 2009)
Log Message: ----------- 2009-06-13 14:28 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbpmenubar.prg * harbour/contrib/hbxbp/xbpwindow.prg * harbour/contrib/hbxbp/tests/demoxbp.prg + Implemented XbpMenuBar() | XbpMenu() classes. + Implemented :setColorFG() | :setColorBG() for all widgets. /* Almost all the features of XbpMenuBar() and XbpMenu() classes are implemented with the exception of following: TODO: XbpMenu*() : beginMenu - callback : endMenu - callback : selectItem() - method : setItem() - method : insItem()[P] - method - Prompts-OK Submenu-NotOK : XBPMENUBAR_MIA_FRAMED - 4th parameter of <aItem> NOTE: I could not find how or with which method Xbase++ is setting a menu item both with 'text' and 'bitmap'. It is done via separate calls. So I have extended the <xCaption> slot of <aItem> property ( whereever applicable ) as: <cIcon>+"|"+cCaption which is parsed and then both objects are inserted together as one option. I do not know if Xbase++ supports text and background colors in the menu's or not but in Harbour you can set them for indivisual menu basis. REQUEST: Please test the code both with Xbase++ and Harbour and report on the list any differeces. I want to set these right from the very begining. NEXT: Working on XbpToolbar() class. */ Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/contrib/hbxbp/tests/demoxbp.prg trunk/harbour/contrib/hbxbp/xbp.ch trunk/harbour/contrib/hbxbp/xbpdialog.prg trunk/harbour/contrib/hbxbp/xbpgeneric.prg trunk/harbour/contrib/hbxbp/xbpmenubar.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 Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour