Posted 18 years ago by Devin Grant - Novi
Avatar
The code below doesn't select each select when the user hits the tab button (i.e. $caption$, $button$, and $text$).

<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
    <CodeSnippet Format="1.0.0">
        <Header>
            <Title>Dialog</Title>
            <Shortcut>dlg</Shortcut>
            <SnippetTypes>
                <SnippetType>Expansion</SnippetType>
                <SnippetType>SurroundsWith</SnippetType>
            </SnippetTypes>
        </Header>
        <Snippet>
            <Declarations>
                <Literal>
                    <ID>caption</ID>
                    <Default>*Error*</Default>
                </Literal>
                <Literal>
                    <ID>button</ID>
                    <Default>Ok</Default>
                </Literal>
                <Literal>
                    <ID>text</ID>
                    <Default>*</Default>
                </Literal>
            </Declarations>
            <Code Language="XML">
                <![CDATA[<actions ignore="true">
    <caption>$caption$</caption>
    <button>$button$</button>
    <text>$text$</text>
    <tag/>
</actions>]]>...

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Devin,

I loaded the snippet in our sample project and it worked fine and tabbed between each field. You might have something intercepting the Tab?


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.