Results 1 to 3 of 3
  1. #1
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591

    Custom Ribbons - Menu Items

    I'm still studying Custom Menus. Here's the XML used in this case.



    Code:
    <menu id="mnuMoreSettings" size="normal" itemSize="normal" label="More Settings" getVisible="GetVisible" getEnabled="GetEnabled" >
    <button id="btnYears" label="Years" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    <button id="btnPercentAADT" label="Percent AADT" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    <button id="btnLOSThreshold" label="LOS Threshold" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    <button id="btnMarkedDeletion" label="Marked for Deletion" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    <button id="btnTypSecCostValues" label="Typical Section Cost Values" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    <button id="btnRWCostValues" label="Right of Way Cost Values" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    <button id="btnStructureCostValues" label="Structure Cost Values" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    <button id="btnInterchangeCostValues" label="Interchange Cost Values" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    <button id="btnOtherImproveCostValues" label="Other Improve Cost Values" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
    </menu>
    The way I read this there should be ten item drop down after clicking More Settings, but I am only seeing the first menu item, Years. See picture below.

    Click image for larger version. 

Name:	More Settings.JPG 
Views:	26 
Size:	14.9 KB 
ID:	34133

    Thanks in advance,

    Paul

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,788
    Haven't done this myself, but if the construct is anything like Word, it seems the control has to be added, then the list items, which have list item id's, not button id's. Maybe this won't help, but take a look at the accepted answer here https://social.msdn.microsoft.com/Fo...?forum=worddev

    Hopefully you will get more focused help soon.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591
    Good news and bad news. I exited the program and logged back in and of course it works just fine now. The bad news is this really ticks me off. After 25 years you'd think I would have learned better.

    Thanks for chipping in.

    Paul

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Custom Ribbons and the Tab
    By MrDummy in forum Access
    Replies: 2
    Last Post: 06-03-2016, 09:50 PM
  2. Using Late Binding in creating custom ribbons
    By Demerit in forum Programming
    Replies: 2
    Last Post: 08-25-2015, 04:17 PM
  3. Replies: 2
    Last Post: 10-12-2013, 07:39 AM
  4. Replies: 4
    Last Post: 08-01-2013, 08:43 AM
  5. Creating Custom Ribbons
    By disco_stu in forum Access
    Replies: 1
    Last Post: 07-13-2010, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums