Results 1 to 2 of 2

Thread: Ribbon issues

  1. #1
    Member
    Join Date
    2010-06
    Location
    Guildford, UK
    Posts
    7

    Default Ribbon issues

    I have added some items to the Add-Ins ribbon using VB.Net

    In RAC 2011 the text displayed when you hover over the button displays correctly including the text in bold giving the button text (.ItemText)

    In RAC 2012 using the same code the bold text part of the tooltip is missing.

    Has anyone else come across this and have you found a fix?

    Ribbon.jpg

    Paul Collins
    Last edited by Paul_Collins; 2012-05-11 at 08:57 PM. Reason: correction

  2. #2
    Member
    Join Date
    2010-06
    Location
    Guildford, UK
    Posts
    7

    Default Re: Ribbon issues

    I have found out that it is something to do with the .LongDescription property.

    If I comment that out and rebuild then the tooltip displays correctly, that is with the text on the button repeated in the tooltip as standard ribbon buttons:

    'push button1
    Dim PushButton_1_1 As PushButton =
    Ribbon_1.AddItem(New PushButtonData("OFFICE", "Office" & vbCrLf & "Address", AppsFolder & "OfficeAddress\OfficeAddress.dll", "OfficeAddress.Class1"))

    PushButton_1_1.LargeImage = New BitmapImage(New Uri(AppsFolder & "OfficeAddress\OfficeAddress_32x32.png"))
    PushButton_1_1.Image = New BitmapImage(New Uri(AppsFolder & "OfficeAddress\OfficeAddress_16x16.png"))

    PushButton_1_1.ToolTip = "Set the office address"
    'PushButton_1_1.LongDescription = "<p>Select the Scott Brownrigg office</p><p>to appear on the drawing sheets</p>"

    Did something change at 2012 or is it a bug? All was ok in 2011

Similar Threads

  1. 2012: Ribbon issues
    By cadjedi in forum AutoCAD General
    Replies: 3
    Last Post: 2011-08-21, 04:56 AM
  2. 2011: Ribbon Issues
    By imacad in forum AutoCAD General
    Replies: 3
    Last Post: 2010-07-21, 07:04 PM
  3. RST2010 Ribbon Issues
    By Jshaver in forum Revit Structure - General
    Replies: 4
    Last Post: 2009-06-12, 12:15 AM
  4. ribbon control issues
    By kpurdy in forum AutoCAD General
    Replies: 2
    Last Post: 2009-03-29, 05:22 PM
  5. ACA 2009 Ribbon Issues
    By david.windsor in forum ACA General
    Replies: 2
    Last Post: 2008-07-08, 10:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •