I am not sure what you mean. When a menu wraps it reduces the size of the drawingArea, but that's what it always did.A cosmetic thing still seems to be in there (#1281 in your README).
Can you take a snapshot?
I am not sure what you mean. When a menu wraps it reduces the size of the drawingArea, but that's what it always did.A cosmetic thing still seems to be in there (#1281 in your README).
I am confused. Why is the menu supposed to wrap? That should happen only when the dialog width is decreased to less than the menu width.The menu does not wrap (see picture). If I reduce the number of menu entries by one, the space is correct.
Code: Select all
#INCLUDE "dcdialog.ch"
FUNCTION Main()
LOCAL GetList[0], GetOptions, aMenu[12], oMenuBar, i
DCMENUBAR oMenuBar
FOR i := 1 TO Len(aMenu)
DCSUBMENU aMenu[i] PARENT oMenuBar PROMPT 'Menu ' + Alltrim(Str(i))
NEXT
@ 0,0 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX ;
SIZE 1000,500 PIXEL
DCGETOPTIONS WINDOWWIDTH 1000
DCREAD GUI FIT TITLE 'Menu Test with Fit' OPTIONS GetOptions
RETURN nil
* ---------
PROC appsys ; return
Oops. I just now saw your posting. Too late. I wrote a test program. See previous posting.I wrote a test program four years ago, when we first discussed this issue
If not - you pay all my beers at the eXpress-DevCon.I'll bet you will have less fatal errors.