WHEN option in REDEFINE MENUITEM

WHEN option in REDEFINE MENUITEM

Postby GWard » Tue Oct 25, 2005 10:17 am

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
 
Posts: 31
Joined: Thu Oct 13, 2005 10:18 am
Location: UK

Postby Antonio Linares » Tue Oct 25, 2005 6:10 pm

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby GWard » Wed Oct 26, 2005 9:09 am

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


Antonio,

This is not my area of expertise but does the below have any relevance.

http://tinyurl.com/buno9
GWard
 
Posts: 31
Joined: Thu Oct 13, 2005 10:18 am
Location: UK

Postby Antonio Linares » Wed Oct 26, 2005 4:57 pm

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 :D

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,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby GWard » Wed Oct 26, 2005 9:52 pm

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 :D



Antonio,

Downloading new version now.

Many thanks indeed
GWard
 
Posts: 31
Joined: Thu Oct 13, 2005 10:18 am
Location: UK


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 3 guests