Skip to content
SilverpointDev edited this page Jun 12, 2023 · 3 revisions

Requirements

Installing with Silverpoint MultiInstaller

The installation folder will end up with this files:

C:\MyInstall  
       |-  SpTBXLib.zip  
       |-  tb2k-2.2.2.zip  
       |-  MultiInstaller.exe  
       |-  Setup.ini  

You are ready to install the component packages, just run MultiInstaller, select the destination folder, and all the components will be unziped, patched, compiled and installed on the Delphi IDE.

Manual installation

First you need to apply the TB2K patch:

  • Extract TB2K to a folder
  • Extract SpTBXLib to a folder
  • Copy the contents of SpTBXLib\TB2K Patch folder to TB2K\Source folder
  • Run tb2kpatch.bat

Add the Source directories to the Library Path

  • Add 'TB2K\Source' directory to Tools->Options->Language->Delphi->Library->Library Path
  • Add 'SpTBXLib\Source' directory to Tools->Options->Language->Delphi->Library->Library Path

Compile and install the components

  • If you have a previous version of TB2K installed in the IDE remove it from Component->Install Packages, select TB2K from the list and press the Remove button.
  • If you have a previous version of SpTBXLib installed in the IDE remove it from Component->Install Packages, select SpTBXLib from the list and press the Remove button.
  • Open the TB2K design package corresponding to the IDE version (tb2kdsgn_d12), press Compile and then press Install, close the package window (don't save the changes).
  • Open the SpTBXLib design package corresponding to the IDE version (SpTBXLibDsgn_*.dpk), press Compile and then press Install, close the package window (don't save the changes).

Getting Started

When the SpTBXLib package is installed a new 'SpTBXLib' tab is created on the Components Palette that holds all the package components. The Toolbar Designer also suffers some changes, it has an additional toolbar that contains all the TSpTBXLib toolbar items.

All the SpTBXLib components and items are marked with a small green '+' sign.

When creating applications with SpTBXLib package, you should try to use SpTBXLib items instead of Toolbar2000 items if you want to use this added features:

  • Unicode captions
  • Unicode hints
  • Custom item size
  • Anchored items
  • Right aligned items
  • Accel char handling
  • Custom painting events

Clone this wiki locally