I need to enable/disable various MENUITEMs dependant on the data situation at the time of display.
I note that as yet the WHEN statement is apparently not implemented in FWPPC.
Will this ability be added and if so when.
I need to enable/disable various MENUITEMs dependant on the data situation at the time of display.
I note that as yet the WHEN statement is apparently not implemented in FWPPC.
Will this ability be added and if so when.
GWard,
We are testing standard API EnableMenuItem() function but it looks as it does not work on Pocket PC. We need to find a function that may do the same work
Antonio Linares wrote:GWard,
We are testing standard API EnableMenuItem() function but it looks as it does not work on Pocket PC. We need to find a function that may do the same work
GWard,
Thanks for your help, but we finally found at Microsoft forums some info that helped us to implement the WHEN clause for MenuItems. It is working ok
You may already download a new FWPPC build that implements it. Please check samples\tutor03.prg for a working sample. On the sample we just use .f. to disable, but remember you may call any expression or function to evaluate the WHEN state.
We appreciate your feedback,
Antonio Linares wrote:GWard,
Thanks for your help, but we finally found at Microsoft forums some info that helped us to implement the WHEN clause for MenuItems. It is working ok![]()