Consulting

Results 1 to 6 of 6

Thread: Picture in DialogLauncher Supertip

  1. #1
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location

    Picture in DialogLauncher Supertip

    The regular Office DialogLauncher has a Supertooltip that displays a picture (like the small picture version of the Font dialog box in the screenshot embedded in the XLSM attachment) when you hover

    How do I make that happen? I was thinking of making a screen shot of some of my dialog launcher boxes, instead of just displaying some more SuperTip text.

    This is my 2010 XML, and the getSupertip = "GetSupertip" will only display text. The 2007 XLM is similar


    [VBA]
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnRibbonLoad" >
    <ribbon>
    <tabs>

    <!-- Add Custom group to the Home tab in the ribbon -->

    <tab id="CustomTab" label="My Tab">
    <group id="SampleGroup" label="Sample Group">
    <toggleButton id="ToggleButton1"
    size="large"
    label="Large Toggle Button"
    getPressed="MyToggleMacro"
    onAction="MyActionMacro"
    screentip = "This is a Toggle Button"
    supertip = "This is a normal type of screentip This is a normal type of screentip This is a normal type of screentip"
    />
    <button id="Button1"
    size="large"
    label="Large Button"
    onAction="MyButtonMacro"
    screentip = "This is a normal Button"
    supertip = "This is a normal type of screentip This is a normal type of screentip This is a normal type of screentip"
    />
    <dialogBoxLauncher>
    <button id="Launcher1"
    getScreentip="GetScreentip"
    getSupertip = "GetSupertip"
    onAction="MyLauncherMacro" />
    </dialogBoxLauncher>
    </group>
    </tab>
    </tabs>
    </ribbon>
    </customUI>
    [/VBA]

    Thanks


    Paul

  2. #2
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location
    Hey Paul,
    Did you ever get this to work? I'd be curious to see how you did it.

    I've done something similar with a gallery then added custom icons to the xml that my gallery referred to, but I don't think that's what you're talking about, is it?
    Office 2010, Windows 7
    goal: to learn the most efficient way

  3. #3
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    Hi Tom

    No joy

    Apparently the only people who know to to that all work for Microsoft

    But, I haven't looked at it for a long time, so I'll poke around again

    Paul

  4. #4
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    Per this MSDN article, you can't:
    Can I add images to my Enhanced ScreenTips? No. You can add only text, by using the Supertip property.
    Be as you wish to seem

  5. #5
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    Thanks

    I wish I could (or someone more smarter) could figure out how MS does it

    Paul

  6. #6
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    Not everything MS can do is exposed to us mere mortals.

    (Just in case, I have sent a request to the smartest people I know)

    Edit: the official MS word is: you can't do that.
    Last edited by Aflatoon; 05-01-2013 at 08:51 AM.
    Be as you wish to seem

Posting Permissions

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