I have written an app that makes extensive use of custom right-click menus on an Access form. The code works great and the user loves it, but lately I am having trouble making it work properly.
In earlier versions of Access it worked well, but newer version seem much more limited in how many items can be put in such menus. The documentation is silent on the matter, and nobody in any newsgroup has had any useful ideas, but I regularly get random error about stack space, out of memory, and general lockups when populating the menus. Doing a C&R used to help, but now even that is not enough, and some menus I can no longer populate at all.
I tried building an app that just built menus until it crashed, to get some idea of what the limits may be, and I am well below what that indicated, but the experimental app had nothing else, while the real app has a great deal else.
Is there any information on how much stuff can be put into these menus, and what the menus share space with? There may be something I can do another way to make more room for the menus. I tried moving all code out of the form, leaving only event stubs that called routines in standard code modules, but that did not help.
And how are they stored/activated? The app is MUCH slower to load when it has these menus, even though no code is running on start-up.
********** Edited to add this:
I use VBA to create a menu, like this:
Application.CommandBars.Add "RCStat", msoBarPopup, False, False
then add it to a control. like this:
Application.CommandBars.cboStat.ShortcutMenuBar = "RCStat"
I add controls (only popups and buttons) like this:
Application.CommandBars.Controls.Add(type:=msoControlPopup)
Application.CommandBars.Controls.Add(type:=msoControlButton, Parameter:="StatKod = 77")
It runs perfectly and the menu items work exactly as expected, except that it bombs after adding some number of controls. It doesn't seem to matter where I add them, just the total number of added controls hits some undefined threshold, and the app crashes.
I got the original code from Getz, Litwin and Gilbert, 2000 edition. Back then, it worked great. But as the versions advance and the app accumulates data, it is becoming less and less functional. However, there are only around 10,000 records, and the app itself is less than 100MB - nowhere close to any of Access's upper size limits.
Pete,
I've done quite a bit of work with shortcut menus, and created the Access Shortcut Tool about 5 years ago, but have never attempted a menu with so many controls although some have 3 or 4 levels.
I am not aware of any restrictions on the number of elements in the commandbars collection, but I find that shortcut menus with too many options, like lists and combo boxes with too many items, are difficult for users to navigate. I generally break these up into segments and use buttons in the form header to display the appropriate menu. Sorry I'm unable to provide anything more helpful.
Dale
We have a commercial product, Total Access Components, that includes as one of its 30 components a right click popup menu that can include icons and font styles.
Here's the info for the popup menu control: https://fmsinc.com/MicrosoftAccess/controls/components/popup-menu/
There's a free trial if you want to try it.
In a Google Meet, you can click the vertical ellipsis and then change the layout.
I have written an extension for which the tiled layout gives the best results, but I can't seem to find (programmatically) which view is being used. Any tips or suggestions?
There is no mention as of today of getting or setting Meet layout in its documentation; neither you can list its activities or get them from System Parameters. If you need this feature, I would suggest you to open an Issue Tracker case asking for it. Feel free to ask me more if needed.
currently i'm developing an windows 10 uwp apps, and i'm getting trouble ini designing my apps
i'm planning to make some kind of a image slider or whatever it names, just like in the Store apps, on the top page. it looks like a banner slide or something.
but i hardly find it on tutorials anywhere in the internet nor in documentation.
i think and believe that this using a pivot, but i'm confuse how to style it. so if someone probably knows, how to achieve this, please kindly answer it.
thank you
you must use FlipView control.
Please check the documentation.
https://msdn.microsoft.com/en-us/windows/uwp/controls-and-patterns/flipview
I'm working on a program that can play songs off an iPod. I want to be able to put functional Back, Play/Pause and Next buttons on its Aero Peek thumbnail like this:
For those who can't see it: http://i45.tinypic.com/1yua0m.png
How would I do this in VB6?
EDIT: Can I also create a jump list for my app? For this app, I only need taskbar jump lists. For others, I'll need taskbar and start menu jump lists so posting code to achieve both would be appreciated.
EDIT 2: I have uploaded a sample of how to use the ITaskBarList3 interface to add buttons to the window preview (and handle their click events), add an icon overlay, clip the window preview and add a progress bar to the program's taskbutton. Download it here.
Look at the Taskbar Thumbnail Toolbar feature of Windows Explorer. This does use a COM interface so I don't know how practical it is to use for VB but I beliver the IDLs are available if you look.
You can also find a C# example and the UI guidelines on MSDN.
The Jumplist information is also covered on the same pages.
I have seen this question:
Are there any decent UI components for touch screen web applications? and have allmost exact the same question but Im focused on winforms.
I working on an application that is not primary made for using with a touch screen, but now I see more and more customers using touch screen and want the application to support it better.
I want to "add" to the UI so that for example a rightclick on a combobox (or click a button at the side of the combobox) opens up a dialogbox that handles the showing and selecting of the items easier on a touch screen.
Controls I want to enhance or replace are listboxes, comboboxes and textboxes.
I know its easy to create those controls myself, but I think there must be some standards and allready tested UIs that works good in that environment. I dont want to reinvent the wheel and make a bad one if it allready exists good ones.
To sum it up:
Are there guide-lines for controls regarding touch screens, then where?
Are there any allready made controls I can byu (or free ones) out there?
Thanks!
Found some information:
Interaction Design Guide for Touchscreen Applications
http://www.sapdesignguild.org/resources/TSDesignGL/INDEX.HTM
pdf-version:
http://www.sapdesignguild.org/resources/TSDesignGL/TSDesignGL.pdf
The interface between humans and interactive kiosks
http://www.visi.com/~keefner/pdfs/focus1.pdf
Keys to a Successful Kiosk Application Some tips can be used generally:
http://www.visi.com/~keefner/pdfs/Kiosk-Tips.ppt