Customizing the Rapid SQL General User Interface Appearance

From RapidSQL
Jump to: navigation, search

Go Up to Rapid SQL Product Design

Rapid SQL lets you choose from a set of general visual application styles, dictate hiding or display of particular items, and select preferences for specific user interface elements.

To customize the general look and feel of Rapid SQL

  1. On the View menu, select Toolbars and then select Customize. The Customize dialog opens.
  2. Click Apply at any time to implement any changes you have made and when finished, click Close. Use the following table as a guide for understanding and setting options on tabs of the Customize dialog:
Tab Settings and tasks

Toolbars

Select the toolbars you want to display in the application. For information on the toolbars available, see Available Toolbars.

Application Visual Style

Select a visual style such as Microsoft Windows XP or one of the .NET options from the dropdown. Depending on your selection, the following options may or may not be enabled: Use default WIndows XP colors, OneNote style tabs, Docking Tab Colors, Allow MDI Tab Swapping, Enable Smart Docking, Enable Tab Menu, and 3D Rounded Docking Tabs.

Menu animations

Lets you specify a menu animation style of UNFOLD, SLIDE, or FADE.

Menu Shadows

Displays shadowed 3D effects.

Tools

Lets you define external applications to run from the Tools menu of Rapid SQL: the text displayed on the Tools menu command (Menu contents), the path and file name of the executable (Command), optional Arguments, and an optional Initial DIrectory. For detailed information on providing arguements, see Specifying an Argument for a Tools Menu Command.

Keyboard

Category

Select a general category for a hot key for the command.

Commands

Select a hot key command, based on the general category.

Description

Displays the command description.

Set Accelerator for

Select application area where you want new hot key to be active.

Current Keys

Displays current hot key.

Press New Shortcut Key

Press keyboard key or an unassigned F key.

Options

Show ScreenTips on toolbars

Select to display a ScreenTip when you hover your mouse over a button. For example, when you hover your mouse over the New button, Rapid SQL displays the ScreenTip “New.”

Show shortcut keys in ScreenTips

Select to display a shortcut key in the ScreenTip when you hover your mouse over a button. For example, when you hover your mouse over the New button, Rapid SQL displays the ScreenTip “New (CTRL+N).”

Specifying an Argument for a Tools Menu Command

You can specify an argument to be passed to a program for newly added commands by choosing one of Rapid SQL's predefined arguments or entering a command-line argument.

The table below provides scenarios of how to use command-line arguments:

Command Argument Description

NOTEPAD.EXE

$$FilePath$$

Starts Microsoft Notepad displaying the contents of the $$FilePath$$ argument.

ISQL.EXE

-U$$CurUserID$$ -P$$CurPwd$$ -S$$CurConString$$ -i$$FilePath$$

Starts ISQL, automatically connects to the current datasource using the current user name and password, and executes the contents of $$FilePath$$.

SQLPLUS.EXE

$$CurUserID$$/$$CurPwd$$@$$CurConString$$ @$$FilePath$$

Starts SQL*Plus, connects to the current datasource using the current user name and password, and executes the contents of $$FilePath$$.

The table below provides scenarios of how to use Rapid SQL’s predefined arguments:

Argument Description

$$FilePath$$

The complete filename of the current source (defined as drive+path+filename); blank if a non-source window is active.

$$FileDir$$

The directory of the current source (defined as drive+path); blank if a non-source window is active.

$$FileName$$

The filename of the current source (defined as filename); blank if the non-source window is active.

$$FileExt$$

The filename extension of the current source; blank if a non-source window is active.

$$CurLine$$

The current cursor line position within the active window.

$$CurCol$$

The current cursor column position within the active window.

$$CurText$$

The current text (the word under the current cursor position, or the currently selected text, if there is one).

$$CurDir$$

The current working directory (defined as drive+path).

$$CurDatasource$$

The name of the current datasource as defined in Rapid SQL.

$$CurUserID$$

The name of the current datasource user.

$$CurPwd$$

The current datasource password.

$$CurConString$$

The current connection string or server name.

Predefined Arguments

Rapid SQL provides a number of predefined arguments that you can pass to programs that you have added to the Tools menu. The table below lists the available predefined arguments:

Argument Description

$$FilePath$$

The complete filename of the current source (defined as drive+path+filename); blank if a non-source window is active.

$$FileDir$$

The directory of the current source (defined as drive+path); blank if a non-source window is active.

$$FileName$$

The filename of the current source (defined as filename); blank if the non-source window is active.

$$FileExt$$

The filename extension of the current source; blank if a non-source window is active.

$$CurLine$$

The current cursor line position within the active window.

$$CurCol$$

The current cursor column position within the active window.

$$CurText$$

The current text (the word under the current cursor position, or the currently selected text, if there is one).

$$CurDir$$

The current working directory (defined as drive+path).

$$CurDatasource$$

The name of the current datasource as defined in Rapid SQL.

$$CurUserID$$

The name of the current datasource user.

$$CurPwd$$

The current datasource password.

$$CurConString$$

The current connection string or server name.

Note: Arguments are case-sensitive.