Enrico,
If I properly understand you, what you want should get solved this way:
[\{| [<oMenuItem>] | <uAction>\}],;
If with this change is working right, then we modify FiveWin.ch and problem solved
Antonio Linares wrote:Enrico,
If I properly understand you, what you want should get solved this way:
[\{| [<oMenuItem>] | <uAction>\}],;
If with this change is working right, then we modify FiveWin.ch and problem solved
Antonio Linares wrote:But it is not a proper solution, because that oMenuItem is not this one:
#xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>]
because it could be used from the codeblock, but not defined there.
In other words, the codeblock parameter oMenuItem should only exist if it is used from the codeblock inside code. As far as I know the Harbour preprocessor (neither Clipper's one) provides support for that.
Antonio Linares wrote:Enrico,
Clipper did not support that, as far as I know, neither Harbour (or xharbour). If the warning that you get comes from the codeblock (have you checked this ?) then I don't see a solution.
Antonio Linares wrote:OMG, just to report a bug...
Enrico Maria Giordano wrote:Cristobal,cnavarro wrote:Enrico, look the .ppo
- Code: Select all Expand view RUN
oMen := MenuBegin( .F.,,, .F., .F. )
MenuAddItem( "Test",, .F.,, {|oMenuItem|MSGINFO( "OK" )},,,,,,, .F.,,, .F. )
MenuEnd()
If you are suggesting to change tons of lines of code, well, it's not an option.
EMG
# Troubleshooting
Evaluate these points before reporting an issue:
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 56 guests