497a6f50a77caba723597268a6912051fef0ce06
* 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.
*/
Description
Harbour Core — Reference source for Five development
Languages
C
80.3%
xBase
17.8%
Makefile
0.6%
C++
0.4%
Harbour
0.4%
Other
0.3%