لیسپ های کاربردی اتوکد

To-Add-a-Tooltip-and-Extended-Tooltip-to-a-Command

To Add a Tooltip and Extended Tooltip to a Command

To Add a Tooltip and Extended Tooltip to a Command

Display the Customize User Interface (CUI) Editor

  • Click Manage tab Customization panel User Interface. Find

Add a tooltip to a command

  1. In the Customize tab, Command List pane, select the command to which you want to add
    a tooltip.

  2. In the Properties pane, Description field, enter the tooltip text for the selected
    command.

  3. Click Apply.

    The next time the cursor hovers over the command on a toolbar or ribbon panel, the
    text is displayed in a tooltip.

Add an extended tooltip to a command

  1. In the Customize tab, Command List pane, select the command to which you want to add
    an extended tooltip.
  2. In the Properties pane, select the Extended Help File field and click the […] button.
  3. In the Select Extended Help File dialog box, browse to and select the XAML file that
    contains the extended tooltip definition for the command. Click Open.
  4. In the Select Help ID dialog box, select the help ID for the extended tooltip content.
    Click OK.

  5. Click Apply.

    When the command is added to a toolbar or ribbon panel, the extended tooltip content
    is displayed if extended tooltips are enabled and the cursor hovers over the command
    for the designated time interval.

Create a XAML file

  1. In a text editor (for example, Notepad), create a new file and enter the elements
    needed to define the extended tooltip content.

    As an example, enter the text below in the text editor:

    <ResourceDictionary
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:src="clr-namespace:Autodesk.Windows;assembly=AdWindows"
     <src:RibbonToolTip x:Key="MYEH_CMD_0003"
     <src:RibbonToolTip.ExpandedContent
     <StackPanel
     <TextBlock Background="AntiqueWhite" TextAlignment="Center"
     Configures the settings for the current drawing.
     </TextBlock
     </StackPanel
     </src:RibbonToolTip.ExpandedContent
     </src:RibbonToolTip
    </ResourceDictionary
  2. Save the file as an ASCII text file, with a file extension of .xaml.

Convert AutoCAD 2009-based product extended tooltips to the current release

  1. Open the XAML file in a text editor (for example, Notepad).

    The following is an example of an extended tooltip created for AutoCAD 2009-based
    product. You need to change the bold and italicized text.

    <src:ProgressivePanel x:Key="MYEH_CMD_0003"
     <StackPanel
     <TextBlock Background="AntiqueWhite" TextAlignment="Center"
     Configures the settings for the current drawing.
     </TextBlock
     </StackPanel
     </src:ProgressivePanel
  2. Change the italicized text shown in the previous step to match the following:
    <src:RibbonToolTip x:Key="MYEH_CMD_0003" <src:RibbonToolTip.ExpandedContent
     <StackPanel
     <TextBlock Background="AntiqueWhite" TextAlignment="Center"
     Configures the settings for the current drawing.
     </TextBlock
     </StackPanel
     </src:RibbonToolTip.ExpandedContent </src:RibbonToolTip
  3. Save the changes made to the XAML file.

Learning AutoCad

ick Open. In the Select Help ID dialog box, select the help ID for the extended tooltip content. Click OK. When the command is added to a toolbar or ribbon panel, the extended tooltip content is displayed if extended tooltips are enabled and the cursor hovers over the command for the designated time interval.Tooltips and Extended Tooltips for Commands. In-Product View Help. Applies to AutoCAD LT 2017 Applies to AutoCAD LT 2017. Share. Add to Collection.Tooltips are descriptive messages that are displayed near the cursor when it hovers over a toolbar or panel button, or menu item. The Description property …ToolTip control is an extender control, which means that it will extend the set of properties for other controls on the …… Professional Excel Development by Stephen Bullen describes how to register UDFs, …. To extend Remou's reply you can find a fuller but more complex approach …. grep command to display same word with different spellings.tooltip control is hidden and appears only when users move the pointer over a … style and then set the TBSTYLE_EX_MIXEDBUTTONS extended style. … that specifies the command identifier of the button for which Help text is needed.tooltips (hints) for WPF controls. … where we extend the time a tooltip is shown using the ShowDuration property (we set it to …