We switched the AppStylist to use the new 2010 window, but one of the windows the File tab/button goes away after clicking it. Other windows are fine.
Note: FileMenuStyle is set to ApplicationMenu (to look like Wordpad or Paint) not ApplicationMenu2010.
The recently accessed transactions is one of the main features.
Do you mean build the list in Load and also in BeforeApplicationMenuDropDown? I don't mind the duplicate code if it will solve the problem.
Joseph,
Is it possible for you to have the code in both events? It looks like you will need to do something in the Form_Load event to ensure that the File button will be there when you open the DropDown menu. Can you add the button without the "recently accessed transaction"?
File is missing even on successive clicks. If you actually wait for a bit, it will eventually display.
I'm not sure if I can move the code to the Load event. The content that I'm building is a list of recently accessed transactions. Access can happen in multiple ways and different places, so BeforeApplicationMenuDropDown is the most appropriate event to rebuild the list.
Is the "File" button missing only the first time you click it? I looked at your sample and moved your code from the "BeforeApplicationMenuDropDown" event into the "Form1_Load" event and it seems to work better. Take a look at it and let me know what you think.
I have attached a sample VS2010 solution.
The ZIP file contains;
- VS solution/project
- Offec2007Black.isl (ignore the 2007 name; we just didn't change the name.)