| |

VerySource

 Forgot password?
 Register
Search
View: 725|Reply: 1

About menuitem

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-30 09:00:01
| Show all posts |Read mode
Form with drop-down menu
As file edit
---------------------------
     Open copy
     Exit delete
I need to set user permissions, ie the visibility of the menu, permissions can be changed at any time
I store the characters "open" and "exit" in the database, or the menuitem names corresponding to these characters. How can I find the menuitem position of the players in the program based on these contents, and the drop-down box has a findcontrolbyvalue method. Is there a similar way for meunuitem?
Reply

Use magic Report

0

Threads

8

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-6 19:15:01
| Show all posts
Redefine the menuitem cell based on permissions. I don't think it is necessary to go directly to a method like findcontrolbyvalue.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list