I've posted version 3.2 of the Code Accelerator script.

Enjoy and please let me if you hit any snags.

Sheri

>From Change History in the chm help file:

- Updated the bar variant so the combo boxes should always work for
everybody. The button height for buttons holding combo boxes needs to
be the same size as the closed combo box it contains. This is now
automatically adjusted if there's a variance. Also, the bar now uses
Arial size 9 as the default font. Previously it used the system or
PowerPro All Bar default. Possibly this is the reason the issue arose
in the first place (because different font styles and sizes do lead to
size variations in the embedded combo boxes).

- Implemented font selection capability. The font dialog appears when
middle clicking the Options button. On the bar variant, you can also
trigger it by right clicking the icon in the left corner of the "title
bar". On the dialog variant, it is available as a hotkey, Alt+T. The
font settings for bar and dialog variant are maintained separately
(other options are shared).

The controls altered by font changes are: all of the combo boxes plus
the search criteria edit box.

- The height of the bar variant will adjust itself if a large size is
selected. For dialog variant, you will need to keep within fixed
areas, so the point size will generally need to be around 9.

- Changed the file selector combo boxes so that they display file
names without full path. The full path for currently selected files is
shown in the attached tooltips. Do not load multiple files of the same
name from different directories. To remove files that have been saved
into the ini file, edit the ini file directly.

- Implemented Alternate Focus option. When checked, CA will open with
focus on the search criteria edit box unless there are search matches
available in the combo box. Keep unchecked when using CA for
autocompletion entries (which require focus on the combo box). When
the search criteria edit box is focused, the main combo box is not
expanded.

- Tweaked the overall bar layout. Removed interactive Combo Box Height
option which is now maintained automatically. Removed Cache Time
Limit. Edit the ini file directly if you want to change it. Cache Time
is entered in minutes.

- Implemented a performance enhancement, which affects both bar and
dialog variants: memory is now preallocated before loading the main
combo box.

- Changed from Global to Static the variable holding the CA_Destroy
event handle. The event is used to discard cached information when the
CacheTimeLimit has expired. Previously, there were issues if two
copies of the Code Accelerator script (given different names) were
used to run multiple popup windows (e.g., dialog and bar) simultaneously.



Reply via email to