You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MenuBar is listed as having both Form and SubForm as parents in the documentation. It works inside a SubForm when EWC is run in Browser mode, but not in Desktop mode. It does work in Browser mode for EWC, and both of these render very similarly:
Note that the first example above works in ⎕WC when the menu is on the form, but silently fails without error when the menu is on the subform:
'F'⎕WC'Form'
'F.SF'⎕WC'SubForm'
'F.SF.MB'⎕WC'MenuBar'
'F.SF.MB.X'⎕WC'Menu' 'A menu'
'F.SF.MB.X.A'⎕WC'MenuItem' 'aaa'
The ⎕WC docs say that both Form and SubForm may be parents to MenuBar, but given that we do not currently have example applications using this and that it seems a basic example doesn't succeed in ⎕WC, I think we should improve the error case for adding a menubar to a subform.
Non-urgent, as I haven't seen this used in any potential production code.
The text was updated successfully, but these errors were encountered:
MenuBar is listed as having both Form and SubForm as parents in the documentation. It works inside a SubForm when EWC is run in Browser mode, but not in Desktop mode. It does work in Browser mode for EWC, and both of these render very similarly:
Trying with
EWC.Init'Desktop'
and a subform, the expression'F.SF.MB'eWC'MenuBar'
from above fails:Note that the first example above works in ⎕WC when the menu is on the form, but silently fails without error when the menu is on the subform:
The ⎕WC docs say that both Form and SubForm may be parents to MenuBar, but given that we do not currently have example applications using this and that it seems a basic example doesn't succeed in ⎕WC, I think we should improve the error case for adding a menubar to a subform.
Non-urgent, as I haven't seen this used in any potential production code.
The text was updated successfully, but these errors were encountered: