├── Demos ├── Customizer │ ├── Customizer.dpr │ ├── Unit1.dfm │ ├── Unit1.pas │ ├── Unit2.dfm │ ├── Unit2.pas │ ├── advanced.txt │ ├── faq.txt │ ├── gnugettext.pas │ ├── langcodes.txt │ ├── locale │ │ ├── ar │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── de │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── default.po │ │ ├── es │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── fi │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── fr │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── ignore.po │ │ ├── ja │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── ko │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── nl │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── pt_BR │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── ru │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── sr_Cyrillic │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── sr_Latin │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── sv │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── tr │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ ├── uk │ │ │ └── LC_MESSAGES │ │ │ │ ├── default.mo │ │ │ │ └── default.po │ │ └── zh_CN │ │ │ └── LC_MESSAGES │ │ │ ├── default.mo │ │ │ └── default.po │ └── translations.txt ├── FormPopupMenu │ ├── FormPopupMenu.dpr │ ├── Unit1.dfm │ ├── Unit1.pas │ ├── Unit2.dfm │ ├── Unit2.pas │ ├── Unit3.dfm │ └── Unit3.pas └── Overview │ ├── Glyphs │ ├── 00opendrawer-16x16.png │ ├── 00opendrawer-24x24.png │ ├── 00opendrawer-32x32.png │ ├── 01closedrawer-16x16.png │ ├── 01closedrawer-24x24.png │ ├── 01closedrawer-32x32.png │ ├── 02close-16x16.png │ ├── 02close-24x24.png │ ├── 02close-32x32.png │ ├── 03prior-16x16.png │ ├── 03prior-24x24.png │ ├── 03prior-32x32.png │ ├── 04next-16x16.png │ ├── 04next-24x24.png │ ├── 04next-32x32.png │ ├── 05go-16x16.png │ ├── 05go-24x24.png │ └── 05go-32x32.png │ ├── Overview.dpr │ ├── Skins │ └── WMP11.skn │ ├── Unit1.dfm │ ├── Unit1.pas │ └── hint.bmp ├── LICENSE.txt ├── MPL-LICENSE.txt ├── Packages ├── RAD Studio Tokyo And Older │ ├── SpTBXLib.dpk │ ├── SpTBXLib.dproj │ ├── SpTBXLib.res │ ├── SpTBXLibDsgn.dpk │ ├── SpTBXLibDsgn.dproj │ └── SpTBXLibDsgn.res └── RAD Studio │ ├── SpTBXLib.dpk │ ├── SpTBXLib.dproj │ ├── SpTBXLib.res │ ├── SpTBXLibDsgn.dpk │ ├── SpTBXLibDsgn.dproj │ └── SpTBXLibDsgn.res ├── Readme.md ├── Registration.txt ├── Release History.txt ├── Source ├── SpTBXColorPickerForm.dfm ├── SpTBXColorPickerForm.pas ├── SpTBXControls.pas ├── SpTBXCustomizer.pas ├── SpTBXCustomizerForm.dfm ├── SpTBXCustomizerForm.pas ├── SpTBXDefaultSkins.pas ├── SpTBXDkPanels.pas ├── SpTBXEditors.pas ├── SpTBXExtEditors.pas ├── SpTBXFormPopupMenu.pas ├── SpTBXGlyphs.res ├── SpTBXImageList.pas ├── SpTBXItem.pas ├── SpTBXMDIMRU.pas ├── SpTBXPageScroller.pas ├── SpTBXReg.dcr ├── SpTBXReg.pas ├── SpTBXSkins.pas └── SpTBXTabs.pas ├── SpTBXLib-LICENSE.txt └── TB2K Patch ├── p_atch.exe ├── tb2kdiff.txt └── tb2kpatch.bat /Demos/Customizer/Customizer.dpr: -------------------------------------------------------------------------------- 1 | program Customizer; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}, 6 | Unit2 in 'Unit2.pas' {Form2}; 7 | 8 | {$R *.res} 9 | 10 | begin 11 | Application.Initialize; 12 | Application.MainFormOnTaskBar := True; 13 | Application.CreateForm(TForm1, Form1); 14 | Application.CreateForm(TForm2, Form2); 15 | Application.Run; 16 | end. 17 | -------------------------------------------------------------------------------- /Demos/Customizer/Unit1.pas: -------------------------------------------------------------------------------- 1 | unit Unit1; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 | Dialogs, StdCtrls, Menus, ImgList, ActnList, ComCtrls, 8 | { TB2K } 9 | TB2Dock, TB2Toolbar, TB2Item, TB2ExtItems, 10 | SpTBXSkins, SpTBXItem, SpTBXControls, SpTBXDkPanels, SpTBXTabs, SpTBXEditors, 11 | SpTBXExtEditors, SpTBXCustomizer, 12 | { gettext } 13 | gnugettext, System.ImageList; 14 | 15 | type 16 | TForm1 = class(TForm) 17 | SpTBXDock1: TSpTBXDock; 18 | SpTBXMultiDock1: TSpTBXMultiDock; 19 | SpTBXMultiDock2: TSpTBXMultiDock; 20 | SpTBXDock2: TSpTBXDock; 21 | dpLog: TSpTBXDockablePanel; 22 | dpHelp: TSpTBXDockablePanel; 23 | tbStandard: TSpTBXToolbar; 24 | tbFormat: TSpTBXToolbar; 25 | tbMenuBar: TSpTBXToolbar; 26 | tbImage: TSpTBXToolbar; 27 | mFile: TSpTBXSubmenuItem; 28 | mEdit: TSpTBXSubmenuItem; 29 | mView: TSpTBXSubmenuItem; 30 | mHelp: TSpTBXSubmenuItem; 31 | mNew: TSpTBXItem; 32 | mOpen: TSpTBXItem; 33 | mSave: TSpTBXItem; 34 | SpTBXSeparatorItem1: TSpTBXSeparatorItem; 35 | mExit: TSpTBXItem; 36 | mCut: TSpTBXItem; 37 | mCopy: TSpTBXItem; 38 | mPaste: TSpTBXItem; 39 | SpTBXSeparatorItem2: TSpTBXSeparatorItem; 40 | mSelectAll: TSpTBXItem; 41 | SpTBXSeparatorItem3: TSpTBXSeparatorItem; 42 | mFind: TSpTBXItem; 43 | mLeftJustify: TSpTBXItem; 44 | mUnderline: TSpTBXItem; 45 | mItalic: TSpTBXItem; 46 | mBold: TSpTBXItem; 47 | SpTBXSeparatorItem5: TSpTBXSeparatorItem; 48 | mRightJustify: TSpTBXItem; 49 | mCentered: TSpTBXItem; 50 | SpTBXSeparatorItem6: TSpTBXSeparatorItem; 51 | mBullets: TSpTBXItem; 52 | mNumberedBullets: TSpTBXItem; 53 | mSidebar: TSpTBXSubmenuItem; 54 | mOptions: TSpTBXItem; 55 | mmHelp: TSpTBXItem; 56 | mToolbars: TSpTBXSubmenuItem; 57 | SpTBXPopupMenu1: TSpTBXPopupMenu; 58 | mStandardToolbar: TSpTBXItem; 59 | mFormattingToolbar: TSpTBXItem; 60 | mNavigationToolbar: TSpTBXItem; 61 | mCommandsLog: TSpTBXItem; 62 | dpOptions: TSpTBXDockablePanel; 63 | mmmHelp: TSpTBXItem; 64 | mAbout: TSpTBXItem; 65 | tNew: TSpTBXItem; 66 | tOpen: TSpTBXItem; 67 | tSave: TSpTBXItem; 68 | tCut: TSpTBXItem; 69 | tCopy: TSpTBXItem; 70 | tPaste: TSpTBXItem; 71 | tBold: TSpTBXItem; 72 | SpTBXSeparatorItem8: TSpTBXSeparatorItem; 73 | tItalic: TSpTBXItem; 74 | tUnderline: TSpTBXItem; 75 | mPrint: TSpTBXItem; 76 | SpTBXSeparatorItem7: TSpTBXSeparatorItem; 77 | SpTBXSeparatorItem9: TSpTBXSeparatorItem; 78 | tFind: TSpTBXItem; 79 | tStop: TSpTBXItem; 80 | tRefresh: TSpTBXItem; 81 | tForward: TSpTBXItem; 82 | tBack: TSpTBXItem; 83 | tSearch: TSpTBXItem; 84 | pGroupItem1: TTBGroupItem; 85 | SpTBXSeparatorItem10: TSpTBXSeparatorItem; 86 | pCustomize: TSpTBXItem; 87 | tbLayouts: TSpTBXToolbar; 88 | tLayoutSave: TSpTBXItem; 89 | SpTBXLabelItem1: TSpTBXLabelItem; 90 | tLayoutsToolbar: TSpTBXItem; 91 | SpTBXCustomizer1: TSpTBXCustomizer; 92 | cPrint: TSpTBXItem; 93 | cLeftJustify: TSpTBXItem; 94 | cCentered: TSpTBXItem; 95 | cNumBullets: TSpTBXItem; 96 | cBullets: TSpTBXItem; 97 | cRightJustify: TSpTBXItem; 98 | cExit: TSpTBXItem; 99 | cSelectAll: TSpTBXItem; 100 | Memo1: TMemo; 101 | SpTBXSubmenuItem1: TSpTBXSubmenuItem; 102 | SpTBXTabControl1: TSpTBXTabControl; 103 | SpTBXTabItem1: TSpTBXTabItem; 104 | SpTBXTabSheet1: TSpTBXTabSheet; 105 | SpTBXTabItem2: TSpTBXTabItem; 106 | SpTBXTabSheet2: TSpTBXTabSheet; 107 | Memo2: TMemo; 108 | Memo3: TMemo; 109 | SpTBXSeparatorItem12: TSpTBXSeparatorItem; 110 | tSkins: TSpTBXSubmenuItem; 111 | SpTBXSkinGroupItem1: TSpTBXSkinGroupItem; 112 | pEmbeddedCustomize: TSpTBXItem; 113 | SpTBXLabel1: TSpTBXLabel; 114 | SpTBXSeparatorItem13: TSpTBXSeparatorItem; 115 | SpTBXTabItem3: TSpTBXTabItem; 116 | SpTBXTabSheet3: TSpTBXTabSheet; 117 | Memo4: TMemo; 118 | SpTBXSplitter1: TSpTBXSplitter; 119 | SpTBXSplitter2: TSpTBXSplitter; 120 | tLanguages: TSpTBXComboBox; 121 | TBControlItem1: TTBControlItem; 122 | tFont: TSpTBXComboBox; 123 | TBControlItem2: TTBControlItem; 124 | tFontSize: TSpTBXComboBox; 125 | TBControlItem3: TTBControlItem; 126 | tLayouts: TSpTBXComboBox; 127 | TBControlItem4: TTBControlItem; 128 | SpTBXStatusBar1: TSpTBXStatusBar; 129 | SpTBXColorEdit1: TSpTBXColorEdit; 130 | TBControlItem5: TTBControlItem; 131 | ImageList1: TImageList; 132 | procedure ActionsExecute(Sender: TObject); 133 | procedure FormDestroy(Sender: TObject); 134 | procedure tLayoutSaveClick(Sender: TObject); 135 | procedure tLayoutsItemClick(Sender: TObject); 136 | procedure aCustomizeExecute(Sender: TObject); 137 | procedure aEmbeddedCustomizeExecute(Sender: TObject); 138 | procedure FormCreate(Sender: TObject); 139 | procedure tLanguagesItemClick(Sender: TObject); 140 | procedure SpTBXCustomizer1CreateCustomizeForm(Sender: TObject); 141 | private 142 | { Private declarations } 143 | public 144 | { Public declarations } 145 | FAppPath: string; 146 | FIniPath: string; 147 | procedure FillLayoutList(CurrentLayout: string = ''); 148 | end; 149 | 150 | var 151 | Form1: TForm1; 152 | 153 | implementation 154 | 155 | uses 156 | Unit2; 157 | 158 | {$R *.dfm} 159 | 160 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 161 | { Form } 162 | 163 | procedure TForm1.FormDestroy(Sender: TObject); 164 | begin 165 | // Save the items positions and the current layout to the Ini file 166 | SpTBXCustomizer1.Save(FIniPath); 167 | end; 168 | 169 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 170 | { Layouts UI } 171 | 172 | procedure TForm1.FillLayoutList(CurrentLayout: string); 173 | var 174 | I: integer; 175 | begin 176 | // Fill the tLayouts combobox 177 | tLayouts.Items.Clear; 178 | for I := 0 to SpTBXCustomizer1.Layouts.Count - 1 do 179 | tLayouts.Items.Add(SpTBXCustomizer1.Layouts[I]); 180 | I := tLayouts.Items.IndexOf(CurrentLayout); 181 | if I > -1 then 182 | tLayouts.ItemIndex := I; 183 | end; 184 | 185 | procedure TForm1.tLayoutsItemClick(Sender: TObject); 186 | begin 187 | if tLayouts.ItemIndex > -1 then 188 | SpTBXCustomizer1.LoadLayout(FIniPath, tLayouts.Items[tLayouts.ItemIndex]); 189 | end; 190 | 191 | procedure TForm1.tLayoutSaveClick(Sender: TObject); 192 | var 193 | S: string; 194 | begin 195 | S := InputBox(_('Save Layout'), _('Save current layout as:'), ''); 196 | if S <> '' then begin 197 | SpTBXCustomizer1.SaveLayout(FIniPath, S); 198 | FillLayoutList(S); 199 | end; 200 | end; 201 | 202 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 203 | { Actions } 204 | 205 | procedure TForm1.ActionsExecute(Sender: TObject); 206 | begin 207 | if Sender is TSpTBXItem then 208 | Memo1.Lines.Add(TSpTBXItem(Sender).Caption); 209 | end; 210 | 211 | procedure TForm1.aCustomizeExecute(Sender: TObject); 212 | begin 213 | SpTBXCustomizer1.Show; 214 | end; 215 | 216 | procedure TForm1.aEmbeddedCustomizeExecute(Sender: TObject); 217 | begin 218 | if not Form2.Visible and not SpTBXCustomizer1.Showing then begin 219 | SpTBXCustomizer1.ShowEmbedded(Form2.ClientPanel); 220 | Form2.Show; 221 | Form2.tCustomize.Click; 222 | end; 223 | end; 224 | 225 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 226 | { Languages } 227 | 228 | procedure SpDxGetTextInitialize(LanguageCode: string; AComponents: array of TComponent; ShellFont: Boolean); 229 | // LanguageCode can be an ISO language code: 'en', 'es', 'ko' 230 | // And also can be the ISO code plus a description: '[en] English', '[es] Spanish', '[ko] Korean' 231 | var 232 | I, L: Integer; 233 | begin 234 | // Get the ISO language code 235 | L := Length(LanguageCode); 236 | if (L > 2) and (LanguageCode[1] = '[') then begin 237 | I := Pos(']', LanguageCode); 238 | if (I > 0) then 239 | LanguageCode := Copy(LanguageCode, 2, I - 2); 240 | end; 241 | 242 | if ShellFont then begin 243 | if (Win32Platform = VER_PLATFORM_WIN32_NT) and (Win32MajorVersion >= 5) then 244 | DefFontData.Name := 'MS Shell Dlg 2' 245 | else 246 | DefFontData.Name := 'MS Shell Dlg'; 247 | end; 248 | 249 | gnugettext.TP_GlobalIgnoreClassProperty(TAction,'Category'); 250 | gnugettext.TP_GlobalIgnoreClassProperty(TControl,'HelpKeyword'); 251 | gnugettext.TP_GlobalIgnoreClassProperty(TControl,'ImeName'); 252 | gnugettext.TP_GlobalIgnoreClass(Graphics.TFont); 253 | gnugettext.TP_GlobalIgnoreClass(TSpTBXTabSheet); 254 | 255 | gnugettext.UseLanguage(LanguageCode); 256 | for I := Low(AComponents) to High(AComponents) do 257 | gnugettext.TranslateComponent(AComponents[I]); 258 | end; 259 | 260 | procedure SpDxGetTextChangeLanguage(LanguageCode: string; AComponents: array of TComponent); 261 | // LanguageCode can be an ISO language code: 'en', 'es', 'ko' 262 | // And also can be the ISO code plus a description: '[en] English', '[es] Spanish', '[ko] Korean' 263 | var 264 | I, L: Integer; 265 | C: TComponent; 266 | begin 267 | // Get the ISO language code 268 | L := Length(LanguageCode); 269 | if (L > 2) and (LanguageCode[1] = '[') then begin 270 | I := Pos(']', LanguageCode); 271 | if (I > 0) then 272 | LanguageCode := Copy(LanguageCode, 2, I - 2); 273 | end; 274 | 275 | if LanguageCode <> gnugettext.GetCurrentLanguage then begin 276 | gnugettext.UseLanguage(LanguageCode); 277 | for I := Low(AComponents) to High(AComponents) do begin 278 | C := AComponents[I]; 279 | SpBeginUpdateAllToolbars(C); 280 | try 281 | gnugettext.ReTranslateComponent(C); 282 | finally 283 | SpEndUpdateAllToolbars(C); 284 | end; 285 | end; 286 | end; 287 | end; 288 | 289 | procedure TForm1.tLanguagesItemClick(Sender: TObject); 290 | var 291 | I: integer; 292 | begin 293 | I := tLanguages.ItemIndex; 294 | if I > -1 then begin 295 | tLanguages.Text := tLanguages.Items[I]; 296 | // Change language and retranslate 297 | if SpTBXCustomizer1.Showing then 298 | SpDxGetTextChangeLanguage(tLanguages.Text, [Self, Form2, SpTBXCustomizer1.CustomizeForm]) 299 | else 300 | SpDxGetTextChangeLanguage(tLanguages.Text, [Self, Form2]); 301 | end; 302 | end; 303 | 304 | procedure TForm1.SpTBXCustomizer1CreateCustomizeForm(Sender: TObject); 305 | begin 306 | // Don't translate the skins combobox 307 | gnugettext.TP_Ignore(SpTBXCustomizer1.CustomizeForm, 'cbSkins'); 308 | // Make sure the Customizer form is translated 309 | gnugettext.TranslateComponent(SpTBXCustomizer1.CustomizeForm); 310 | end; 311 | 312 | procedure TForm1.FormCreate(Sender: TObject); 313 | begin 314 | SpDxGetTextInitialize('en', [Self], True); 315 | tLanguages.Items.LoadFromFile('langcodes.txt'); 316 | tLanguages.ItemIndex := 2; 317 | 318 | FAppPath := IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName)); 319 | FIniPath := FAppPath + 'Options.ini'; 320 | 321 | // Load the text files 322 | Memo2.Lines.LoadFromFile(FAppPath + 'faq.txt'); 323 | Memo3.Lines.LoadFromFile(FAppPath + 'advanced.txt'); 324 | Memo4.Lines.LoadFromFile(FAppPath + 'translations.txt'); 325 | 326 | // Load the items positions and the last layout from the ini file 327 | SpTBXCustomizer1.Load(FIniPath); 328 | SpTBXCustomizer1.MenuBar := tbMenuBar; 329 | 330 | // Load the layout list 331 | FillLayoutList('LastLayout'); 332 | 333 | // Enable high DPI on the image list 334 | // Use TVirtualImageList! SpDPIScaleImageList(ImageList1); 335 | end; 336 | 337 | end. 338 | -------------------------------------------------------------------------------- /Demos/Customizer/Unit2.pas: -------------------------------------------------------------------------------- 1 | unit Unit2; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 | Dialogs, StdCtrls, ImgList, ExtCtrls, 8 | { gettext } 9 | gnugettext, 10 | { TB2K } 11 | TB2Item, TB2Dock, TB2Toolbar, SpTBXItem, SpTBXControls, SpTBXDkPanels; 12 | 13 | type 14 | TForm2 = class(TForm) 15 | SpTBXDock1: TSpTBXDock; 16 | SpTBXToolbar1: TSpTBXToolbar; 17 | SpTBXButton1: TSpTBXButton; 18 | SpTBXButton2: TSpTBXButton; 19 | SpTBXButton3: TSpTBXButton; 20 | ImageList1: TImageList; 21 | tProperties: TSpTBXItem; 22 | tPageSetup: TSpTBXItem; 23 | tHistory: TSpTBXItem; 24 | tFavorites: TSpTBXItem; 25 | tCustomize: TSpTBXItem; 26 | ClientPanel: TPanel; 27 | LeftPanel: TPanel; 28 | TitlePanel: TSpTBXLabel; 29 | ButtonsPanel: TSpTBXPanel; 30 | procedure SideBarClick(Sender: TObject); 31 | procedure FormClose(Sender: TObject; var Action: TCloseAction); 32 | procedure ButtonClick(Sender: TObject); 33 | procedure FormCreate(Sender: TObject); 34 | private 35 | { Private declarations } 36 | public 37 | { Public declarations } 38 | end; 39 | 40 | var 41 | Form2: TForm2; 42 | 43 | implementation 44 | 45 | uses 46 | Unit1; 47 | 48 | {$R *.dfm} 49 | 50 | procedure TForm2.ButtonClick(Sender: TObject); 51 | begin 52 | Close; 53 | end; 54 | 55 | procedure TForm2.SideBarClick(Sender: TObject); 56 | var 57 | Item: TSpTBXItem; 58 | begin 59 | if Sender is TSpTBXItem then begin 60 | Item := Sender as TSpTBXItem; 61 | Item.Checked := True; 62 | TitlePanel.Caption := Item.Caption; 63 | ClientPanel.Visible := Item = tCustomize; 64 | end; 65 | end; 66 | 67 | procedure TForm2.FormClose(Sender: TObject; var Action: TCloseAction); 68 | begin 69 | // We need to close the customizer form manually here 70 | Form1.SpTBXCustomizer1.Close; 71 | end; 72 | 73 | procedure TForm2.FormCreate(Sender: TObject); 74 | begin 75 | gnugettext.TranslateComponent(Self); 76 | end; 77 | 78 | end. 79 | -------------------------------------------------------------------------------- /Demos/Customizer/advanced.txt: -------------------------------------------------------------------------------- 1 | 2 | Advanced Techniques: 3 | 4 | 1) How can I embed the customizer? 5 | 6 | You can embed the customizer to another control, but the form of this control cannot be modal or the drag & drop will not work. 7 | You also need to close the customizer explicitly by calling the Close method. 8 | 9 | SpTBXCustomizer1.ShowEmbedded(Panel1); 10 | 11 | 2) How can I store more options related to the items customizations? 12 | 13 | To load and store your custom data use the OnLoad and OnSave events: 14 | 15 | procedure TForm1.SpTBXCustomizer1Save(Sender: TObject; 16 | LayoutName: String; ExtraOptions: TStringList); 17 | begin 18 | // Save the Form's font size 19 | ExtraOptions.Values['FontSize'] := IntToStr(Font.Size); 20 | end; 21 | 22 | procedure TForm1.SpTBXCustomizer1Load(Sender: 23 | TObject; LayoutName: String; ExtraOptions: TStringList); 24 | var 25 | S: string; 26 | begin 27 | // Restore the Form's font size 28 | S := ExtraOptions.Values['FontSize']; 29 | if S <> '' then 30 | Font.Size := StrToInt(S); 31 | end; 32 | 33 | 3) How can I store more options related to a specific layout? 34 | 35 | The layout is just the position and visibility of the toolbars and dockable panels, but you can store more options related to a layout. 36 | To load and store your custom data use the OnLayoutLoad and OnLayoutSave events: 37 | 38 | procedure TForm1.SpTBXCustomizer1LayoutSave(Sender: 39 | TObject; 40 | LayoutName: String; ExtraOptions: TStringList); 41 | begin 42 | // Save the Form's WindowState 43 | ExtraOptions.Values['MyOption'] := IntToStr(Ord(WindowState)); 44 | end; 45 | 46 | procedure TForm1.SpTBXCustomizer1LayoutLoad(Sender: 47 | TObject; LayoutName: String; ExtraOptions: TStringList); 48 | var 49 | S: string; 50 | begin 51 | // Restore the Form's WindowState 52 | S := ExtraOptions.Values['MyOption']; 53 | if S <> '' then 54 | WindowState := TWindowState(StrToInt(S)); 55 | end; -------------------------------------------------------------------------------- /Demos/Customizer/faq.txt: -------------------------------------------------------------------------------- 1 | 2 | TSpTBXCustomizer FAQ: 3 | 4 | 1) What is it? 5 | 6 | TSpTBXCustomizer is a SpTBXLib toolbar customization component. 7 | It allows you to save the toolbars and dockable panels layout and customize the toolbars items. 8 | 9 | 2) How do I start using it? 10 | 11 | Double click the TSpTBXCustomizer or use the Items property to add your custom commands. 12 | Use the ImageList property to hook the images to the commands, and the Menubar property to fill the shortcuts list. 13 | To show the customizer at runtime use the Show method. 14 | 15 | 3) How do I load and save the items customizations? 16 | 17 | You can load and save to the Registry or to an Ini file, call the Load method from the Form.OnShow event, and the Save method from the Form.OnDestroy event: 18 | 19 | SpTBXCustomizer1.Load('C:\Options.ini'); 20 | 21 | SpTBXCustomizer1.Save('C:\Options.ini'); 22 | 23 | SpTBXCustomizer1.Load(HKEY_CURRENT_USER, 24 | 'Software\Silverpointdev\CustomizerDemo'); 25 | 26 | SpTBXCustomizer1.Save(HKEY_CURRENT_USER, 27 | 'Software\Silverpointdev\CustomizerDemo'); 28 | 29 | 4) How do I load a specific layout? 30 | 31 | Once the toolbar layouts are loaded you can access the available layouts through the Layouts property. 32 | To load a specific layout use the LoadLayout method. 33 | To save the current layout use the SaveLayout method. -------------------------------------------------------------------------------- /Demos/Customizer/langcodes.txt: -------------------------------------------------------------------------------- 1 | [ar] Arabic 2 | [de] German 3 | [en] English 4 | [es] Spanish 5 | [fi] Finnish 6 | [fr] French 7 | [ja] Japanese 8 | [ko] Korean 9 | [nl] Dutch 10 | [pt_BR] Brazilian Portuguese 11 | [ru] Russian 12 | [sr_Cyrillic] Serbian Cyrillic 13 | [sr_Latin] Serbian Latin 14 | [sv] Swedish 15 | [tr] Turkish 16 | [uk] Ukranian 17 | [zh_CN] Chinese -------------------------------------------------------------------------------- /Demos/Customizer/locale/ar/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/ar/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/de/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/de/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/default.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: Customizer Demo\n" 9 | "POT-Creation-Date: 2005-08-09 16:55\n" 10 | "PO-Revision-Date: 2009-09-04 22:58-0300\n" 11 | "Last-Translator: \n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "X-Generator: dxgettext 1.2\n" 16 | "Language-Team: \n" 17 | 18 | #. Form1..SpTBXDock1..tbStandard..Caption 19 | #: Unit1.dfm:29 20 | msgid "Standard" 21 | msgstr "" 22 | 23 | #. Form1..SpTBXDock1..tbStandard..tNew..CaptionW 24 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mNew..CaptionW 25 | #. Form1..TntActionList1..aNew..Caption 26 | #: Unit1.dfm:37 27 | #: Unit1.dfm:159 28 | #: Unit1.dfm:1559 29 | msgid "New" 30 | msgstr "" 31 | 32 | #. Form1..SpTBXDock1..tbStandard..tOpen..CaptionW 33 | #: Unit1.dfm:41 34 | msgid "Open" 35 | msgstr "" 36 | 37 | #. Form1..SpTBXDock1..tbStandard..tSave..CaptionW 38 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mSave..CaptionW 39 | #. Form1..SpTBXDock1..tbLayouts..Layouts..tLayoutSave..CaptionW 40 | #. Form1..TntActionList1..aSave..Caption 41 | #: Unit1.dfm:45 42 | #: Unit1.dfm:167 43 | #: Unit1.dfm:318 44 | #: Unit1.dfm:1573 45 | msgid "Save" 46 | msgstr "" 47 | 48 | #. Form1..SpTBXDock1..tbStandard..tCut..CaptionW 49 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mCut..CaptionW 50 | #. Form1..TntActionList1..aCut..Caption 51 | #: Unit1.dfm:51 52 | #: Unit1.dfm:184 53 | #: Unit1.dfm:1585 54 | msgid "Cut" 55 | msgstr "" 56 | 57 | #. Form1..SpTBXDock1..tbStandard..tCopy..CaptionW 58 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mCopy..CaptionW 59 | #. Form1..TntActionList1..aCopy..Caption 60 | #: Unit1.dfm:55 61 | #: Unit1.dfm:188 62 | #: Unit1.dfm:1592 63 | msgid "Copy" 64 | msgstr "" 65 | 66 | #. Form1..SpTBXDock1..tbStandard..tPaste..CaptionW 67 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mPaste..CaptionW 68 | #. Form1..TntActionList1..aPaste..Caption 69 | #: Unit1.dfm:60 70 | #: Unit1.dfm:192 71 | #: Unit1.dfm:1599 72 | msgid "Paste" 73 | msgstr "" 74 | 75 | #. Form1..SpTBXDock1..tbStandard..tFind..CaptionW 76 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mFind..CaptionW 77 | #. Form1..TntActionList1..aFind..Caption 78 | #: Unit1.dfm:67 79 | #: Unit1.dfm:206 80 | #: Unit1.dfm:1612 81 | msgid "Find" 82 | msgstr "" 83 | 84 | #. Form1..SpTBXDock1..tbStandard..tThemes..CaptionW 85 | #: Unit1.dfm:73 86 | msgid "Themes" 87 | msgstr "" 88 | 89 | #. Form1..SpTBXDock1..tbFormat..Caption 90 | #. Form1..TntActionList1..aBold..Category 91 | #. Form1..TntActionList1..aItalic..Category 92 | #. Form1..TntActionList1..aUnderline..Category 93 | #. Form1..TntActionList1..aLeftJustify..Category 94 | #. Form1..TntActionList1..aRightJustify..Category 95 | #. Form1..TntActionList1..aCentered..Category 96 | #. Form1..TntActionList1..aBullets..Category 97 | #. Form1..TntActionList1..aNumberedBullets..Category 98 | #: Unit1.dfm:99 99 | #: Unit1.dfm:1618 100 | #: Unit1.dfm:1625 101 | #: Unit1.dfm:1632 102 | #: Unit1.dfm:1639 103 | #: Unit1.dfm:1645 104 | #: Unit1.dfm:1651 105 | #: Unit1.dfm:1657 106 | #: Unit1.dfm:1663 107 | msgid "Format" 108 | msgstr "" 109 | 110 | #. Form1..SpTBXDock1..tbFormat..tFont..Caption 111 | #: Unit1.dfm:106 112 | msgid "Font Name" 113 | msgstr "" 114 | 115 | #. Form1..SpTBXDock1..tbFormat..tFontSize..Caption 116 | #: Unit1.dfm:116 117 | msgid "Font Size" 118 | msgstr "" 119 | 120 | #. Form1..SpTBXDock1..tbFormat..tBold..CaptionW 121 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBold..CaptionW 122 | #. Form1..TntActionList1..aBold..Caption 123 | #: Unit1.dfm:132 124 | #: Unit1.dfm:213 125 | #: Unit1.dfm:1619 126 | msgid "Bold" 127 | msgstr "" 128 | 129 | #. Form1..SpTBXDock1..tbFormat..tItalic..CaptionW 130 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mItalic..CaptionW 131 | #. Form1..TntActionList1..aItalic..Caption 132 | #: Unit1.dfm:136 133 | #: Unit1.dfm:217 134 | #: Unit1.dfm:1626 135 | msgid "Italic" 136 | msgstr "" 137 | 138 | #. Form1..SpTBXDock1..tbFormat..tUnderline..CaptionW 139 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mUnderline..CaptionW 140 | #. Form1..TntActionList1..aUnderline..Caption 141 | #: Unit1.dfm:140 142 | #: Unit1.dfm:221 143 | #: Unit1.dfm:1633 144 | msgid "Underline" 145 | msgstr "" 146 | 147 | #. Form1..SpTBXDock1..tbMenuBar..Caption 148 | #: Unit1.dfm:146 149 | msgid "Menu" 150 | msgstr "" 151 | 152 | #. Form1..SpTBXDock1..tbMenuBar..mFile..CaptionW 153 | #: Unit1.dfm:156 154 | msgid "&File" 155 | msgstr "" 156 | 157 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mOpen..CaptionW 158 | #. Form1..TntActionList1..aOpen..Caption 159 | #: Unit1.dfm:163 160 | #: Unit1.dfm:1566 161 | msgid "Open..." 162 | msgstr "" 163 | 164 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mPrint..CaptionW 165 | #. Form1..TntActionList1..aPrint..Caption 166 | #. Form1..SpTBXCustomizer1..cPrint..CaptionW 167 | #: Unit1.dfm:171 168 | #: Unit1.dfm:1670 169 | #: Unit1.dfm:1744 170 | msgid "Print" 171 | msgstr "" 172 | 173 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mExit..CaptionW 174 | #. Form1..TntActionList1..aExit..Caption 175 | #. Form1..SpTBXCustomizer1..cExit..CaptionW 176 | #: Unit1.dfm:177 177 | #: Unit1.dfm:1580 178 | #: Unit1.dfm:1776 179 | msgid "Exit" 180 | msgstr "" 181 | 182 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..CaptionW 183 | #: Unit1.dfm:181 184 | msgid "&Edit" 185 | msgstr "" 186 | 187 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mSelectAll..CaptionW 188 | #. Form1..TntActionList1..aSelectAll..Caption 189 | #. Form1..SpTBXCustomizer1..cSelectAll..CaptionW 190 | #: Unit1.dfm:198 191 | #: Unit1.dfm:1606 192 | #: Unit1.dfm:1772 193 | msgid "Select All" 194 | msgstr "" 195 | 196 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..CaptionW 197 | #: Unit1.dfm:210 198 | msgid "&Format" 199 | msgstr "" 200 | 201 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mLeftJustify..CaptionW 202 | #. Form1..TntActionList1..aLeftJustify..Caption 203 | #. Form1..SpTBXCustomizer1..cLeftJustify..CaptionW 204 | #: Unit1.dfm:227 205 | #: Unit1.dfm:1640 206 | #: Unit1.dfm:1748 207 | msgid "Left Justify" 208 | msgstr "" 209 | 210 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mCentered..CaptionW 211 | #. Form1..TntActionList1..aCentered..Caption 212 | #. Form1..SpTBXCustomizer1..cCentered..CaptionW 213 | #: Unit1.dfm:231 214 | #: Unit1.dfm:1652 215 | #: Unit1.dfm:1752 216 | msgid "Centered" 217 | msgstr "" 218 | 219 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mRightJustify..CaptionW 220 | #. Form1..TntActionList1..aRightJustify..Caption 221 | #. Form1..SpTBXCustomizer1..cRightJustify..CaptionW 222 | #: Unit1.dfm:235 223 | #: Unit1.dfm:1646 224 | #: Unit1.dfm:1756 225 | msgid "Right Justify" 226 | msgstr "" 227 | 228 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBullets..CaptionW 229 | #. Form1..TntActionList1..aBullets..Caption 230 | #. Form1..SpTBXCustomizer1..cBullets..CaptionW 231 | #: Unit1.dfm:241 232 | #: Unit1.dfm:1658 233 | #: Unit1.dfm:1760 234 | msgid "Bullets" 235 | msgstr "" 236 | 237 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mNumberedBullets..CaptionW 238 | #. Form1..TntActionList1..aNumberedBullets..Caption 239 | #. Form1..SpTBXCustomizer1..cNumBullets..CaptionW 240 | #: Unit1.dfm:245 241 | #: Unit1.dfm:1664 242 | #: Unit1.dfm:1764 243 | msgid "Numbered Bullets" 244 | msgstr "" 245 | 246 | #. Form1..SpTBXDock1..tbMenuBar..mView..CaptionW 247 | #: Unit1.dfm:249 248 | msgid "&View" 249 | msgstr "" 250 | 251 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..CaptionW 252 | #: Unit1.dfm:251 253 | msgid "&Sidebar" 254 | msgstr "" 255 | 256 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mCommandsLog..CaptionW 257 | #: Unit1.dfm:254 258 | msgid "&Commands Log" 259 | msgstr "" 260 | 261 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mOptions..CaptionW 262 | #: Unit1.dfm:258 263 | msgid "&Options" 264 | msgstr "" 265 | 266 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mmHelp..CaptionW 267 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..CaptionW 268 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mmmHelp..CaptionW 269 | #: Unit1.dfm:262 270 | #: Unit1.dfm:286 271 | #: Unit1.dfm:288 272 | msgid "&Help" 273 | msgstr "" 274 | 275 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..CaptionW 276 | #: Unit1.dfm:266 277 | msgid "&Toolbars" 278 | msgstr "" 279 | 280 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mStandardToolbar..CaptionW 281 | #: Unit1.dfm:269 282 | msgid "&Standard Toolbar" 283 | msgstr "" 284 | 285 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..tLayoutsToolbar..CaptionW 286 | #: Unit1.dfm:273 287 | msgid "&Layouts Toolbar" 288 | msgstr "" 289 | 290 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mFormattingToolbar..CaptionW 291 | #: Unit1.dfm:277 292 | msgid "&Formatting Toolbar" 293 | msgstr "" 294 | 295 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mNavigationToolbar..CaptionW 296 | #: Unit1.dfm:281 297 | msgid "&Navigation Toolbar" 298 | msgstr "" 299 | 300 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mAbout..CaptionW 301 | #: Unit1.dfm:291 302 | msgid "&About" 303 | msgstr "" 304 | 305 | #. Form1..SpTBXDock1..tbLayouts..Caption 306 | #. Form1..SpTBXDock1..tbLayouts..Layouts..SpTBXLabelItem1..CaptionW 307 | #. Form1..SpTBXDock1..tbLayouts..Layouts..tLayouts..Caption 308 | #: Unit1.dfm:298 309 | #: Unit1.dfm:305 310 | #: Unit1.dfm:308 311 | msgid "Layouts" 312 | msgstr "" 313 | 314 | #. Form1..SpTBXMultiDock1..dpLog..Caption 315 | #: Unit1.dfm:332 316 | msgid "Commands Log" 317 | msgstr "" 318 | 319 | #. Form1..SpTBXMultiDock1..dpOptions..Caption 320 | #: Unit1.dfm:352 321 | msgid "Customizer Options" 322 | msgstr "" 323 | 324 | #. Form1..SpTBXMultiDock2..dpHelp..Caption 325 | #: Unit1.dfm:368 326 | msgid "Help" 327 | msgstr "" 328 | 329 | #. Form1..SpTBXMultiDock2..dpHelp..SpTBXLabel1..Caption 330 | #: Unit1.dfm:380 331 | msgid "Right click the toolbars to customize them" 332 | msgstr "" 333 | 334 | #. Form1..SpTBXDock2..tbNavigation..Caption 335 | #. Form1..TntActionList1..aBack..Category 336 | #. Form1..TntActionList1..aForward..Category 337 | #. Form1..TntActionList1..aStop..Category 338 | #. Form1..TntActionList1..aRefresh..Category 339 | #. Form1..TntActionList1..aSearch..Category 340 | #. Form1..TntActionList1..aFavs..Category 341 | #: Unit1.dfm:402 342 | #: Unit1.dfm:1675 343 | #: Unit1.dfm:1681 344 | #: Unit1.dfm:1687 345 | #: Unit1.dfm:1693 346 | #: Unit1.dfm:1699 347 | #: Unit1.dfm:1705 348 | msgid "Navigation" 349 | msgstr "" 350 | 351 | #. Form1..SpTBXDock2..tbNavigation..tBack..CaptionW 352 | #. Form1..TntActionList1..aBack..Caption 353 | #: Unit1.dfm:409 354 | #: Unit1.dfm:1676 355 | msgid "Back" 356 | msgstr "" 357 | 358 | #. Form1..SpTBXDock2..tbNavigation..tForward..CaptionW 359 | #. Form1..TntActionList1..aForward..Caption 360 | #: Unit1.dfm:413 361 | #: Unit1.dfm:1682 362 | msgid "Forward" 363 | msgstr "" 364 | 365 | #. Form1..SpTBXDock2..tbNavigation..tRefresh..CaptionW 366 | #. Form1..TntActionList1..aRefresh..Caption 367 | #: Unit1.dfm:417 368 | #: Unit1.dfm:1694 369 | msgid "Refresh" 370 | msgstr "" 371 | 372 | #. Form1..SpTBXDock2..tbNavigation..tStop..CaptionW 373 | #. Form1..TntActionList1..aStop..Caption 374 | #: Unit1.dfm:421 375 | #: Unit1.dfm:1688 376 | msgid "Stop" 377 | msgstr "" 378 | 379 | #. Form1..SpTBXDock2..tbNavigation..tSearch..CaptionW 380 | #. Form1..TntActionList1..aSearch..Caption 381 | #: Unit1.dfm:425 382 | #: Unit1.dfm:1700 383 | msgid "Search" 384 | msgstr "" 385 | 386 | #. Form1..TntActionList1..aNew..Category 387 | #. Form1..TntActionList1..aOpen..Category 388 | #. Form1..TntActionList1..aSave..Category 389 | #. Form1..TntActionList1..aExit..Category 390 | #. Form1..TntActionList1..aPrint..Category 391 | #: Unit1.dfm:1558 392 | #: Unit1.dfm:1565 393 | #: Unit1.dfm:1572 394 | #: Unit1.dfm:1579 395 | #: Unit1.dfm:1669 396 | msgid "Files" 397 | msgstr "" 398 | 399 | #. Form1..TntActionList1..aCut..Category 400 | #. Form1..TntActionList1..aCopy..Category 401 | #. Form1..TntActionList1..aPaste..Category 402 | #. Form1..TntActionList1..aSelectAll..Category 403 | #. Form1..TntActionList1..aFind..Category 404 | #: Unit1.dfm:1584 405 | #: Unit1.dfm:1591 406 | #: Unit1.dfm:1598 407 | #: Unit1.dfm:1605 408 | #: Unit1.dfm:1611 409 | msgid "Edit" 410 | msgstr "" 411 | 412 | #. Form1..TntActionList1..aCustomize..Category 413 | #. Form1..TntActionList1..aEmbeddedCustomize..Category 414 | #: Unit1.dfm:1711 415 | #: Unit1.dfm:1716 416 | msgid "Customization" 417 | msgstr "" 418 | 419 | #. Form1..TntActionList1..aCustomize..Caption 420 | #. Form1..SpTBXPopupMenu1..pCustomize..CaptionW 421 | #: Unit1.dfm:1712 422 | #: Unit1.dfm:1731 423 | msgid "Customize..." 424 | msgstr "" 425 | 426 | #. Form1..TntActionList1..aEmbeddedCustomize..Caption 427 | #. Form1..SpTBXPopupMenu1..pEmbeddedCustomize..CaptionW 428 | #: Unit1.dfm:1717 429 | #: Unit1.dfm:1735 430 | msgid "Embedded Customize..." 431 | msgstr "" 432 | 433 | #. Form2..Caption 434 | #: Unit2.dfm:7 435 | msgid "Options" 436 | msgstr "" 437 | 438 | #. Form2..SpTBXDock1..SpTBXToolbar1..tProperties..CaptionW 439 | #: Unit2.dfm:49 440 | msgid "Properties" 441 | msgstr "" 442 | 443 | #. Form2..SpTBXDock1..SpTBXToolbar1..tPageSetup..CaptionW 444 | #: Unit2.dfm:58 445 | msgid "Page Setup" 446 | msgstr "" 447 | 448 | #. Form2..SpTBXDock1..SpTBXToolbar1..tHistory..CaptionW 449 | #: Unit2.dfm:67 450 | msgid "History" 451 | msgstr "" 452 | 453 | #. Form2..SpTBXDock1..SpTBXToolbar1..tFavorites..CaptionW 454 | #: Unit2.dfm:76 455 | msgid "Favorites" 456 | msgstr "" 457 | 458 | #. Form2..SpTBXDock1..SpTBXToolbar1..tCustomize..CaptionW 459 | #. Form2..LeftPanel..TitlePanel..Caption 460 | #: Unit2.dfm:85 461 | #: Unit2.dfm:168 462 | msgid "Customizer" 463 | msgstr "" 464 | 465 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton1..Caption 466 | #: Unit2.dfm:122 467 | msgid "OK" 468 | msgstr "" 469 | 470 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton2..Caption 471 | #: Unit2.dfm:137 472 | msgid "Cancel" 473 | msgstr "" 474 | 475 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton3..Caption 476 | #: Unit2.dfm:152 477 | msgid "Apply" 478 | msgstr "" 479 | 480 | #: Unit1.pas:235 481 | msgid "Save Layout" 482 | msgstr "" 483 | 484 | #: Unit1.pas:235 485 | msgid "Save current layout as:" 486 | msgstr "" 487 | 488 | # Customizer Form 489 | msgid "Toolbars" 490 | msgstr "" 491 | 492 | msgid "Commands" 493 | msgstr "" 494 | 495 | msgid "Shortcuts" 496 | msgstr "" 497 | 498 | msgid "&Default Options" 499 | msgstr "" 500 | 501 | msgid "&Close" 502 | msgstr "" 503 | 504 | msgid "&Visible" 505 | msgstr "" 506 | 507 | msgid "T&ext Options" 508 | msgstr "" 509 | 510 | msgid "Icons + Selective Text" 511 | msgstr "" 512 | 513 | msgid "Icons" 514 | msgstr "" 515 | 516 | msgid "Icons + Text" 517 | msgstr "" 518 | 519 | msgid "Text" 520 | msgstr "" 521 | 522 | msgid "&Icon Options" 523 | msgstr "" 524 | 525 | msgid "Large Icons" 526 | msgstr "" 527 | 528 | msgid "Small Icons" 529 | msgstr "" 530 | 531 | msgid "&Skins" 532 | msgstr "" 533 | 534 | msgid "C&hange" 535 | msgstr "" 536 | 537 | msgid "[ Separator ]" 538 | msgstr "" 539 | 540 | msgid "[ Blank Separator ]" 541 | msgstr "" 542 | 543 | msgid "To add command buttons, drag and drop commands onto a toolbar. To remove command buttons, drag them off the toolbar and drop them on the commands list." 544 | msgstr "" 545 | 546 | msgid "Change Shortcut" 547 | msgstr "" 548 | 549 | msgid "The shortcut is already being used by the \"%s\" command. Do you want to reassign it to the \"%s\" command?" 550 | msgstr "" 551 | 552 | # ColorEdit Form 553 | msgid "Transparent Color" 554 | msgstr "" 555 | 556 | msgid "Color Picker" 557 | msgstr "" 558 | 559 | msgid "Drag && Drop" 560 | msgstr "" 561 | 562 | -------------------------------------------------------------------------------- /Demos/Customizer/locale/es/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/es/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/fi/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/fi/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/fr/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/fr/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/ignore.po: -------------------------------------------------------------------------------- 1 | #. Form1..SpTBXTabControl1..SpTBXTabItem2..CaptionW 2 | #: Unit1.dfm:445 3 | #. Form1..SpTBXTabControl1..SpTBXTabSheet2..Caption 4 | #: Unit1.dfm:452 5 | msgid "Advanced Techniques.txt" 6 | msgstr "" 7 | 8 | #. Form1..SpTBXTabControl1..SpTBXTabItem1..CaptionW 9 | #: Unit1.dfm:441 10 | #. Form1..SpTBXTabControl1..SpTBXTabSheet1..Caption 11 | #: Unit1.dfm:471 12 | msgid "FAQ.txt" 13 | msgstr "" 14 | 15 | # Doesn't look like text 16 | #. Form1..Caption 17 | #: Unit1.dfm:6 18 | msgid "Form1" 19 | msgstr "" 20 | 21 | # Seems like a Font.Name extract 22 | #. Form1..Font.Name 23 | #: Unit1.dfm:11 24 | #. Form1..SpTBXMultiDock2..dpHelp..SpTBXLabel1..LinkFont.Name 25 | #: Unit1.dfm:387 26 | #. Form2..Font.Name 27 | #: Unit2.dfm:14 28 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton1..LinkFont.Name 29 | #: Unit2.dfm:129 30 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton2..LinkFont.Name 31 | #: Unit2.dfm:144 32 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton3..LinkFont.Name 33 | #: Unit2.dfm:159 34 | #. Form2..LeftPanel..TitlePanel..LinkFont.Name 35 | #: Unit2.dfm:182 36 | msgid "MS Shell Dlg 2" 37 | msgstr "" 38 | 39 | # Doesn't look like text 40 | #. Form1..SpTBXTabControl1..SpTBXTabSheet1..TabItem 41 | #: Unit1.dfm:473 42 | msgid "SpTBXTabItem1" 43 | msgstr "" 44 | 45 | # Doesn't look like text 46 | #. Form1..SpTBXTabControl1..SpTBXTabSheet2..TabItem 47 | #: Unit1.dfm:454 48 | msgid "SpTBXTabItem2" 49 | msgstr "" 50 | 51 | # Doesn't look like text 52 | #. Form2..SpTBXDock1..SpTBXToolbar1..Caption 53 | #: Unit2.dfm:32 54 | msgid "SpTBXToolbar1" 55 | msgstr "" 56 | 57 | # Seems like a Font.Name extract 58 | #. Form2..LeftPanel..TitlePanel..Font.Name 59 | #: Unit2.dfm:175 60 | msgid "Tahoma" 61 | msgstr "" 62 | 63 | -------------------------------------------------------------------------------- /Demos/Customizer/locale/ja/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/ja/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/ja/LC_MESSAGES/default.po: -------------------------------------------------------------------------------- 1 | # 2 | msgid "" 3 | msgstr "" 4 | "Project-Id-Version: Customizer Demo\n" 5 | "POT-Creation-Date: 2005-08-09 16:55\n" 6 | "PO-Revision-Date: 2010-02-15 21:20-0300\n" 7 | "Last-Translator: \n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: dxgettext 1.2\n" 12 | "Language-Team: \n" 13 | 14 | #. Form1..SpTBXDock1..tbStandard..Caption 15 | #: Unit1.dfm:29 16 | msgid "Standard" 17 | msgstr "標準" 18 | 19 | #. Form1..SpTBXDock1..tbStandard..tNew..CaptionW 20 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mNew..CaptionW 21 | #. Form1..TntActionList1..aNew..Caption 22 | #: Unit1.dfm:37 23 | #: Unit1.dfm:159 24 | #: Unit1.dfm:1559 25 | msgid "New" 26 | msgstr "新規" 27 | 28 | #. Form1..SpTBXDock1..tbStandard..tOpen..CaptionW 29 | #: Unit1.dfm:41 30 | msgid "Open" 31 | msgstr "開く" 32 | 33 | #. Form1..SpTBXDock1..tbStandard..tSave..CaptionW 34 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mSave..CaptionW 35 | #. Form1..SpTBXDock1..tbLayouts..Layouts..tLayoutSave..CaptionW 36 | #. Form1..TntActionList1..aSave..Caption 37 | #: Unit1.dfm:45 38 | #: Unit1.dfm:167 39 | #: Unit1.dfm:318 40 | #: Unit1.dfm:1573 41 | msgid "Save" 42 | msgstr "保存" 43 | 44 | #. Form1..SpTBXDock1..tbStandard..tCut..CaptionW 45 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mCut..CaptionW 46 | #. Form1..TntActionList1..aCut..Caption 47 | #: Unit1.dfm:51 48 | #: Unit1.dfm:184 49 | #: Unit1.dfm:1585 50 | msgid "Cut" 51 | msgstr "切り取り" 52 | 53 | #. Form1..SpTBXDock1..tbStandard..tCopy..CaptionW 54 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mCopy..CaptionW 55 | #. Form1..TntActionList1..aCopy..Caption 56 | #: Unit1.dfm:55 57 | #: Unit1.dfm:188 58 | #: Unit1.dfm:1592 59 | msgid "Copy" 60 | msgstr "コピー" 61 | 62 | #. Form1..SpTBXDock1..tbStandard..tPaste..CaptionW 63 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mPaste..CaptionW 64 | #. Form1..TntActionList1..aPaste..Caption 65 | #: Unit1.dfm:60 66 | #: Unit1.dfm:192 67 | #: Unit1.dfm:1599 68 | msgid "Paste" 69 | msgstr "貼り付け" 70 | 71 | #. Form1..SpTBXDock1..tbStandard..tFind..CaptionW 72 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mFind..CaptionW 73 | #. Form1..TntActionList1..aFind..Caption 74 | #: Unit1.dfm:67 75 | #: Unit1.dfm:206 76 | #: Unit1.dfm:1612 77 | msgid "Find" 78 | msgstr "検索" 79 | 80 | #. Form1..SpTBXDock1..tbStandard..tThemes..CaptionW 81 | #: Unit1.dfm:73 82 | msgid "Themes" 83 | msgstr "テーマ" 84 | 85 | #. Form1..SpTBXDock1..tbFormat..Caption 86 | #. Form1..TntActionList1..aBold..Category 87 | #. Form1..TntActionList1..aItalic..Category 88 | #. Form1..TntActionList1..aUnderline..Category 89 | #. Form1..TntActionList1..aLeftJustify..Category 90 | #. Form1..TntActionList1..aRightJustify..Category 91 | #. Form1..TntActionList1..aCentered..Category 92 | #. Form1..TntActionList1..aBullets..Category 93 | #. Form1..TntActionList1..aNumberedBullets..Category 94 | #: Unit1.dfm:99 95 | #: Unit1.dfm:1618 96 | #: Unit1.dfm:1625 97 | #: Unit1.dfm:1632 98 | #: Unit1.dfm:1639 99 | #: Unit1.dfm:1645 100 | #: Unit1.dfm:1651 101 | #: Unit1.dfm:1657 102 | #: Unit1.dfm:1663 103 | msgid "Format" 104 | msgstr "書式" 105 | 106 | #. Form1..SpTBXDock1..tbFormat..tFont..Caption 107 | #: Unit1.dfm:106 108 | msgid "Font Name" 109 | msgstr "フォント名" 110 | 111 | #. Form1..SpTBXDock1..tbFormat..tFontSize..Caption 112 | #: Unit1.dfm:116 113 | msgid "Font Size" 114 | msgstr "フォントサイズ" 115 | 116 | #. Form1..SpTBXDock1..tbFormat..tBold..CaptionW 117 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBold..CaptionW 118 | #. Form1..TntActionList1..aBold..Caption 119 | #: Unit1.dfm:132 120 | #: Unit1.dfm:213 121 | #: Unit1.dfm:1619 122 | msgid "Bold" 123 | msgstr "太字" 124 | 125 | #. Form1..SpTBXDock1..tbFormat..tItalic..CaptionW 126 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mItalic..CaptionW 127 | #. Form1..TntActionList1..aItalic..Caption 128 | #: Unit1.dfm:136 129 | #: Unit1.dfm:217 130 | #: Unit1.dfm:1626 131 | msgid "Italic" 132 | msgstr "斜体" 133 | 134 | #. Form1..SpTBXDock1..tbFormat..tUnderline..CaptionW 135 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mUnderline..CaptionW 136 | #. Form1..TntActionList1..aUnderline..Caption 137 | #: Unit1.dfm:140 138 | #: Unit1.dfm:221 139 | #: Unit1.dfm:1633 140 | msgid "Underline" 141 | msgstr "下線" 142 | 143 | #. Form1..SpTBXDock1..tbMenuBar..Caption 144 | #: Unit1.dfm:146 145 | msgid "Menu" 146 | msgstr "メニュー" 147 | 148 | #. Form1..SpTBXDock1..tbMenuBar..mFile..CaptionW 149 | #: Unit1.dfm:156 150 | msgid "&File" 151 | msgstr "ファイル(&F)" 152 | 153 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mOpen..CaptionW 154 | #. Form1..TntActionList1..aOpen..Caption 155 | #: Unit1.dfm:163 156 | #: Unit1.dfm:1566 157 | msgid "Open..." 158 | msgstr "開く..." 159 | 160 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mPrint..CaptionW 161 | #. Form1..TntActionList1..aPrint..Caption 162 | #. Form1..SpTBXCustomizer1..cPrint..CaptionW 163 | #: Unit1.dfm:171 164 | #: Unit1.dfm:1670 165 | #: Unit1.dfm:1744 166 | msgid "Print" 167 | msgstr "印刷" 168 | 169 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mExit..CaptionW 170 | #. Form1..TntActionList1..aExit..Caption 171 | #. Form1..SpTBXCustomizer1..cExit..CaptionW 172 | #: Unit1.dfm:177 173 | #: Unit1.dfm:1580 174 | #: Unit1.dfm:1776 175 | msgid "Exit" 176 | msgstr "終了" 177 | 178 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..CaptionW 179 | #: Unit1.dfm:181 180 | msgid "&Edit" 181 | msgstr "編集(&E)" 182 | 183 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mSelectAll..CaptionW 184 | #. Form1..TntActionList1..aSelectAll..Caption 185 | #. Form1..SpTBXCustomizer1..cSelectAll..CaptionW 186 | #: Unit1.dfm:198 187 | #: Unit1.dfm:1606 188 | #: Unit1.dfm:1772 189 | msgid "Select All" 190 | msgstr "すべて選択" 191 | 192 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..CaptionW 193 | #: Unit1.dfm:210 194 | msgid "&Format" 195 | msgstr "書式(&F)" 196 | 197 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mLeftJustify..CaptionW 198 | #. Form1..TntActionList1..aLeftJustify..Caption 199 | #. Form1..SpTBXCustomizer1..cLeftJustify..CaptionW 200 | #: Unit1.dfm:227 201 | #: Unit1.dfm:1640 202 | #: Unit1.dfm:1748 203 | msgid "Left Justify" 204 | msgstr "左寄せ" 205 | 206 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mCentered..CaptionW 207 | #. Form1..TntActionList1..aCentered..Caption 208 | #. Form1..SpTBXCustomizer1..cCentered..CaptionW 209 | #: Unit1.dfm:231 210 | #: Unit1.dfm:1652 211 | #: Unit1.dfm:1752 212 | msgid "Centered" 213 | msgstr "中央" 214 | 215 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mRightJustify..CaptionW 216 | #. Form1..TntActionList1..aRightJustify..Caption 217 | #. Form1..SpTBXCustomizer1..cRightJustify..CaptionW 218 | #: Unit1.dfm:235 219 | #: Unit1.dfm:1646 220 | #: Unit1.dfm:1756 221 | msgid "Right Justify" 222 | msgstr "右寄せ" 223 | 224 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBullets..CaptionW 225 | #. Form1..TntActionList1..aBullets..Caption 226 | #. Form1..SpTBXCustomizer1..cBullets..CaptionW 227 | #: Unit1.dfm:241 228 | #: Unit1.dfm:1658 229 | #: Unit1.dfm:1760 230 | msgid "Bullets" 231 | msgstr "箇条書き" 232 | 233 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mNumberedBullets..CaptionW 234 | #. Form1..TntActionList1..aNumberedBullets..Caption 235 | #. Form1..SpTBXCustomizer1..cNumBullets..CaptionW 236 | #: Unit1.dfm:245 237 | #: Unit1.dfm:1664 238 | #: Unit1.dfm:1764 239 | msgid "Numbered Bullets" 240 | msgstr "段落番号" 241 | 242 | #. Form1..SpTBXDock1..tbMenuBar..mView..CaptionW 243 | #: Unit1.dfm:249 244 | msgid "&View" 245 | msgstr "表示(&V)" 246 | 247 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..CaptionW 248 | #: Unit1.dfm:251 249 | msgid "&Sidebar" 250 | msgstr "サイドバー(&S)" 251 | 252 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mCommandsLog..CaptionW 253 | #: Unit1.dfm:254 254 | msgid "&Commands Log" 255 | msgstr "コマンドログ(&C)" 256 | 257 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mOptions..CaptionW 258 | #: Unit1.dfm:258 259 | msgid "&Options" 260 | msgstr "オプション(&O)" 261 | 262 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mmHelp..CaptionW 263 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..CaptionW 264 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mmmHelp..CaptionW 265 | #: Unit1.dfm:262 266 | #: Unit1.dfm:286 267 | #: Unit1.dfm:288 268 | msgid "&Help" 269 | msgstr "ヘルプ(&H)" 270 | 271 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..CaptionW 272 | #: Unit1.dfm:266 273 | msgid "&Toolbars" 274 | msgstr "ツールバー(&T)" 275 | 276 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mStandardToolbar..CaptionW 277 | #: Unit1.dfm:269 278 | msgid "&Standard Toolbar" 279 | msgstr "標準バー(&S)" 280 | 281 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..tLayoutsToolbar..CaptionW 282 | #: Unit1.dfm:273 283 | msgid "&Layouts Toolbar" 284 | msgstr "レイアウトバー(&L)" 285 | 286 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mFormattingToolbar..CaptionW 287 | #: Unit1.dfm:277 288 | msgid "&Formatting Toolbar" 289 | msgstr "書式バー(&F)" 290 | 291 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mNavigationToolbar..CaptionW 292 | #: Unit1.dfm:281 293 | msgid "&Navigation Toolbar" 294 | msgstr "ナビゲーションバー(&N)" 295 | 296 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mAbout..CaptionW 297 | #: Unit1.dfm:291 298 | msgid "&About" 299 | msgstr "情報(&A)" 300 | 301 | #. Form1..SpTBXDock1..tbLayouts..Caption 302 | #. Form1..SpTBXDock1..tbLayouts..Layouts..SpTBXLabelItem1..CaptionW 303 | #. Form1..SpTBXDock1..tbLayouts..Layouts..tLayouts..Caption 304 | #: Unit1.dfm:298 305 | #: Unit1.dfm:305 306 | #: Unit1.dfm:308 307 | msgid "Layouts" 308 | msgstr "レイアウト" 309 | 310 | #. Form1..SpTBXMultiDock1..dpLog..Caption 311 | #: Unit1.dfm:332 312 | msgid "Commands Log" 313 | msgstr "コマンド ログ" 314 | 315 | #. Form1..SpTBXMultiDock1..dpOptions..Caption 316 | #: Unit1.dfm:352 317 | msgid "Customizer Options" 318 | msgstr "カスタマイザ オプション" 319 | 320 | #. Form1..SpTBXMultiDock2..dpHelp..Caption 321 | #: Unit1.dfm:368 322 | msgid "Help" 323 | msgstr "ヘルプ" 324 | 325 | #. Form1..SpTBXMultiDock2..dpHelp..SpTBXLabel1..Caption 326 | #: Unit1.dfm:380 327 | msgid "Right click the toolbars to customize them" 328 | msgstr "ツールバーを右クリックでカスタマイズします" 329 | 330 | #. Form1..SpTBXDock2..tbNavigation..Caption 331 | #. Form1..TntActionList1..aBack..Category 332 | #. Form1..TntActionList1..aForward..Category 333 | #. Form1..TntActionList1..aStop..Category 334 | #. Form1..TntActionList1..aRefresh..Category 335 | #. Form1..TntActionList1..aSearch..Category 336 | #. Form1..TntActionList1..aFavs..Category 337 | #: Unit1.dfm:402 338 | #: Unit1.dfm:1675 339 | #: Unit1.dfm:1681 340 | #: Unit1.dfm:1687 341 | #: Unit1.dfm:1693 342 | #: Unit1.dfm:1699 343 | #: Unit1.dfm:1705 344 | msgid "Navigation" 345 | msgstr "ナビゲーション" 346 | 347 | #. Form1..SpTBXDock2..tbNavigation..tBack..CaptionW 348 | #. Form1..TntActionList1..aBack..Caption 349 | #: Unit1.dfm:409 350 | #: Unit1.dfm:1676 351 | msgid "Back" 352 | msgstr "戻る" 353 | 354 | #. Form1..SpTBXDock2..tbNavigation..tForward..CaptionW 355 | #. Form1..TntActionList1..aForward..Caption 356 | #: Unit1.dfm:413 357 | #: Unit1.dfm:1682 358 | msgid "Forward" 359 | msgstr "進む" 360 | 361 | #. Form1..SpTBXDock2..tbNavigation..tRefresh..CaptionW 362 | #. Form1..TntActionList1..aRefresh..Caption 363 | #: Unit1.dfm:417 364 | #: Unit1.dfm:1694 365 | msgid "Refresh" 366 | msgstr "リフレッシュ" 367 | 368 | #. Form1..SpTBXDock2..tbNavigation..tStop..CaptionW 369 | #. Form1..TntActionList1..aStop..Caption 370 | #: Unit1.dfm:421 371 | #: Unit1.dfm:1688 372 | msgid "Stop" 373 | msgstr "停止" 374 | 375 | #. Form1..SpTBXDock2..tbNavigation..tSearch..CaptionW 376 | #. Form1..TntActionList1..aSearch..Caption 377 | #: Unit1.dfm:425 378 | #: Unit1.dfm:1700 379 | msgid "Search" 380 | msgstr "検索" 381 | 382 | #. Form1..TntActionList1..aNew..Category 383 | #. Form1..TntActionList1..aOpen..Category 384 | #. Form1..TntActionList1..aSave..Category 385 | #. Form1..TntActionList1..aExit..Category 386 | #. Form1..TntActionList1..aPrint..Category 387 | #: Unit1.dfm:1558 388 | #: Unit1.dfm:1565 389 | #: Unit1.dfm:1572 390 | #: Unit1.dfm:1579 391 | #: Unit1.dfm:1669 392 | msgid "Files" 393 | msgstr "ファイル" 394 | 395 | #. Form1..TntActionList1..aCut..Category 396 | #. Form1..TntActionList1..aCopy..Category 397 | #. Form1..TntActionList1..aPaste..Category 398 | #. Form1..TntActionList1..aSelectAll..Category 399 | #. Form1..TntActionList1..aFind..Category 400 | #: Unit1.dfm:1584 401 | #: Unit1.dfm:1591 402 | #: Unit1.dfm:1598 403 | #: Unit1.dfm:1605 404 | #: Unit1.dfm:1611 405 | msgid "Edit" 406 | msgstr "編集" 407 | 408 | #. Form1..TntActionList1..aCustomize..Category 409 | #. Form1..TntActionList1..aEmbeddedCustomize..Category 410 | #: Unit1.dfm:1711 411 | #: Unit1.dfm:1716 412 | msgid "Customization" 413 | msgstr "カスタマイゼーション" 414 | 415 | #. Form1..TntActionList1..aCustomize..Caption 416 | #. Form1..SpTBXPopupMenu1..pCustomize..CaptionW 417 | #: Unit1.dfm:1712 418 | #: Unit1.dfm:1731 419 | msgid "Customize..." 420 | msgstr "カスタマイズ..." 421 | 422 | #. Form1..TntActionList1..aEmbeddedCustomize..Caption 423 | #. Form1..SpTBXPopupMenu1..pEmbeddedCustomize..CaptionW 424 | #: Unit1.dfm:1717 425 | #: Unit1.dfm:1735 426 | msgid "Embedded Customize..." 427 | msgstr "カスタマイズ 埋め込み..." 428 | 429 | #. Form2..Caption 430 | #: Unit2.dfm:7 431 | msgid "Options" 432 | msgstr "オプション" 433 | 434 | #. Form2..SpTBXDock1..SpTBXToolbar1..tProperties..CaptionW 435 | #: Unit2.dfm:49 436 | msgid "Properties" 437 | msgstr "プロパティ" 438 | 439 | #. Form2..SpTBXDock1..SpTBXToolbar1..tPageSetup..CaptionW 440 | #: Unit2.dfm:58 441 | msgid "Page Setup" 442 | msgstr "プリンタ設定" 443 | 444 | #. Form2..SpTBXDock1..SpTBXToolbar1..tHistory..CaptionW 445 | #: Unit2.dfm:67 446 | msgid "History" 447 | msgstr "履歴" 448 | 449 | #. Form2..SpTBXDock1..SpTBXToolbar1..tFavorites..CaptionW 450 | #: Unit2.dfm:76 451 | msgid "Favorites" 452 | msgstr "お気に入り" 453 | 454 | #. Form2..SpTBXDock1..SpTBXToolbar1..tCustomize..CaptionW 455 | #. Form2..LeftPanel..TitlePanel..Caption 456 | #: Unit2.dfm:85 457 | #: Unit2.dfm:168 458 | msgid "Customizer" 459 | msgstr "カスタマイザ" 460 | 461 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton1..Caption 462 | #: Unit2.dfm:122 463 | msgid "OK" 464 | msgstr "OK" 465 | 466 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton2..Caption 467 | #: Unit2.dfm:137 468 | msgid "Cancel" 469 | msgstr "キャンセル" 470 | 471 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton3..Caption 472 | #: Unit2.dfm:152 473 | msgid "Apply" 474 | msgstr "適用" 475 | 476 | #: Unit1.pas:235 477 | msgid "Save Layout" 478 | msgstr "レイアウト保存" 479 | 480 | #: Unit1.pas:235 481 | msgid "Save current layout as:" 482 | msgstr "レイアウトに名前を付けて保存" 483 | 484 | # Customizer Form 485 | msgid "Toolbars" 486 | msgstr "ツールバー" 487 | 488 | msgid "Commands" 489 | msgstr "コマンド" 490 | 491 | msgid "Shortcuts" 492 | msgstr "ショートカット" 493 | 494 | msgid "&Default Options" 495 | msgstr "デフォルト" 496 | 497 | msgid "&Close" 498 | msgstr "閉じる(&C)" 499 | 500 | msgid "&Visible" 501 | msgstr "表示(&V)" 502 | 503 | msgid "T&ext Options" 504 | msgstr "テキストオプション(&T)" 505 | 506 | msgid "Icons + Selective Text" 507 | msgstr "アイコン" 508 | 509 | msgid "Icons" 510 | msgstr "アイコン" 511 | 512 | msgid "Icons + Text" 513 | msgstr "アイコン+テキスト" 514 | 515 | msgid "Text" 516 | msgstr "テキスト" 517 | 518 | msgid "&Icon Options" 519 | msgstr "アイコンオプション(&I)" 520 | 521 | msgid "Large Icons" 522 | msgstr "大きいアイコン" 523 | 524 | msgid "Small Icons" 525 | msgstr "小さいアイコン" 526 | 527 | msgid "&Skins" 528 | msgstr "スキン(&S)" 529 | 530 | msgid "C&hange" 531 | msgstr "変更(&C)" 532 | 533 | msgid "[ Separator ]" 534 | msgstr "[ 区切り ]" 535 | 536 | msgid "[ Blank Separator ]" 537 | msgstr "[ スペース区切り ]" 538 | 539 | msgid "To add command buttons, drag and drop commands onto a toolbar. To remove command buttons, drag them off the toolbar and drop them on the commands list." 540 | msgstr "コマンドボタンを追加するには, ツールバーにドラグ&&ドロップしてください. コマンドボタンを削除するには、コマンドリストにドラッグしてください." 541 | 542 | msgid "Change Shortcut" 543 | msgstr "ショートカット変更" 544 | 545 | msgid "The shortcut is already being used by the \"%s\" command. Do you want to reassign it to the \"%s\" command?" 546 | msgstr "ショートカットはすでに \"%s\" コマンドで使われています. \"%s\"コマンドへ再設定しますか?" 547 | 548 | # ColorEdit Form 549 | msgid "Transparent Color" 550 | msgstr "透過色" 551 | 552 | msgid "Color Picker" 553 | msgstr "カラーピッカー" 554 | 555 | msgid "Drag && Drop" 556 | msgstr "ドラグ&ドロップ" 557 | 558 | -------------------------------------------------------------------------------- /Demos/Customizer/locale/ko/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/ko/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/ko/LC_MESSAGES/default.po: -------------------------------------------------------------------------------- 1 | # 2 | msgid "" 3 | msgstr "" 4 | "Project-Id-Version: Customizer Demo\n" 5 | "POT-Creation-Date: 2005-08-09 16:55\n" 6 | "PO-Revision-Date: 2009-10-10 18:05-0300\n" 7 | "Last-Translator: \n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: dxgettext 1.2\n" 12 | "Language-Team: \n" 13 | 14 | #. Form1..SpTBXDock1..tbStandard..Caption 15 | #: Unit1.dfm:29 16 | msgid "Standard" 17 | msgstr "표준" 18 | 19 | #. Form1..SpTBXDock1..tbStandard..tNew..CaptionW 20 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mNew..CaptionW 21 | #. Form1..TntActionList1..aNew..Caption 22 | #: Unit1.dfm:37 23 | #: Unit1.dfm:159 24 | #: Unit1.dfm:1559 25 | msgid "New" 26 | msgstr "새로운" 27 | 28 | #. Form1..SpTBXDock1..tbStandard..tOpen..CaptionW 29 | #: Unit1.dfm:41 30 | msgid "Open" 31 | msgstr "열기" 32 | 33 | #. Form1..SpTBXDock1..tbStandard..tSave..CaptionW 34 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mSave..CaptionW 35 | #. Form1..SpTBXDock1..tbLayouts..Layouts..tLayoutSave..CaptionW 36 | #. Form1..TntActionList1..aSave..Caption 37 | #: Unit1.dfm:45 38 | #: Unit1.dfm:167 39 | #: Unit1.dfm:318 40 | #: Unit1.dfm:1573 41 | msgid "Save" 42 | msgstr "저장" 43 | 44 | #. Form1..SpTBXDock1..tbStandard..tCut..CaptionW 45 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mCut..CaptionW 46 | #. Form1..TntActionList1..aCut..Caption 47 | #: Unit1.dfm:51 48 | #: Unit1.dfm:184 49 | #: Unit1.dfm:1585 50 | msgid "Cut" 51 | msgstr "잘라내기" 52 | 53 | #. Form1..SpTBXDock1..tbStandard..tCopy..CaptionW 54 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mCopy..CaptionW 55 | #. Form1..TntActionList1..aCopy..Caption 56 | #: Unit1.dfm:55 57 | #: Unit1.dfm:188 58 | #: Unit1.dfm:1592 59 | msgid "Copy" 60 | msgstr "복사" 61 | 62 | #. Form1..SpTBXDock1..tbStandard..tPaste..CaptionW 63 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mPaste..CaptionW 64 | #. Form1..TntActionList1..aPaste..Caption 65 | #: Unit1.dfm:60 66 | #: Unit1.dfm:192 67 | #: Unit1.dfm:1599 68 | msgid "Paste" 69 | msgstr "붙여넣기" 70 | 71 | #. Form1..SpTBXDock1..tbStandard..tFind..CaptionW 72 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mFind..CaptionW 73 | #. Form1..TntActionList1..aFind..Caption 74 | #: Unit1.dfm:67 75 | #: Unit1.dfm:206 76 | #: Unit1.dfm:1612 77 | msgid "Find" 78 | msgstr "찾기" 79 | 80 | #. Form1..SpTBXDock1..tbStandard..tThemes..CaptionW 81 | #: Unit1.dfm:73 82 | msgid "Themes" 83 | msgstr "테마" 84 | 85 | #. Form1..SpTBXDock1..tbFormat..Caption 86 | #. Form1..TntActionList1..aBold..Category 87 | #. Form1..TntActionList1..aItalic..Category 88 | #. Form1..TntActionList1..aUnderline..Category 89 | #. Form1..TntActionList1..aLeftJustify..Category 90 | #. Form1..TntActionList1..aRightJustify..Category 91 | #. Form1..TntActionList1..aCentered..Category 92 | #. Form1..TntActionList1..aBullets..Category 93 | #. Form1..TntActionList1..aNumberedBullets..Category 94 | #: Unit1.dfm:99 95 | #: Unit1.dfm:1618 96 | #: Unit1.dfm:1625 97 | #: Unit1.dfm:1632 98 | #: Unit1.dfm:1639 99 | #: Unit1.dfm:1645 100 | #: Unit1.dfm:1651 101 | #: Unit1.dfm:1657 102 | #: Unit1.dfm:1663 103 | msgid "Format" 104 | msgstr "형식" 105 | 106 | #. Form1..SpTBXDock1..tbFormat..tFont..Caption 107 | #: Unit1.dfm:106 108 | msgid "Font Name" 109 | msgstr "글꼴 이름" 110 | 111 | #. Form1..SpTBXDock1..tbFormat..tFontSize..Caption 112 | #: Unit1.dfm:116 113 | msgid "Font Size" 114 | msgstr "글자 크기" 115 | 116 | #. Form1..SpTBXDock1..tbFormat..tBold..CaptionW 117 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBold..CaptionW 118 | #. Form1..TntActionList1..aBold..Caption 119 | #: Unit1.dfm:132 120 | #: Unit1.dfm:213 121 | #: Unit1.dfm:1619 122 | msgid "Bold" 123 | msgstr "굵게" 124 | 125 | #. Form1..SpTBXDock1..tbFormat..tItalic..CaptionW 126 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mItalic..CaptionW 127 | #. Form1..TntActionList1..aItalic..Caption 128 | #: Unit1.dfm:136 129 | #: Unit1.dfm:217 130 | #: Unit1.dfm:1626 131 | msgid "Italic" 132 | msgstr "기울임" 133 | 134 | #. Form1..SpTBXDock1..tbFormat..tUnderline..CaptionW 135 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mUnderline..CaptionW 136 | #. Form1..TntActionList1..aUnderline..Caption 137 | #: Unit1.dfm:140 138 | #: Unit1.dfm:221 139 | #: Unit1.dfm:1633 140 | msgid "Underline" 141 | msgstr "밑줄" 142 | 143 | #. Form1..SpTBXDock1..tbMenuBar..Caption 144 | #: Unit1.dfm:146 145 | msgid "Menu" 146 | msgstr "메뉴" 147 | 148 | #. Form1..SpTBXDock1..tbMenuBar..mFile..CaptionW 149 | #: Unit1.dfm:156 150 | msgid "&File" 151 | msgstr "파일(&F)" 152 | 153 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mOpen..CaptionW 154 | #. Form1..TntActionList1..aOpen..Caption 155 | #: Unit1.dfm:163 156 | #: Unit1.dfm:1566 157 | msgid "Open..." 158 | msgstr "열기(&O)" 159 | 160 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mPrint..CaptionW 161 | #. Form1..TntActionList1..aPrint..Caption 162 | #. Form1..SpTBXCustomizer1..cPrint..CaptionW 163 | #: Unit1.dfm:171 164 | #: Unit1.dfm:1670 165 | #: Unit1.dfm:1744 166 | msgid "Print" 167 | msgstr "인쇄" 168 | 169 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mExit..CaptionW 170 | #. Form1..TntActionList1..aExit..Caption 171 | #. Form1..SpTBXCustomizer1..cExit..CaptionW 172 | #: Unit1.dfm:177 173 | #: Unit1.dfm:1580 174 | #: Unit1.dfm:1776 175 | msgid "Exit" 176 | msgstr "닫기" 177 | 178 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..CaptionW 179 | #: Unit1.dfm:181 180 | msgid "&Edit" 181 | msgstr "편집(&E)" 182 | 183 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mSelectAll..CaptionW 184 | #. Form1..TntActionList1..aSelectAll..Caption 185 | #. Form1..SpTBXCustomizer1..cSelectAll..CaptionW 186 | #: Unit1.dfm:198 187 | #: Unit1.dfm:1606 188 | #: Unit1.dfm:1772 189 | msgid "Select All" 190 | msgstr "모두 선택" 191 | 192 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..CaptionW 193 | #: Unit1.dfm:210 194 | msgid "&Format" 195 | msgstr "형식(&F)" 196 | 197 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mLeftJustify..CaptionW 198 | #. Form1..TntActionList1..aLeftJustify..Caption 199 | #. Form1..SpTBXCustomizer1..cLeftJustify..CaptionW 200 | #: Unit1.dfm:227 201 | #: Unit1.dfm:1640 202 | #: Unit1.dfm:1748 203 | msgid "Left Justify" 204 | msgstr "왼쪽으로 정렬" 205 | 206 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mCentered..CaptionW 207 | #. Form1..TntActionList1..aCentered..Caption 208 | #. Form1..SpTBXCustomizer1..cCentered..CaptionW 209 | #: Unit1.dfm:231 210 | #: Unit1.dfm:1652 211 | #: Unit1.dfm:1752 212 | msgid "Centered" 213 | msgstr "가운데 정렬" 214 | 215 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mRightJustify..CaptionW 216 | #. Form1..TntActionList1..aRightJustify..Caption 217 | #. Form1..SpTBXCustomizer1..cRightJustify..CaptionW 218 | #: Unit1.dfm:235 219 | #: Unit1.dfm:1646 220 | #: Unit1.dfm:1756 221 | msgid "Right Justify" 222 | msgstr "오른쪽으로 정렬" 223 | 224 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBullets..CaptionW 225 | #. Form1..TntActionList1..aBullets..Caption 226 | #. Form1..SpTBXCustomizer1..cBullets..CaptionW 227 | #: Unit1.dfm:241 228 | #: Unit1.dfm:1658 229 | #: Unit1.dfm:1760 230 | msgid "Bullets" 231 | msgstr "글머리 기호" 232 | 233 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mNumberedBullets..CaptionW 234 | #. Form1..TntActionList1..aNumberedBullets..Caption 235 | #. Form1..SpTBXCustomizer1..cNumBullets..CaptionW 236 | #: Unit1.dfm:245 237 | #: Unit1.dfm:1664 238 | #: Unit1.dfm:1764 239 | msgid "Numbered Bullets" 240 | msgstr "문단 번호" 241 | 242 | #. Form1..SpTBXDock1..tbMenuBar..mView..CaptionW 243 | #: Unit1.dfm:249 244 | msgid "&View" 245 | msgstr "보기(&V)" 246 | 247 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..CaptionW 248 | #: Unit1.dfm:251 249 | msgid "&Sidebar" 250 | msgstr "가장자리줄(&S)" 251 | 252 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mCommandsLog..CaptionW 253 | #: Unit1.dfm:254 254 | msgid "&Commands Log" 255 | msgstr "명령 로그(&C)" 256 | 257 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mOptions..CaptionW 258 | #: Unit1.dfm:258 259 | msgid "&Options" 260 | msgstr "옵션(&O)" 261 | 262 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mmHelp..CaptionW 263 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..CaptionW 264 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mmmHelp..CaptionW 265 | #: Unit1.dfm:262 266 | #: Unit1.dfm:286 267 | #: Unit1.dfm:288 268 | msgid "&Help" 269 | msgstr "도움말(&H)" 270 | 271 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..CaptionW 272 | #: Unit1.dfm:266 273 | msgid "&Toolbars" 274 | msgstr "도구 모음(&T)" 275 | 276 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mStandardToolbar..CaptionW 277 | #: Unit1.dfm:269 278 | msgid "&Standard Toolbar" 279 | msgstr "주 도구 모음" 280 | 281 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..tLayoutsToolbar..CaptionW 282 | #: Unit1.dfm:273 283 | msgid "&Layouts Toolbar" 284 | msgstr "레이아웃 도구 모음" 285 | 286 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mFormattingToolbar..CaptionW 287 | #: Unit1.dfm:277 288 | msgid "&Formatting Toolbar" 289 | msgstr "텍스트 도구 모음" 290 | 291 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mNavigationToolbar..CaptionW 292 | #: Unit1.dfm:281 293 | msgid "&Navigation Toolbar" 294 | msgstr "검색 도구 모음" 295 | 296 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mAbout..CaptionW 297 | #: Unit1.dfm:291 298 | msgid "&About" 299 | msgstr "정보(&A)" 300 | 301 | #. Form1..SpTBXDock1..tbLayouts..Caption 302 | #. Form1..SpTBXDock1..tbLayouts..Layouts..SpTBXLabelItem1..CaptionW 303 | #. Form1..SpTBXDock1..tbLayouts..Layouts..tLayouts..Caption 304 | #: Unit1.dfm:298 305 | #: Unit1.dfm:305 306 | #: Unit1.dfm:308 307 | msgid "Layouts" 308 | msgstr "레이아웃" 309 | 310 | #. Form1..SpTBXMultiDock1..dpLog..Caption 311 | #: Unit1.dfm:332 312 | msgid "Commands Log" 313 | msgstr "명령 로그" 314 | 315 | #. Form1..SpTBXMultiDock1..dpOptions..Caption 316 | #: Unit1.dfm:352 317 | msgid "Customizer Options" 318 | msgstr "사용자 정의 옵션" 319 | 320 | #. Form1..SpTBXMultiDock2..dpHelp..Caption 321 | #: Unit1.dfm:368 322 | msgid "Help" 323 | msgstr "도움말" 324 | 325 | #. Form1..SpTBXMultiDock2..dpHelp..SpTBXLabel1..Caption 326 | #: Unit1.dfm:380 327 | msgid "Right click the toolbars to customize them" 328 | msgstr "툴바를 사용자 정의하려면 툴바 위에서 오른쪽 버튼을 클릭하십시오." 329 | 330 | #. Form1..SpTBXDock2..tbNavigation..Caption 331 | #. Form1..TntActionList1..aBack..Category 332 | #. Form1..TntActionList1..aForward..Category 333 | #. Form1..TntActionList1..aStop..Category 334 | #. Form1..TntActionList1..aRefresh..Category 335 | #. Form1..TntActionList1..aSearch..Category 336 | #. Form1..TntActionList1..aFavs..Category 337 | #: Unit1.dfm:402 338 | #: Unit1.dfm:1675 339 | #: Unit1.dfm:1681 340 | #: Unit1.dfm:1687 341 | #: Unit1.dfm:1693 342 | #: Unit1.dfm:1699 343 | #: Unit1.dfm:1705 344 | msgid "Navigation" 345 | msgstr "탐색" 346 | 347 | #. Form1..SpTBXDock2..tbNavigation..tBack..CaptionW 348 | #. Form1..TntActionList1..aBack..Caption 349 | #: Unit1.dfm:409 350 | #: Unit1.dfm:1676 351 | msgid "Back" 352 | msgstr "뒤로" 353 | 354 | #. Form1..SpTBXDock2..tbNavigation..tForward..CaptionW 355 | #. Form1..TntActionList1..aForward..Caption 356 | #: Unit1.dfm:413 357 | #: Unit1.dfm:1682 358 | msgid "Forward" 359 | msgstr "앞으로" 360 | 361 | #. Form1..SpTBXDock2..tbNavigation..tRefresh..CaptionW 362 | #. Form1..TntActionList1..aRefresh..Caption 363 | #: Unit1.dfm:417 364 | #: Unit1.dfm:1694 365 | msgid "Refresh" 366 | msgstr "새로고침" 367 | 368 | #. Form1..SpTBXDock2..tbNavigation..tStop..CaptionW 369 | #. Form1..TntActionList1..aStop..Caption 370 | #: Unit1.dfm:421 371 | #: Unit1.dfm:1688 372 | msgid "Stop" 373 | msgstr "멈추기" 374 | 375 | #. Form1..SpTBXDock2..tbNavigation..tSearch..CaptionW 376 | #. Form1..TntActionList1..aSearch..Caption 377 | #: Unit1.dfm:425 378 | #: Unit1.dfm:1700 379 | msgid "Search" 380 | msgstr "검색" 381 | 382 | #. Form1..TntActionList1..aNew..Category 383 | #. Form1..TntActionList1..aOpen..Category 384 | #. Form1..TntActionList1..aSave..Category 385 | #. Form1..TntActionList1..aExit..Category 386 | #. Form1..TntActionList1..aPrint..Category 387 | #: Unit1.dfm:1558 388 | #: Unit1.dfm:1565 389 | #: Unit1.dfm:1572 390 | #: Unit1.dfm:1579 391 | #: Unit1.dfm:1669 392 | msgid "Files" 393 | msgstr "파일" 394 | 395 | #. Form1..TntActionList1..aCut..Category 396 | #. Form1..TntActionList1..aCopy..Category 397 | #. Form1..TntActionList1..aPaste..Category 398 | #. Form1..TntActionList1..aSelectAll..Category 399 | #. Form1..TntActionList1..aFind..Category 400 | #: Unit1.dfm:1584 401 | #: Unit1.dfm:1591 402 | #: Unit1.dfm:1598 403 | #: Unit1.dfm:1605 404 | #: Unit1.dfm:1611 405 | msgid "Edit" 406 | msgstr "편집" 407 | 408 | #. Form1..TntActionList1..aCustomize..Category 409 | #. Form1..TntActionList1..aEmbeddedCustomize..Category 410 | #: Unit1.dfm:1711 411 | #: Unit1.dfm:1716 412 | msgid "Customization" 413 | msgstr "사용자 정의" 414 | 415 | #. Form1..TntActionList1..aCustomize..Caption 416 | #. Form1..SpTBXPopupMenu1..pCustomize..CaptionW 417 | #: Unit1.dfm:1712 418 | #: Unit1.dfm:1731 419 | msgid "Customize..." 420 | msgstr "사용자 정의..." 421 | 422 | #. Form1..TntActionList1..aEmbeddedCustomize..Caption 423 | #. Form1..SpTBXPopupMenu1..pEmbeddedCustomize..CaptionW 424 | #: Unit1.dfm:1717 425 | #: Unit1.dfm:1735 426 | msgid "Embedded Customize..." 427 | msgstr "임베디드 정의..." 428 | 429 | #. Form2..Caption 430 | #: Unit2.dfm:7 431 | msgid "Options" 432 | msgstr "옵션" 433 | 434 | #. Form2..SpTBXDock1..SpTBXToolbar1..tProperties..CaptionW 435 | #: Unit2.dfm:49 436 | msgid "Properties" 437 | msgstr "속성" 438 | 439 | #. Form2..SpTBXDock1..SpTBXToolbar1..tPageSetup..CaptionW 440 | #: Unit2.dfm:58 441 | msgid "Page Setup" 442 | msgstr "페이지 설정" 443 | 444 | #. Form2..SpTBXDock1..SpTBXToolbar1..tHistory..CaptionW 445 | #: Unit2.dfm:67 446 | msgid "History" 447 | msgstr "히스토리" 448 | 449 | #. Form2..SpTBXDock1..SpTBXToolbar1..tFavorites..CaptionW 450 | #: Unit2.dfm:76 451 | msgid "Favorites" 452 | msgstr "책갈피" 453 | 454 | #. Form2..SpTBXDock1..SpTBXToolbar1..tCustomize..CaptionW 455 | #. Form2..LeftPanel..TitlePanel..Caption 456 | #: Unit2.dfm:85 457 | #: Unit2.dfm:168 458 | msgid "Customizer" 459 | msgstr "사용자 정의" 460 | 461 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton1..Caption 462 | #: Unit2.dfm:122 463 | msgid "OK" 464 | msgstr "확인" 465 | 466 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton2..Caption 467 | #: Unit2.dfm:137 468 | msgid "Cancel" 469 | msgstr "취소" 470 | 471 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton3..Caption 472 | #: Unit2.dfm:152 473 | msgid "Apply" 474 | msgstr "적용" 475 | 476 | #: Unit1.pas:235 477 | msgid "Save Layout" 478 | msgstr "레이아웃 저장" 479 | 480 | #: Unit1.pas:235 481 | msgid "Save current layout as:" 482 | msgstr "다른 이름으로 현재 레이아웃 저장" 483 | 484 | # Customizer Form 485 | msgid "Toolbars" 486 | msgstr "도구 모음" 487 | 488 | msgid "Commands" 489 | msgstr "명령" 490 | 491 | msgid "Shortcuts" 492 | msgstr "단축키" 493 | 494 | msgid "&Default Options" 495 | msgstr "기본 옵션(&D)" 496 | 497 | msgid "&Close" 498 | msgstr "닫기(&C)" 499 | 500 | msgid "&Visible" 501 | msgstr "보이기(&V)" 502 | 503 | msgid "T&ext Options" 504 | msgstr "텍스트 옵션(&E)" 505 | 506 | msgid "Icons + Selective Text" 507 | msgstr "아이콘 옆에 텍스트" 508 | 509 | msgid "Icons" 510 | msgstr "아이콘" 511 | 512 | msgid "Icons + Text" 513 | msgstr "아이콘 + 텍스트" 514 | 515 | msgid "Text" 516 | msgstr "텍스트" 517 | 518 | msgid "&Icon Options" 519 | msgstr "아이콘 옵션(&I)" 520 | 521 | msgid "Large Icons" 522 | msgstr "큰 아이콘" 523 | 524 | msgid "Small Icons" 525 | msgstr "작은 아이콘" 526 | 527 | msgid "&Skins" 528 | msgstr "스킨(&S)" 529 | 530 | msgid "C&hange" 531 | msgstr "변경" 532 | 533 | msgid "[ Separator ]" 534 | msgstr "[ 구분자 ]" 535 | 536 | msgid "[ Blank Separator ]" 537 | msgstr "[ 구분자 ]" 538 | 539 | msgid "To add command buttons, drag and drop commands onto a toolbar. To remove command buttons, drag them off the toolbar and drop them on the commands list." 540 | msgstr "명령 버튼을 추가하려면, 명령을 툴바로 드래그 && 드랍하십시오. 명령 버튼을 삭제하려면, 툴바에서 명령 버튼을 드래그하여 명령 목록에 드랍하십시오." 541 | 542 | msgid "Change Shortcut" 543 | msgstr "단축키 변경" 544 | 545 | msgid "The shortcut is already being used by the \"%s\" command. Do you want to reassign it to the \"%s\" command?" 546 | msgstr "이미 단축키가 \"%s\" 명령에서 사용중입니다. 단축키를 \"%s\" 명령에 재설정하시겠습니까?" 547 | 548 | # ColorEdit Form 549 | msgid "Transparent Color" 550 | msgstr "투명한 색" 551 | 552 | msgid "Color Picker" 553 | msgstr "색상 선택기" 554 | 555 | msgid "Drag && Drop" 556 | msgstr "드래그 && 드롭" 557 | 558 | -------------------------------------------------------------------------------- /Demos/Customizer/locale/nl/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/nl/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/pt_BR/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/pt_BR/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/ru/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/ru/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/sr_Cyrillic/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/sr_Cyrillic/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/sr_Latin/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/sr_Latin/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/sv/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/sv/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/sv/LC_MESSAGES/default.po: -------------------------------------------------------------------------------- 1 | # 2 | msgid "" 3 | msgstr "" 4 | "Project-Id-Version: Customizer Demo\n" 5 | "POT-Creation-Date: 2005-08-09 16:55\n" 6 | "PO-Revision-Date: 2009-09-10 22:57-0300\n" 7 | "Last-Translator: \n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: dxgettext 1.2\n" 12 | "Language-Team: \n" 13 | 14 | #. Form1..SpTBXDock1..tbStandard..Caption 15 | #: Unit1.dfm:29 16 | msgid "Standard" 17 | msgstr "Standard" 18 | 19 | #. Form1..SpTBXDock1..tbStandard..tNew..CaptionW 20 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mNew..CaptionW 21 | #. Form1..TntActionList1..aNew..Caption 22 | #: Unit1.dfm:37 23 | #: Unit1.dfm:159 24 | #: Unit1.dfm:1559 25 | msgid "New" 26 | msgstr "Nytt" 27 | 28 | #. Form1..SpTBXDock1..tbStandard..tOpen..CaptionW 29 | #: Unit1.dfm:41 30 | msgid "Open" 31 | msgstr "Öppna" 32 | 33 | #. Form1..SpTBXDock1..tbStandard..tSave..CaptionW 34 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mSave..CaptionW 35 | #. Form1..SpTBXDock1..tbLayouts..Layouts..tLayoutSave..CaptionW 36 | #. Form1..TntActionList1..aSave..Caption 37 | #: Unit1.dfm:45 38 | #: Unit1.dfm:167 39 | #: Unit1.dfm:318 40 | #: Unit1.dfm:1573 41 | msgid "Save" 42 | msgstr "Spara" 43 | 44 | #. Form1..SpTBXDock1..tbStandard..tCut..CaptionW 45 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mCut..CaptionW 46 | #. Form1..TntActionList1..aCut..Caption 47 | #: Unit1.dfm:51 48 | #: Unit1.dfm:184 49 | #: Unit1.dfm:1585 50 | msgid "Cut" 51 | msgstr "Klipp ut" 52 | 53 | #. Form1..SpTBXDock1..tbStandard..tCopy..CaptionW 54 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mCopy..CaptionW 55 | #. Form1..TntActionList1..aCopy..Caption 56 | #: Unit1.dfm:55 57 | #: Unit1.dfm:188 58 | #: Unit1.dfm:1592 59 | msgid "Copy" 60 | msgstr "Kopiera" 61 | 62 | #. Form1..SpTBXDock1..tbStandard..tPaste..CaptionW 63 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mPaste..CaptionW 64 | #. Form1..TntActionList1..aPaste..Caption 65 | #: Unit1.dfm:60 66 | #: Unit1.dfm:192 67 | #: Unit1.dfm:1599 68 | msgid "Paste" 69 | msgstr "Klistra in" 70 | 71 | #. Form1..SpTBXDock1..tbStandard..tFind..CaptionW 72 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mFind..CaptionW 73 | #. Form1..TntActionList1..aFind..Caption 74 | #: Unit1.dfm:67 75 | #: Unit1.dfm:206 76 | #: Unit1.dfm:1612 77 | msgid "Find" 78 | msgstr "Sök" 79 | 80 | #. Form1..SpTBXDock1..tbStandard..tThemes..CaptionW 81 | #: Unit1.dfm:73 82 | msgid "Themes" 83 | msgstr "Teman" 84 | 85 | #. Form1..SpTBXDock1..tbFormat..Caption 86 | #. Form1..TntActionList1..aBold..Category 87 | #. Form1..TntActionList1..aItalic..Category 88 | #. Form1..TntActionList1..aUnderline..Category 89 | #. Form1..TntActionList1..aLeftJustify..Category 90 | #. Form1..TntActionList1..aRightJustify..Category 91 | #. Form1..TntActionList1..aCentered..Category 92 | #. Form1..TntActionList1..aBullets..Category 93 | #. Form1..TntActionList1..aNumberedBullets..Category 94 | #: Unit1.dfm:99 95 | #: Unit1.dfm:1618 96 | #: Unit1.dfm:1625 97 | #: Unit1.dfm:1632 98 | #: Unit1.dfm:1639 99 | #: Unit1.dfm:1645 100 | #: Unit1.dfm:1651 101 | #: Unit1.dfm:1657 102 | #: Unit1.dfm:1663 103 | msgid "Format" 104 | msgstr "Formatera" 105 | 106 | #. Form1..SpTBXDock1..tbFormat..tFont..Caption 107 | #: Unit1.dfm:106 108 | msgid "Font Name" 109 | msgstr "Teckensnitt" 110 | 111 | #. Form1..SpTBXDock1..tbFormat..tFontSize..Caption 112 | #: Unit1.dfm:116 113 | msgid "Font Size" 114 | msgstr "Storlek" 115 | 116 | #. Form1..SpTBXDock1..tbFormat..tBold..CaptionW 117 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBold..CaptionW 118 | #. Form1..TntActionList1..aBold..Caption 119 | #: Unit1.dfm:132 120 | #: Unit1.dfm:213 121 | #: Unit1.dfm:1619 122 | msgid "Bold" 123 | msgstr "Fet" 124 | 125 | #. Form1..SpTBXDock1..tbFormat..tItalic..CaptionW 126 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mItalic..CaptionW 127 | #. Form1..TntActionList1..aItalic..Caption 128 | #: Unit1.dfm:136 129 | #: Unit1.dfm:217 130 | #: Unit1.dfm:1626 131 | msgid "Italic" 132 | msgstr "Kursiv" 133 | 134 | #. Form1..SpTBXDock1..tbFormat..tUnderline..CaptionW 135 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mUnderline..CaptionW 136 | #. Form1..TntActionList1..aUnderline..Caption 137 | #: Unit1.dfm:140 138 | #: Unit1.dfm:221 139 | #: Unit1.dfm:1633 140 | msgid "Underline" 141 | msgstr "Understreck" 142 | 143 | #. Form1..SpTBXDock1..tbMenuBar..Caption 144 | #: Unit1.dfm:146 145 | msgid "Menu" 146 | msgstr "Meny" 147 | 148 | #. Form1..SpTBXDock1..tbMenuBar..mFile..CaptionW 149 | #: Unit1.dfm:156 150 | msgid "&File" 151 | msgstr "&Arkiv" 152 | 153 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mOpen..CaptionW 154 | #. Form1..TntActionList1..aOpen..Caption 155 | #: Unit1.dfm:163 156 | #: Unit1.dfm:1566 157 | msgid "Open..." 158 | msgstr "Öppna..." 159 | 160 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mPrint..CaptionW 161 | #. Form1..TntActionList1..aPrint..Caption 162 | #. Form1..SpTBXCustomizer1..cPrint..CaptionW 163 | #: Unit1.dfm:171 164 | #: Unit1.dfm:1670 165 | #: Unit1.dfm:1744 166 | msgid "Print" 167 | msgstr "Skriv ut" 168 | 169 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mExit..CaptionW 170 | #. Form1..TntActionList1..aExit..Caption 171 | #. Form1..SpTBXCustomizer1..cExit..CaptionW 172 | #: Unit1.dfm:177 173 | #: Unit1.dfm:1580 174 | #: Unit1.dfm:1776 175 | msgid "Exit" 176 | msgstr "Avsluta" 177 | 178 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..CaptionW 179 | #: Unit1.dfm:181 180 | msgid "&Edit" 181 | msgstr "&Redigera" 182 | 183 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mSelectAll..CaptionW 184 | #. Form1..TntActionList1..aSelectAll..Caption 185 | #. Form1..SpTBXCustomizer1..cSelectAll..CaptionW 186 | #: Unit1.dfm:198 187 | #: Unit1.dfm:1606 188 | #: Unit1.dfm:1772 189 | msgid "Select All" 190 | msgstr "Markera allt" 191 | 192 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..CaptionW 193 | #: Unit1.dfm:210 194 | msgid "&Format" 195 | msgstr "&Formatera" 196 | 197 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mLeftJustify..CaptionW 198 | #. Form1..TntActionList1..aLeftJustify..Caption 199 | #. Form1..SpTBXCustomizer1..cLeftJustify..CaptionW 200 | #: Unit1.dfm:227 201 | #: Unit1.dfm:1640 202 | #: Unit1.dfm:1748 203 | msgid "Left Justify" 204 | msgstr "Vänsterjustera" 205 | 206 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mCentered..CaptionW 207 | #. Form1..TntActionList1..aCentered..Caption 208 | #. Form1..SpTBXCustomizer1..cCentered..CaptionW 209 | #: Unit1.dfm:231 210 | #: Unit1.dfm:1652 211 | #: Unit1.dfm:1752 212 | msgid "Centered" 213 | msgstr "Centrera" 214 | 215 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mRightJustify..CaptionW 216 | #. Form1..TntActionList1..aRightJustify..Caption 217 | #. Form1..SpTBXCustomizer1..cRightJustify..CaptionW 218 | #: Unit1.dfm:235 219 | #: Unit1.dfm:1646 220 | #: Unit1.dfm:1756 221 | msgid "Right Justify" 222 | msgstr "Högerjustera" 223 | 224 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBullets..CaptionW 225 | #. Form1..TntActionList1..aBullets..Caption 226 | #. Form1..SpTBXCustomizer1..cBullets..CaptionW 227 | #: Unit1.dfm:241 228 | #: Unit1.dfm:1658 229 | #: Unit1.dfm:1760 230 | msgid "Bullets" 231 | msgstr "Punktlista" 232 | 233 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mNumberedBullets..CaptionW 234 | #. Form1..TntActionList1..aNumberedBullets..Caption 235 | #. Form1..SpTBXCustomizer1..cNumBullets..CaptionW 236 | #: Unit1.dfm:245 237 | #: Unit1.dfm:1664 238 | #: Unit1.dfm:1764 239 | msgid "Numbered Bullets" 240 | msgstr "Numrerad lista" 241 | 242 | #. Form1..SpTBXDock1..tbMenuBar..mView..CaptionW 243 | #: Unit1.dfm:249 244 | msgid "&View" 245 | msgstr "&Visa" 246 | 247 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..CaptionW 248 | #: Unit1.dfm:251 249 | msgid "&Sidebar" 250 | msgstr "&Sidpanel" 251 | 252 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mCommandsLog..CaptionW 253 | #: Unit1.dfm:254 254 | msgid "&Commands Log" 255 | msgstr "&Kommandohistorik" 256 | 257 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mOptions..CaptionW 258 | #: Unit1.dfm:258 259 | msgid "&Options" 260 | msgstr "&Alternativ" 261 | 262 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mmHelp..CaptionW 263 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..CaptionW 264 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mmmHelp..CaptionW 265 | #: Unit1.dfm:262 266 | #: Unit1.dfm:286 267 | #: Unit1.dfm:288 268 | msgid "&Help" 269 | msgstr "&Hjälp" 270 | 271 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..CaptionW 272 | #: Unit1.dfm:266 273 | msgid "&Toolbars" 274 | msgstr "&Verktygsfält" 275 | 276 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mStandardToolbar..CaptionW 277 | #: Unit1.dfm:269 278 | msgid "&Standard Toolbar" 279 | msgstr "&Standardfält" 280 | 281 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..tLayoutsToolbar..CaptionW 282 | #: Unit1.dfm:273 283 | msgid "&Layouts Toolbar" 284 | msgstr "&Layoutfält" 285 | 286 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mFormattingToolbar..CaptionW 287 | #: Unit1.dfm:277 288 | msgid "&Formatting Toolbar" 289 | msgstr "&Anpassa Verktygsfält" 290 | 291 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mNavigationToolbar..CaptionW 292 | #: Unit1.dfm:281 293 | msgid "&Navigation Toolbar" 294 | msgstr "&Navigationsfält" 295 | 296 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mAbout..CaptionW 297 | #: Unit1.dfm:291 298 | msgid "&About" 299 | msgstr "&Om" 300 | 301 | #. Form1..SpTBXDock1..tbLayouts..Caption 302 | #. Form1..SpTBXDock1..tbLayouts..Layouts..SpTBXLabelItem1..CaptionW 303 | #. Form1..SpTBXDock1..tbLayouts..Layouts..tLayouts..Caption 304 | #: Unit1.dfm:298 305 | #: Unit1.dfm:305 306 | #: Unit1.dfm:308 307 | msgid "Layouts" 308 | msgstr "Layouter" 309 | 310 | #. Form1..SpTBXMultiDock1..dpLog..Caption 311 | #: Unit1.dfm:332 312 | msgid "Commands Log" 313 | msgstr "Kommandohistorik" 314 | 315 | #. Form1..SpTBXMultiDock1..dpOptions..Caption 316 | #: Unit1.dfm:352 317 | msgid "Customizer Options" 318 | msgstr "Alternativ" 319 | 320 | #. Form1..SpTBXMultiDock2..dpHelp..Caption 321 | #: Unit1.dfm:368 322 | msgid "Help" 323 | msgstr "Hjälp" 324 | 325 | #. Form1..SpTBXMultiDock2..dpHelp..SpTBXLabel1..Caption 326 | #: Unit1.dfm:380 327 | msgid "Right click the toolbars to customize them" 328 | msgstr "Högerklicka på verktygsfälten för att komma igång" 329 | 330 | #. Form1..SpTBXDock2..tbNavigation..Caption 331 | #. Form1..TntActionList1..aBack..Category 332 | #. Form1..TntActionList1..aForward..Category 333 | #. Form1..TntActionList1..aStop..Category 334 | #. Form1..TntActionList1..aRefresh..Category 335 | #. Form1..TntActionList1..aSearch..Category 336 | #. Form1..TntActionList1..aFavs..Category 337 | #: Unit1.dfm:402 338 | #: Unit1.dfm:1675 339 | #: Unit1.dfm:1681 340 | #: Unit1.dfm:1687 341 | #: Unit1.dfm:1693 342 | #: Unit1.dfm:1699 343 | #: Unit1.dfm:1705 344 | msgid "Navigation" 345 | msgstr "Navigation" 346 | 347 | #. Form1..SpTBXDock2..tbNavigation..tBack..CaptionW 348 | #. Form1..TntActionList1..aBack..Caption 349 | #: Unit1.dfm:409 350 | #: Unit1.dfm:1676 351 | msgid "Back" 352 | msgstr "Tillbaka" 353 | 354 | #. Form1..SpTBXDock2..tbNavigation..tForward..CaptionW 355 | #. Form1..TntActionList1..aForward..Caption 356 | #: Unit1.dfm:413 357 | #: Unit1.dfm:1682 358 | msgid "Forward" 359 | msgstr "Framåt" 360 | 361 | #. Form1..SpTBXDock2..tbNavigation..tRefresh..CaptionW 362 | #. Form1..TntActionList1..aRefresh..Caption 363 | #: Unit1.dfm:417 364 | #: Unit1.dfm:1694 365 | msgid "Refresh" 366 | msgstr "Uppdatera" 367 | 368 | #. Form1..SpTBXDock2..tbNavigation..tStop..CaptionW 369 | #. Form1..TntActionList1..aStop..Caption 370 | #: Unit1.dfm:421 371 | #: Unit1.dfm:1688 372 | msgid "Stop" 373 | msgstr "Avbryt" 374 | 375 | #. Form1..SpTBXDock2..tbNavigation..tSearch..CaptionW 376 | #. Form1..TntActionList1..aSearch..Caption 377 | #: Unit1.dfm:425 378 | #: Unit1.dfm:1700 379 | msgid "Search" 380 | msgstr "Sök" 381 | 382 | #. Form1..TntActionList1..aNew..Category 383 | #. Form1..TntActionList1..aOpen..Category 384 | #. Form1..TntActionList1..aSave..Category 385 | #. Form1..TntActionList1..aExit..Category 386 | #. Form1..TntActionList1..aPrint..Category 387 | #: Unit1.dfm:1558 388 | #: Unit1.dfm:1565 389 | #: Unit1.dfm:1572 390 | #: Unit1.dfm:1579 391 | #: Unit1.dfm:1669 392 | msgid "Files" 393 | msgstr "Arkiv" 394 | 395 | #. Form1..TntActionList1..aCut..Category 396 | #. Form1..TntActionList1..aCopy..Category 397 | #. Form1..TntActionList1..aPaste..Category 398 | #. Form1..TntActionList1..aSelectAll..Category 399 | #. Form1..TntActionList1..aFind..Category 400 | #: Unit1.dfm:1584 401 | #: Unit1.dfm:1591 402 | #: Unit1.dfm:1598 403 | #: Unit1.dfm:1605 404 | #: Unit1.dfm:1611 405 | msgid "Edit" 406 | msgstr "Redigera" 407 | 408 | #. Form1..TntActionList1..aCustomize..Category 409 | #. Form1..TntActionList1..aEmbeddedCustomize..Category 410 | #: Unit1.dfm:1711 411 | #: Unit1.dfm:1716 412 | msgid "Customization" 413 | msgstr "Anpassning" 414 | 415 | #. Form1..TntActionList1..aCustomize..Caption 416 | #. Form1..SpTBXPopupMenu1..pCustomize..CaptionW 417 | #: Unit1.dfm:1712 418 | #: Unit1.dfm:1731 419 | msgid "Customize..." 420 | msgstr "Anpassa..." 421 | 422 | #. Form1..TntActionList1..aEmbeddedCustomize..Caption 423 | #. Form1..SpTBXPopupMenu1..pEmbeddedCustomize..CaptionW 424 | #: Unit1.dfm:1717 425 | #: Unit1.dfm:1735 426 | msgid "Embedded Customize..." 427 | msgstr "Inbyggd Anpassning..." 428 | 429 | #. Form2..Caption 430 | #: Unit2.dfm:7 431 | msgid "Options" 432 | msgstr "Alternativ" 433 | 434 | #. Form2..SpTBXDock1..SpTBXToolbar1..tProperties..CaptionW 435 | #: Unit2.dfm:49 436 | msgid "Properties" 437 | msgstr "Egenskaper" 438 | 439 | #. Form2..SpTBXDock1..SpTBXToolbar1..tPageSetup..CaptionW 440 | #: Unit2.dfm:58 441 | msgid "Page Setup" 442 | msgstr "Sidlayout" 443 | 444 | #. Form2..SpTBXDock1..SpTBXToolbar1..tHistory..CaptionW 445 | #: Unit2.dfm:67 446 | msgid "History" 447 | msgstr "Historik" 448 | 449 | #. Form2..SpTBXDock1..SpTBXToolbar1..tFavorites..CaptionW 450 | #: Unit2.dfm:76 451 | msgid "Favorites" 452 | msgstr "Favoriter" 453 | 454 | #. Form2..SpTBXDock1..SpTBXToolbar1..tCustomize..CaptionW 455 | #. Form2..LeftPanel..TitlePanel..Caption 456 | #: Unit2.dfm:85 457 | #: Unit2.dfm:168 458 | msgid "Customizer" 459 | msgstr "Anpassa" 460 | 461 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton1..Caption 462 | #: Unit2.dfm:122 463 | msgid "OK" 464 | msgstr "OK" 465 | 466 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton2..Caption 467 | #: Unit2.dfm:137 468 | msgid "Cancel" 469 | msgstr "Avbryt" 470 | 471 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton3..Caption 472 | #: Unit2.dfm:152 473 | msgid "Apply" 474 | msgstr "Verkställ" 475 | 476 | #: Unit1.pas:235 477 | msgid "Save Layout" 478 | msgstr "Spara Layout" 479 | 480 | #: Unit1.pas:235 481 | msgid "Save current layout as:" 482 | msgstr "Spara nuvarande layout som:" 483 | 484 | # Customizer Form 485 | msgid "Toolbars" 486 | msgstr "" 487 | 488 | msgid "Commands" 489 | msgstr "" 490 | 491 | msgid "Shortcuts" 492 | msgstr "" 493 | 494 | msgid "&Default Options" 495 | msgstr "" 496 | 497 | msgid "&Close" 498 | msgstr "" 499 | 500 | msgid "&Visible" 501 | msgstr "" 502 | 503 | msgid "T&ext Options" 504 | msgstr "" 505 | 506 | msgid "Icons + Selective Text" 507 | msgstr "" 508 | 509 | msgid "Icons" 510 | msgstr "" 511 | 512 | msgid "Icons + Text" 513 | msgstr "" 514 | 515 | msgid "Text" 516 | msgstr "" 517 | 518 | msgid "&Icon Options" 519 | msgstr "" 520 | 521 | msgid "Large Icons" 522 | msgstr "" 523 | 524 | msgid "Small Icons" 525 | msgstr "" 526 | 527 | msgid "&Skins" 528 | msgstr "" 529 | 530 | msgid "C&hange" 531 | msgstr "" 532 | 533 | msgid "[ Separator ]" 534 | msgstr "" 535 | 536 | msgid "[ Blank Separator ]" 537 | msgstr "" 538 | 539 | msgid "To add command buttons, drag and drop commands onto a toolbar. To remove command buttons, drag them off the toolbar and drop them on the commands list." 540 | msgstr "" 541 | 542 | msgid "Change Shortcut" 543 | msgstr "" 544 | 545 | msgid "The shortcut is already being used by the \"%s\" command. Do you want to reassign it to the \"%s\" command?" 546 | msgstr "" 547 | 548 | # ColorEdit Form 549 | msgid "Transparent Color" 550 | msgstr "" 551 | 552 | msgid "Color Picker" 553 | msgstr "" 554 | 555 | msgid "Drag && Drop" 556 | msgstr "" 557 | 558 | -------------------------------------------------------------------------------- /Demos/Customizer/locale/tr/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/tr/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/uk/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/uk/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/zh_CN/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Customizer/locale/zh_CN/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /Demos/Customizer/locale/zh_CN/LC_MESSAGES/default.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: Customizer Demo\n" 4 | "POT-Creation-Date: 2005-08-09 16:55\n" 5 | "PO-Revision-Date: 2009-12-09 20:38-0300\n" 6 | "Last-Translator: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: dxgettext 1.2\n" 11 | "Language-Team: \n" 12 | 13 | #. Form1..SpTBXDock1..tbStandard..Caption 14 | #: Unit1.dfm:29 15 | msgid "Standard" 16 | msgstr "标准" 17 | 18 | #. Form1..SpTBXDock1..tbStandard..tNew..CaptionW 19 | #: Unit1.dfm:37 20 | #: Unit1.dfm:159 21 | #: Unit1.dfm:1559 22 | msgid "New" 23 | msgstr "新建" 24 | 25 | #. Form1..SpTBXDock1..tbStandard..tOpen..CaptionW 26 | #: Unit1.dfm:41 27 | msgid "Open" 28 | msgstr "打开" 29 | 30 | #. Form1..SpTBXDock1..tbStandard..tSave..CaptionW 31 | #: Unit1.dfm:45 32 | #: Unit1.dfm:167 33 | #: Unit1.dfm:318 34 | #: Unit1.dfm:1573 35 | msgid "Save" 36 | msgstr "保存" 37 | 38 | #. Form1..SpTBXDock1..tbStandard..tCut..CaptionW 39 | #: Unit1.dfm:51 40 | #: Unit1.dfm:184 41 | #: Unit1.dfm:1585 42 | msgid "Cut" 43 | msgstr "剪切" 44 | 45 | #. Form1..SpTBXDock1..tbStandard..tCopy..CaptionW 46 | #: Unit1.dfm:55 47 | #: Unit1.dfm:188 48 | #: Unit1.dfm:1592 49 | msgid "Copy" 50 | msgstr "复制" 51 | 52 | #. Form1..SpTBXDock1..tbStandard..tPaste..CaptionW 53 | #: Unit1.dfm:60 54 | #: Unit1.dfm:192 55 | #: Unit1.dfm:1599 56 | msgid "Paste" 57 | msgstr "粘贴" 58 | 59 | #. Form1..SpTBXDock1..tbStandard..tFind..CaptionW 60 | #: Unit1.dfm:67 61 | #: Unit1.dfm:206 62 | #: Unit1.dfm:1612 63 | msgid "Find" 64 | msgstr "查找" 65 | 66 | #. Form1..SpTBXDock1..tbStandard..tThemes..CaptionW 67 | #: Unit1.dfm:73 68 | msgid "Themes" 69 | msgstr "主题" 70 | 71 | #. Form1..SpTBXDock1..tbFormat..Caption 72 | #. Form1..TntActionList1..aLeftJustify..Category 73 | #. Form1..TntActionList1..aNumberedBullets..Category 74 | #: Unit1.dfm:99 75 | #: Unit1.dfm:1618 76 | #: Unit1.dfm:1625 77 | #: Unit1.dfm:1632 78 | #: Unit1.dfm:1639 79 | #: Unit1.dfm:1645 80 | #: Unit1.dfm:1651 81 | #: Unit1.dfm:1657 82 | #: Unit1.dfm:1663 83 | msgid "Format" 84 | msgstr "格式" 85 | 86 | #. Form1..SpTBXDock1..tbFormat..tFont..Caption 87 | #: Unit1.dfm:106 88 | msgid "Font Name" 89 | msgstr "字体" 90 | 91 | #. Form1..SpTBXDock1..tbFormat..tFontSize..Caption 92 | #: Unit1.dfm:116 93 | msgid "Font Size" 94 | msgstr "字体大小" 95 | 96 | #. Form1..SpTBXDock1..tbFormat..tBold..CaptionW 97 | #: Unit1.dfm:132 98 | #: Unit1.dfm:213 99 | #: Unit1.dfm:1619 100 | msgid "Bold" 101 | msgstr "粗体" 102 | 103 | #. Form1..SpTBXDock1..tbFormat..tItalic..CaptionW 104 | #: Unit1.dfm:136 105 | #: Unit1.dfm:217 106 | #: Unit1.dfm:1626 107 | msgid "Italic" 108 | msgstr "斜体" 109 | 110 | #. Form1..SpTBXDock1..tbFormat..tUnderline..CaptionW 111 | #: Unit1.dfm:140 112 | #: Unit1.dfm:221 113 | #: Unit1.dfm:1633 114 | msgid "Underline" 115 | msgstr "下划线" 116 | 117 | #. Form1..SpTBXDock1..tbMenuBar..Caption 118 | #: Unit1.dfm:146 119 | msgid "Menu" 120 | msgstr "菜单" 121 | 122 | #. Form1..SpTBXDock1..tbMenuBar..mFile..CaptionW 123 | #: Unit1.dfm:156 124 | msgid "&File" 125 | msgstr "文件(&F)" 126 | 127 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mOpen..CaptionW 128 | #: Unit1.dfm:163 129 | #: Unit1.dfm:1566 130 | msgid "Open..." 131 | msgstr "打开..." 132 | 133 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mPrint..CaptionW 134 | #: Unit1.dfm:171 135 | #: Unit1.dfm:1670 136 | #: Unit1.dfm:1744 137 | msgid "Print" 138 | msgstr "打印" 139 | 140 | #. Form1..SpTBXDock1..tbMenuBar..mFile..mExit..CaptionW 141 | #: Unit1.dfm:177 142 | #: Unit1.dfm:1580 143 | #: Unit1.dfm:1776 144 | msgid "Exit" 145 | msgstr "退出" 146 | 147 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..CaptionW 148 | #: Unit1.dfm:181 149 | msgid "&Edit" 150 | msgstr "编辑(&E)" 151 | 152 | #. Form1..SpTBXDock1..tbMenuBar..mEdit..mSelectAll..CaptionW 153 | #: Unit1.dfm:198 154 | #: Unit1.dfm:1606 155 | #: Unit1.dfm:1772 156 | msgid "Select All" 157 | msgstr "全选" 158 | 159 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..CaptionW 160 | #: Unit1.dfm:210 161 | msgid "&Format" 162 | msgstr "格式(&F)" 163 | 164 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mLeftJustify..CaptionW 165 | #: Unit1.dfm:227 166 | #: Unit1.dfm:1640 167 | #: Unit1.dfm:1748 168 | msgid "Left Justify" 169 | msgstr "文本两端对齐" 170 | 171 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mCentered..CaptionW 172 | #: Unit1.dfm:231 173 | #: Unit1.dfm:1652 174 | #: Unit1.dfm:1752 175 | msgid "Centered" 176 | msgstr "居中" 177 | 178 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mRightJustify..CaptionW 179 | #: Unit1.dfm:235 180 | #: Unit1.dfm:1646 181 | #: Unit1.dfm:1756 182 | msgid "Right Justify" 183 | msgstr "文本两端对齐" 184 | 185 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mBullets..CaptionW 186 | #: Unit1.dfm:241 187 | #: Unit1.dfm:1658 188 | #: Unit1.dfm:1760 189 | msgid "Bullets" 190 | msgstr "项目符号" 191 | 192 | #. Form1..SpTBXDock1..tbMenuBar..SpTBXSubmenuItem1..mNumberedBullets..CaptionW 193 | #: Unit1.dfm:245 194 | #: Unit1.dfm:1664 195 | #: Unit1.dfm:1764 196 | msgid "Numbered Bullets" 197 | msgstr "数字编号" 198 | 199 | #. Form1..SpTBXDock1..tbMenuBar..mView..CaptionW 200 | #: Unit1.dfm:249 201 | msgid "&View" 202 | msgstr "查看(&V)" 203 | 204 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..CaptionW 205 | #: Unit1.dfm:251 206 | msgid "&Sidebar" 207 | msgstr "侧边栏(&S)" 208 | 209 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mCommandsLog..CaptionW 210 | #: Unit1.dfm:254 211 | msgid "&Commands Log" 212 | msgstr "命令日志(&C)" 213 | 214 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mOptions..CaptionW 215 | #: Unit1.dfm:258 216 | msgid "&Options" 217 | msgstr "选项(&O)" 218 | 219 | #. Form1..SpTBXDock1..tbMenuBar..mView..mSidebar..mmHelp..CaptionW 220 | #: Unit1.dfm:262 221 | #: Unit1.dfm:286 222 | #: Unit1.dfm:288 223 | msgid "&Help" 224 | msgstr "帮助(&H)" 225 | 226 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..CaptionW 227 | #: Unit1.dfm:266 228 | msgid "&Toolbars" 229 | msgstr "工具栏(&T)" 230 | 231 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mStandardToolbar..CaptionW 232 | #: Unit1.dfm:269 233 | msgid "&Standard Toolbar" 234 | msgstr "标准工具栏(&S)" 235 | 236 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..tLayoutsToolbar..CaptionW 237 | #: Unit1.dfm:273 238 | msgid "&Layouts Toolbar" 239 | msgstr "布局工具栏(&L)" 240 | 241 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mFormattingToolbar..CaptionW 242 | #: Unit1.dfm:277 243 | msgid "&Formatting Toolbar" 244 | msgstr "格式工具栏(&F)" 245 | 246 | #. Form1..SpTBXDock1..tbMenuBar..mView..mToolbars..mNavigationToolbar..CaptionW 247 | #: Unit1.dfm:281 248 | msgid "&Navigation Toolbar" 249 | msgstr "导航工具栏(&N)" 250 | 251 | #. Form1..SpTBXDock1..tbMenuBar..mHelp..mAbout..CaptionW 252 | #: Unit1.dfm:291 253 | msgid "&About" 254 | msgstr "关于(&A)" 255 | 256 | #. Form1..SpTBXDock1..tbLayouts..Caption 257 | #: Unit1.dfm:298 258 | #: Unit1.dfm:305 259 | #: Unit1.dfm:308 260 | msgid "Layouts" 261 | msgstr "布局" 262 | 263 | #. Form1..SpTBXMultiDock1..dpLog..Caption 264 | #: Unit1.dfm:332 265 | msgid "Commands Log" 266 | msgstr "命令日志" 267 | 268 | #. Form1..SpTBXMultiDock1..dpOptions..Caption 269 | #: Unit1.dfm:352 270 | msgid "Customizer Options" 271 | msgstr "自定义选项" 272 | 273 | #. Form1..SpTBXMultiDock2..dpHelp..Caption 274 | #: Unit1.dfm:368 275 | msgid "Help" 276 | msgstr "帮助" 277 | 278 | #. Form1..SpTBXMultiDock2..dpHelp..SpTBXLabel1..Caption 279 | #: Unit1.dfm:380 280 | msgid "Right click the toolbars to customize them" 281 | msgstr "在工具栏上单击右键进行自定义" 282 | 283 | #. Form1..SpTBXDock2..tbNavigation..Caption 284 | #. Form1..TntActionList1..aRefresh..Category 285 | #: Unit1.dfm:402 286 | #: Unit1.dfm:1675 287 | #: Unit1.dfm:1681 288 | #: Unit1.dfm:1687 289 | #: Unit1.dfm:1693 290 | #: Unit1.dfm:1699 291 | #: Unit1.dfm:1705 292 | msgid "Navigation" 293 | msgstr "导航" 294 | 295 | #. Form1..SpTBXDock2..tbNavigation..tBack..CaptionW 296 | #: Unit1.dfm:409 297 | #: Unit1.dfm:1676 298 | msgid "Back" 299 | msgstr "后退" 300 | 301 | #. Form1..SpTBXDock2..tbNavigation..tForward..CaptionW 302 | #: Unit1.dfm:413 303 | #: Unit1.dfm:1682 304 | msgid "Forward" 305 | msgstr "前进" 306 | 307 | #. Form1..SpTBXDock2..tbNavigation..tRefresh..CaptionW 308 | #: Unit1.dfm:417 309 | #: Unit1.dfm:1694 310 | msgid "Refresh" 311 | msgstr "刷新" 312 | 313 | #. Form1..SpTBXDock2..tbNavigation..tStop..CaptionW 314 | #: Unit1.dfm:421 315 | #: Unit1.dfm:1688 316 | msgid "Stop" 317 | msgstr "停止" 318 | 319 | #. Form1..SpTBXDock2..tbNavigation..tSearch..CaptionW 320 | #: Unit1.dfm:425 321 | #: Unit1.dfm:1700 322 | msgid "Search" 323 | msgstr "搜索" 324 | 325 | #. Form1..TntActionList1..aNew..Category 326 | #. Form1..TntActionList1..aPrint..Category 327 | #: Unit1.dfm:1558 328 | #: Unit1.dfm:1565 329 | #: Unit1.dfm:1572 330 | #: Unit1.dfm:1579 331 | #: Unit1.dfm:1669 332 | msgid "Files" 333 | msgstr " 文件" 334 | 335 | #. Form1..TntActionList1..aCut..Category 336 | #. Form1..TntActionList1..aFind..Category 337 | #: Unit1.dfm:1584 338 | #: Unit1.dfm:1591 339 | #: Unit1.dfm:1598 340 | #: Unit1.dfm:1605 341 | #: Unit1.dfm:1611 342 | msgid "Edit" 343 | msgstr "编辑" 344 | 345 | #. Form1..TntActionList1..aCustomize..Category 346 | #: Unit1.dfm:1711 347 | #: Unit1.dfm:1716 348 | msgid "Customization" 349 | msgstr "自定义" 350 | 351 | #. Form1..TntActionList1..aCustomize..Caption 352 | #: Unit1.dfm:1712 353 | #: Unit1.dfm:1731 354 | msgid "Customize..." 355 | msgstr "自定义..." 356 | 357 | #. Form1..TntActionList1..aEmbeddedCustomize..Caption 358 | #: Unit1.dfm:1717 359 | #: Unit1.dfm:1735 360 | msgid "Embedded Customize..." 361 | msgstr "嵌入式自定义..." 362 | 363 | #. Form2..Caption 364 | #: Unit2.dfm:7 365 | msgid "Options" 366 | msgstr "选项" 367 | 368 | #. Form2..SpTBXDock1..SpTBXToolbar1..tProperties..CaptionW 369 | #: Unit2.dfm:49 370 | msgid "Properties" 371 | msgstr "属性" 372 | 373 | #. Form2..SpTBXDock1..SpTBXToolbar1..tPageSetup..CaptionW 374 | #: Unit2.dfm:58 375 | msgid "Page Setup" 376 | msgstr "页面设置" 377 | 378 | #. Form2..SpTBXDock1..SpTBXToolbar1..tHistory..CaptionW 379 | #: Unit2.dfm:67 380 | msgid "History" 381 | msgstr "历史" 382 | 383 | #. Form2..SpTBXDock1..SpTBXToolbar1..tFavorites..CaptionW 384 | #: Unit2.dfm:76 385 | msgid "Favorites" 386 | msgstr "收藏" 387 | 388 | #. Form2..SpTBXDock1..SpTBXToolbar1..tCustomize..CaptionW 389 | #: Unit2.dfm:85 390 | #: Unit2.dfm:168 391 | msgid "Customizer" 392 | msgstr "自定义" 393 | 394 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton1..Caption 395 | #: Unit2.dfm:122 396 | msgid "OK" 397 | msgstr "确定" 398 | 399 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton2..Caption 400 | #: Unit2.dfm:137 401 | msgid "Cancel" 402 | msgstr "取消" 403 | 404 | #. Form2..LeftPanel..ButtonsPanel..SpTBXButton3..Caption 405 | #: Unit2.dfm:152 406 | msgid "Apply" 407 | msgstr "应用" 408 | 409 | #: Unit1.pas:235 410 | msgid "Save Layout" 411 | msgstr "保存布局" 412 | 413 | #: Unit1.pas:235 414 | msgid "Save current layout as:" 415 | msgstr "将当前布局保存为:" 416 | 417 | # Customizer Form 418 | msgid "Toolbars" 419 | msgstr "工具栏" 420 | 421 | msgid "Commands" 422 | msgstr "命令" 423 | 424 | msgid "Shortcuts" 425 | msgstr "快捷键" 426 | 427 | msgid "&Default Options" 428 | msgstr "默认选项(&D)" 429 | 430 | msgid "&Close" 431 | msgstr "关闭(&C)" 432 | 433 | msgid "&Visible" 434 | msgstr "可见(&V)" 435 | 436 | msgid "T&ext Options" 437 | msgstr "文字选项(&E)" 438 | 439 | msgid "Icons + Selective Text" 440 | msgstr "图标及选择性文字" 441 | 442 | msgid "Icons" 443 | msgstr "仅图标" 444 | 445 | msgid "Icons + Text" 446 | msgstr "图标及文字" 447 | 448 | msgid "Text" 449 | msgstr "仅文字" 450 | 451 | msgid "&Icon Options" 452 | msgstr "图标选项(&I)" 453 | 454 | msgid "Large Icons" 455 | msgstr "大图标" 456 | 457 | msgid "Small Icons" 458 | msgstr "小图标" 459 | 460 | msgid "&Skins" 461 | msgstr "皮肤(&S)" 462 | 463 | msgid "C&hange" 464 | msgstr "修改(&H)" 465 | 466 | msgid "[ Separator ]" 467 | msgstr "[ 分隔符 ]" 468 | 469 | msgid "[ Blank Separator ]" 470 | msgstr "[ 空白分隔符 ]" 471 | 472 | msgid "To add command buttons, drag and drop commands onto a toolbar. To remove command buttons, drag them off the toolbar and drop them on the commands list." 473 | msgstr "将命令拖放到工具栏上以添加命令按钮。将命令按钮从工具栏上拖放到命令列表以移除它们。" 474 | 475 | msgid "Change Shortcut" 476 | msgstr "修改快捷方式" 477 | 478 | msgid "The shortcut is already being used by the \"%s\" command. Do you want to reassign it to the \"%s\" command?" 479 | msgstr "该快捷方式已经被“%s”命令占用。您希望将其重新指定到“%s”命令吗?" 480 | 481 | # ColorEdit Form 482 | msgid "Transparent Color" 483 | msgstr "透明色" 484 | 485 | msgid "Color Picker" 486 | msgstr "颜色拾取器" 487 | 488 | msgid "Drag && Drop" 489 | msgstr "拖放" 490 | 491 | -------------------------------------------------------------------------------- /Demos/Customizer/translations.txt: -------------------------------------------------------------------------------- 1 | 2 | The Customizer Demo uses dxgettext (http://dxgettext.po.dk) to translate the strings to various languages. 3 | Unfortunately the translations are not complete: 4 | 5 | ar (Arabic): 100% translated (Ammar I) 6 | de (German): 73% translated (Thomas Speck) 7 | es (Spanish): 100% translated (Robert Lee) 8 | fi (Finnish): 73% translated (Tapio Saarikumpu) 9 | fr (French): 73% translated (Bob Baudewyns) 10 | ja (Japanese): 100% translated (Minoru Yoshida) 11 | ko (Korean): 100% translated (Hyeonwoo Oh) 12 | nl (Dutch): 73% translated (Alfred Vink) 13 | pt_BR (Brazilian): 73% translated (Mauricio Magnani) 14 | ru (Russian): 73% translated (Alexey Naumov) 15 | sr_Cyrillic (Serbian): 73% translated (Marko Binic) 16 | sr_Latin (Serbian): 73% translated (Marko Binic) 17 | sv (Swedish): 73% translated (Mattias Andersson) 18 | tr (Turkish): 73% translated (Zylar) 19 | uk (Ukranian): 100% translated (Roman Sokhan) 20 | zh_CN (Chinese): 100% translated (Beta Xiong) 21 | 22 | You can edit the translations with Notepad, just open the corresponding po file of the language. 23 | For example to edit the Chinese translation open the \locale\zh_CN\LC_MESSAGES\default.po file with Notepad and edit the msgstr entries. 24 | You can also use a PoEdit (http://poedit.sourceforge.net) to edit the files. 25 | 26 | To create a new translation for a different language use the default.po file template located in the locale directory. 27 | 28 | If you improve one of the translations please send it to me, my mail address is on: 29 | http://www.silverpointdevelopment.com/sptbxlib/support.htm -------------------------------------------------------------------------------- /Demos/FormPopupMenu/FormPopupMenu.dpr: -------------------------------------------------------------------------------- 1 | program FormPopupMenu; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}, 6 | Unit2 in 'Unit2.pas' {Form2}, 7 | Unit3 in 'Unit3.pas' {Form3}; 8 | 9 | {$R *.res} 10 | 11 | begin 12 | Application.Initialize; 13 | Application.MainFormOnTaskBar := True; 14 | Application.CreateForm(TForm1, Form1); 15 | Application.CreateForm(TForm2, Form2); 16 | Application.CreateForm(TForm3, Form3); 17 | Application.Run; 18 | end. 19 | -------------------------------------------------------------------------------- /Demos/FormPopupMenu/Unit1.dfm: -------------------------------------------------------------------------------- 1 | object Form1: TForm1 2 | Left = 312 3 | Top = 215 4 | Caption = 'Form1' 5 | ClientHeight = 387 6 | ClientWidth = 531 7 | Color = clBtnFace 8 | Font.Charset = DEFAULT_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -11 11 | Font.Name = 'MS Shell Dlg 2' 12 | Font.Style = [] 13 | OldCreateOrder = False 14 | OnShow = FormShow 15 | PixelsPerInch = 96 16 | TextHeight = 13 17 | object SpTBXTitleBar1: TSpTBXTitleBar 18 | Left = 0 19 | Top = 0 20 | Width = 531 21 | Height = 387 22 | Caption = 'Form1' 23 | DesignSize = ( 24 | 531 25 | 387) 26 | object SpTBXSubmenuItem2: TSpTBXSubmenuItem 27 | Caption = 'Skins' 28 | Options = [tboDropdownArrow] 29 | OnDrawItem = SpTBXSubmenuItem2DrawItem 30 | LinkSubitems = SpTBXSubmenuItem3 31 | end 32 | object SpTBXStatusBar1: TSpTBXStatusBar 33 | Left = 4 34 | Top = 360 35 | Width = 523 36 | Height = 23 37 | ExplicitTop = 358 38 | object SpTBXLabelItem1: TSpTBXLabelItem 39 | Caption = 'Panel 1' 40 | end 41 | object SpTBXSeparatorItem2: TSpTBXSeparatorItem 42 | end 43 | object SpTBXLabelItem2: TSpTBXLabelItem 44 | Caption = 'Panel 2' 45 | end 46 | end 47 | object SpTBXDock2: TSpTBXDock 48 | Left = 4 49 | Top = 26 50 | Width = 523 51 | Height = 23 52 | object SpTBXToolbar2: TSpTBXToolbar 53 | Left = 0 54 | Top = 0 55 | CloseButton = False 56 | DockPos = -8 57 | FullSize = True 58 | ProcessShortCuts = True 59 | ShrinkMode = tbsmWrap 60 | Stretch = True 61 | TabOrder = 0 62 | Caption = 'SpTBXToolbar2' 63 | Customizable = False 64 | MenuBar = True 65 | object SpTBXSubmenuItem1: TSpTBXSubmenuItem 66 | Tag = 100 67 | Caption = '&File' 68 | object SpTBXItem1: TSpTBXItem 69 | Caption = '&New' 70 | end 71 | object SpTBXItem2: TSpTBXItem 72 | Caption = '&Open' 73 | end 74 | object SpTBXSeparatorItem1: TSpTBXSeparatorItem 75 | end 76 | object SpTBXItem3: TSpTBXItem 77 | Caption = '&Exit' 78 | end 79 | end 80 | object SpTBXSubmenuItem3: TSpTBXSubmenuItem 81 | Caption = '&Skins' 82 | object SpTBXSkinGroupItem1: TSpTBXSkinGroupItem 83 | end 84 | end 85 | end 86 | end 87 | object SpTBXMultiDock1: TSpTBXMultiDock 88 | Left = 4 89 | Top = 49 90 | Width = 178 91 | Height = 311 92 | object SpTBXDockablePanel1: TSpTBXDockablePanel 93 | Left = 0 94 | Top = 0 95 | Width = 178 96 | Height = 311 97 | Caption = 'Form Popup Options' 98 | DockPos = 0 99 | TabOrder = 0 100 | Options.Close = False 101 | object SpTBXRadioGroup1: TSpTBXRadioGroup 102 | Left = 7 103 | Top = 56 104 | Width = 161 105 | Height = 97 106 | Caption = 'BorderStyle' 107 | TabOrder = 1 108 | OnClick = SpTBXRadioGroup1Click 109 | ItemIndex = 3 110 | Items.Strings = ( 111 | 'pbsFrame' 112 | 'pbsSizeable' 113 | 'pbsSizeableBottom' 114 | 'pbsSizeableRightBottom') 115 | end 116 | object SpTBXCheckBox1: TSpTBXCheckBox 117 | Left = 11 118 | Top = 32 119 | Width = 69 120 | Height = 21 121 | Caption = 'Set focus' 122 | TabOrder = 2 123 | OnClick = SpTBXCheckBox1Click 124 | end 125 | end 126 | end 127 | object SpTBXGroupBox1: TSpTBXGroupBox 128 | Left = 192 129 | Top = 64 130 | Width = 329 131 | Height = 73 132 | Caption = 'Calendar Popup' 133 | Anchors = [akLeft, akTop, akRight] 134 | TabOrder = 4 135 | object SpTBXButtonEdit1: TSpTBXButtonEdit 136 | Left = 16 137 | Top = 33 138 | Width = 121 139 | Height = 21 140 | TabOrder = 0 141 | EditButton.Left = 97 142 | EditButton.Top = 0 143 | EditButton.Width = 20 144 | EditButton.Height = 17 145 | EditButton.Align = alRight 146 | EditButton.DropDownMenu = SpTBXFormPopupMenu1 147 | end 148 | object SpTBXButton1: TSpTBXButton 149 | Left = 184 150 | Top = 32 151 | Width = 121 152 | Height = 25 153 | Caption = 'Date' 154 | TabOrder = 1 155 | DropDownMenu = SpTBXFormPopupMenu1 156 | end 157 | end 158 | object SpTBXGroupBox2: TSpTBXGroupBox 159 | Left = 192 160 | Top = 168 161 | Width = 329 162 | Height = 81 163 | Caption = 'Treeview Popup' 164 | Anchors = [akLeft, akTop, akRight] 165 | TabOrder = 5 166 | object SpTBXButtonEdit2: TSpTBXButtonEdit 167 | Left = 16 168 | Top = 33 169 | Width = 121 170 | Height = 21 171 | TabOrder = 0 172 | EditButton.Left = 97 173 | EditButton.Top = 0 174 | EditButton.Width = 20 175 | EditButton.Height = 17 176 | EditButton.Align = alRight 177 | EditButton.DropDownMenu = SpTBXFormPopupMenu2 178 | end 179 | object SpTBXButton2: TSpTBXButton 180 | Left = 184 181 | Top = 32 182 | Width = 121 183 | Height = 25 184 | Caption = 'Colors' 185 | TabOrder = 1 186 | DropDownMenu = SpTBXFormPopupMenu2 187 | end 188 | end 189 | end 190 | object SpTBXFormPopupMenu1: TSpTBXFormPopupMenu 191 | BorderStyle = pbsSizeableRightBottom 192 | OnBeforeClosePopup = SpTBXFormPopupMenu1BeforeClosePopup 193 | Left = 200 194 | Top = 304 195 | end 196 | object SpTBXFormPopupMenu2: TSpTBXFormPopupMenu 197 | BorderStyle = pbsSizeableRightBottom 198 | OnBeforeClosePopup = SpTBXFormPopupMenu2BeforeClosePopup 199 | Left = 240 200 | Top = 304 201 | end 202 | end 203 | -------------------------------------------------------------------------------- /Demos/FormPopupMenu/Unit1.pas: -------------------------------------------------------------------------------- 1 | unit Unit1; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 | Dialogs, StdCtrls, ExtCtrls, ImgList, Menus, ComCtrls, 8 | TB2Dock, TB2Toolbar, TB2Item, TB2ExtItems, 9 | SpTBXSkins, SpTBXItem, SpTBXControls, SpTBXEditors, SpTBXFormPopupMenu, 10 | SpTBXDkPanels; 11 | 12 | type 13 | TForm1 = class(TForm) 14 | SpTBXDock2: TSpTBXDock; 15 | SpTBXToolbar2: TSpTBXToolbar; 16 | SpTBXSubmenuItem1: TSpTBXSubmenuItem; 17 | SpTBXStatusBar1: TSpTBXStatusBar; 18 | SpTBXTitleBar1: TSpTBXTitleBar; 19 | SpTBXSubmenuItem2: TSpTBXSubmenuItem; 20 | SpTBXItem1: TSpTBXItem; 21 | SpTBXItem2: TSpTBXItem; 22 | SpTBXSeparatorItem1: TSpTBXSeparatorItem; 23 | SpTBXItem3: TSpTBXItem; 24 | SpTBXMultiDock1: TSpTBXMultiDock; 25 | SpTBXDockablePanel1: TSpTBXDockablePanel; 26 | SpTBXRadioGroup1: TSpTBXRadioGroup; 27 | SpTBXCheckBox1: TSpTBXCheckBox; 28 | SpTBXGroupBox1: TSpTBXGroupBox; 29 | SpTBXGroupBox2: TSpTBXGroupBox; 30 | SpTBXButtonEdit1: TSpTBXButtonEdit; 31 | SpTBXButton1: TSpTBXButton; 32 | SpTBXButtonEdit2: TSpTBXButtonEdit; 33 | SpTBXButton2: TSpTBXButton; 34 | SpTBXFormPopupMenu1: TSpTBXFormPopupMenu; 35 | SpTBXFormPopupMenu2: TSpTBXFormPopupMenu; 36 | SpTBXSubmenuItem3: TSpTBXSubmenuItem; 37 | SpTBXSkinGroupItem1: TSpTBXSkinGroupItem; 38 | SpTBXLabelItem1: TSpTBXLabelItem; 39 | SpTBXSeparatorItem2: TSpTBXSeparatorItem; 40 | SpTBXLabelItem2: TSpTBXLabelItem; 41 | procedure SpTBXSubmenuItem2DrawItem(Sender: TObject; ACanvas: TCanvas; 42 | ARect: TRect; ItemInfo: TSpTBXMenuItemInfo; 43 | const PaintStage: TSpTBXPaintStage; var PaintDefault: Boolean); 44 | procedure SpTBXCheckBox1Click(Sender: TObject); 45 | procedure SpTBXRadioGroup1Click(Sender: TObject); 46 | procedure FormShow(Sender: TObject); 47 | procedure SpTBXFormPopupMenu1BeforeClosePopup(Sender: TObject; 48 | Selected: Boolean); 49 | procedure SpTBXFormPopupMenu2BeforeClosePopup(Sender: TObject; 50 | Selected: Boolean); 51 | private 52 | { Private declarations } 53 | public 54 | { Public declarations } 55 | end; 56 | 57 | var 58 | Form1: TForm1; 59 | 60 | implementation 61 | 62 | {$R *.dfm} 63 | 64 | uses 65 | Unit2, Unit3; 66 | 67 | { TForm1 } 68 | 69 | procedure TForm1.FormShow(Sender: TObject); 70 | begin 71 | SpTBXFormPopupMenu1.PopupForm := Form2; 72 | SpTBXFormPopupMenu2.PopupForm := Form3; 73 | end; 74 | 75 | procedure TForm1.SpTBXCheckBox1Click(Sender: TObject); 76 | begin 77 | SpTBXFormPopupMenu1.PopupFocus := SpTBXCheckBox1.Checked; 78 | SpTBXFormPopupMenu2.PopupFocus := SpTBXCheckBox1.Checked; 79 | end; 80 | 81 | procedure TForm1.SpTBXRadioGroup1Click(Sender: TObject); 82 | var 83 | I: Integer; 84 | begin 85 | I := SpTBXRadioGroup1.ItemIndex; 86 | if I > -1 then begin 87 | SpTBXFormPopupMenu1.BorderStyle := TSpTBXPopupBorderStyleType(I); 88 | SpTBXFormPopupMenu2.BorderStyle := TSpTBXPopupBorderStyleType(I); 89 | end; 90 | end; 91 | 92 | procedure TForm1.SpTBXSubmenuItem2DrawItem(Sender: TObject; 93 | ACanvas: TCanvas; ARect: TRect; ItemInfo: TSpTBXMenuItemInfo; 94 | const PaintStage: TSpTBXPaintStage; var PaintDefault: Boolean); 95 | begin 96 | // Don't draw the items background 97 | if (PaintStage = pstPrePaint) and (CurrentSkin.SkinName = 'Default') then 98 | PaintDefault := False; 99 | end; 100 | 101 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 102 | { Popups } 103 | 104 | procedure TForm1.SpTBXFormPopupMenu1BeforeClosePopup(Sender: TObject; 105 | Selected: Boolean); 106 | begin 107 | if Selected then begin 108 | SpTBXButton1.Caption := DateToStr(Form2.MonthCalendar1.Date); 109 | SpTBXButtonEdit1.Text := DateToStr(Form2.MonthCalendar1.Date); 110 | end; 111 | end; 112 | 113 | procedure TForm1.SpTBXFormPopupMenu2BeforeClosePopup(Sender: TObject; 114 | Selected: Boolean); 115 | begin 116 | if Selected then begin 117 | SpTBXButton2.Caption := Form3.TreeView1.Selected.Text; 118 | SpTBXButtonEdit2.Text := Form3.TreeView1.Selected.Text; 119 | end; 120 | end; 121 | 122 | end. 123 | 124 | -------------------------------------------------------------------------------- /Demos/FormPopupMenu/Unit2.dfm: -------------------------------------------------------------------------------- 1 | object Form2: TForm2 2 | Left = 0 3 | Top = 0 4 | Caption = 'Form2' 5 | ClientHeight = 169 6 | ClientWidth = 234 7 | Color = clBtnFace 8 | Font.Charset = DEFAULT_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -11 11 | Font.Name = 'Tahoma' 12 | Font.Style = [] 13 | OldCreateOrder = False 14 | OnCreate = FormCreate 15 | PixelsPerInch = 96 16 | TextHeight = 13 17 | object MonthCalendar1: TMonthCalendar 18 | Left = 0 19 | Top = 0 20 | Width = 234 21 | Height = 169 22 | Align = alClient 23 | AutoSize = True 24 | Date = 38924.528146030090000000 25 | TabOrder = 0 26 | end 27 | end 28 | -------------------------------------------------------------------------------- /Demos/FormPopupMenu/Unit2.pas: -------------------------------------------------------------------------------- 1 | unit Unit2; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 | Dialogs, ComCtrls, CommCtrl, ExtCtrls, SpTBXFormPopupMenu, StdCtrls; 8 | 9 | type 10 | TForm2 = class(TForm) 11 | MonthCalendar1: TMonthCalendar; 12 | procedure FormCreate(Sender: TObject); 13 | private 14 | { Private declarations } 15 | FOldWndProc: TWndMethod; 16 | procedure NewWndProc(var Message: TMessage); 17 | public 18 | { Public declarations } 19 | end; 20 | 21 | var 22 | Form2: TForm2; 23 | 24 | implementation 25 | 26 | {$R *.dfm} 27 | 28 | procedure TForm2.FormCreate(Sender: TObject); 29 | begin 30 | // We can't use the MonthCalendar.OnClick event because 31 | // it gets fired even when clicking on the Prev/Next month 32 | // buttons. We have to subclass it and handle the 33 | // MCN_SELECT notification 34 | MonthCalendar1.DoubleBuffered := True; 35 | FOldWndProc := MonthCalendar1.WindowProc; 36 | MonthCalendar1.WindowProc := NewWndProc; 37 | end; 38 | 39 | procedure TForm2.NewWndProc(var Message: TMessage); 40 | begin 41 | FOldWndProc(Message); // default WndProc 42 | if Message.Msg = CN_NOTIFY then 43 | if TWMNotify(Message).NMHdr^.code = MCN_SELECT then begin 44 | // Inform the ActiveFormPopupMenu that a selection was made. 45 | if Assigned(ActiveFormPopupMenu) then 46 | ActiveFormPopupMenu.ClosePopup(True); 47 | end; 48 | end; 49 | 50 | end. 51 | -------------------------------------------------------------------------------- /Demos/FormPopupMenu/Unit3.dfm: -------------------------------------------------------------------------------- 1 | object Form3: TForm3 2 | Left = 0 3 | Top = 0 4 | Caption = 'Form3' 5 | ClientHeight = 105 6 | ClientWidth = 174 7 | Color = clBtnFace 8 | Font.Charset = DEFAULT_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -11 11 | Font.Name = 'Tahoma' 12 | Font.Style = [] 13 | OldCreateOrder = False 14 | OnCreate = FormCreate 15 | PixelsPerInch = 96 16 | TextHeight = 13 17 | object TreeView1: TTreeView 18 | Left = 0 19 | Top = 0 20 | Width = 174 21 | Height = 105 22 | Align = alClient 23 | BorderStyle = bsNone 24 | HideSelection = False 25 | HotTrack = True 26 | Images = ImageList1 27 | Indent = 19 28 | StateImages = ImageList1 29 | TabOrder = 0 30 | OnMouseUp = TreeView1MouseUp 31 | end 32 | object ImageList1: TImageList 33 | Left = 48 34 | Top = 64 35 | end 36 | end 37 | -------------------------------------------------------------------------------- /Demos/FormPopupMenu/Unit3.pas: -------------------------------------------------------------------------------- 1 | unit Unit3; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 | Dialogs, StdCtrls, ComCtrls, ImgList, SpTBXFormPopupMenu; 8 | 9 | type 10 | TForm3 = class(TForm) 11 | TreeView1: TTreeView; 12 | ImageList1: TImageList; 13 | procedure FormCreate(Sender: TObject); 14 | procedure TreeView1MouseUp(Sender: TObject; Button: TMouseButton; 15 | Shift: TShiftState; X, Y: Integer); 16 | private 17 | { Private declarations } 18 | public 19 | { Public declarations } 20 | function AddIcon(Fill: TColor; Circular: Boolean = False): Integer; 21 | procedure CreateNodesProc(const S: string); 22 | end; 23 | 24 | var 25 | Form3: TForm3; 26 | 27 | implementation 28 | 29 | {$R *.dfm} 30 | 31 | function TForm3.AddIcon(Fill: TColor; Circular: Boolean = False): Integer; 32 | var 33 | B: TBitmap; 34 | R: TRect; 35 | begin 36 | B := TBitmap.Create; 37 | try 38 | B.Width := 16; 39 | B.Height := 16; 40 | B.Canvas.Brush.Color := Fill; 41 | R := Rect(0, 0, B.Width, B.Height); 42 | InflateRect(R, -1, -1); 43 | if Circular then 44 | B.Canvas.Ellipse(R) 45 | else 46 | B.Canvas.Rectangle(R); 47 | Result := ImageList1.Add(B, nil); 48 | finally 49 | B.Free; 50 | end; 51 | end; 52 | 53 | procedure TForm3.CreateNodesProc(const S: string); 54 | var 55 | ParentNode: TTreeNode; 56 | C: TColor; 57 | begin 58 | // Add the color node 59 | C := StringToColor(S); 60 | ParentNode := TreeView1.Items.GetFirstNode; 61 | if C < 0 then 62 | ParentNode := ParentNode.getNextSibling; 63 | with TreeView1.Items.AddChildObject(ParentNode, S, Pointer(C)) do begin 64 | ImageIndex := AddIcon(C); 65 | SelectedIndex := ImageIndex; 66 | end; 67 | end; 68 | 69 | procedure TForm3.FormCreate(Sender: TObject); 70 | var 71 | I: Integer; 72 | begin 73 | I := AddIcon(clWhite, True); 74 | // Add the parent nodes to the TreeView 75 | with TreeView1.Items.Add(nil, 'Standard Colors') do begin 76 | ImageIndex := I; 77 | SelectedIndex := ImageIndex; 78 | end; 79 | with TreeView1.Items.Add(nil, 'System Colors') do begin 80 | ImageIndex := I; 81 | SelectedIndex := ImageIndex; 82 | end; 83 | // Add the color nodes 84 | GetColorValues(CreateNodesProc); 85 | end; 86 | 87 | procedure TForm3.TreeView1MouseUp(Sender: TObject; Button: TMouseButton; 88 | Shift: TShiftState; X, Y: Integer); 89 | var 90 | Node: TTreeNode; 91 | begin 92 | if Button = mbLeft then begin 93 | Node := TreeView1.GetNodeAt(X, Y); 94 | if Assigned(Node) and Node.Selected and (Node.Level > 0) then begin 95 | // Inform the ActiveFormPopupMenu that a selection was made. 96 | if Assigned(ActiveFormPopupMenu) then 97 | ActiveFormPopupMenu.ClosePopup(True); 98 | end; 99 | end; 100 | end; 101 | 102 | end. 103 | -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/00opendrawer-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/00opendrawer-16x16.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/00opendrawer-24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/00opendrawer-24x24.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/00opendrawer-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/00opendrawer-32x32.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/01closedrawer-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/01closedrawer-16x16.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/01closedrawer-24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/01closedrawer-24x24.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/01closedrawer-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/01closedrawer-32x32.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/02close-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/02close-16x16.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/02close-24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/02close-24x24.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/02close-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/02close-32x32.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/03prior-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/03prior-16x16.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/03prior-24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/03prior-24x24.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/03prior-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/03prior-32x32.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/04next-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/04next-16x16.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/04next-24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/04next-24x24.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/04next-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/04next-32x32.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/05go-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/05go-16x16.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/05go-24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/05go-24x24.png -------------------------------------------------------------------------------- /Demos/Overview/Glyphs/05go-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/Glyphs/05go-32x32.png -------------------------------------------------------------------------------- /Demos/Overview/Overview.dpr: -------------------------------------------------------------------------------- 1 | program Overview; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}; 6 | 7 | {$R *.res} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.MainFormOnTaskBar := True; 12 | Application.CreateForm(TForm1, Form1); 13 | Application.Run; 14 | end. -------------------------------------------------------------------------------- /Demos/Overview/Skins/WMP11.skn: -------------------------------------------------------------------------------- 1 | ; =============================================================================================================== 2 | ; 3 | ; Syntax: 4 | ; [Component] 5 | ; State.Part = Value 6 | ; 7 | ; Component can be: 8 | ; Single state components: Dock, DockablePanel, DockablePanelTitleBar, Gutter, MenuBar, OpenToolbarItem, 9 | ; Panel, Popup, Separator, Splitter, StatusBar, StatusBarGrip, TabBackground, 10 | ; TabToolbar, Toolbar, ToolbarGrip, Window, WindowTitleBar 11 | ; Multiple state componentes: MenuBarItem, MenuItem, ToolbarItem, Button, CheckBox, EditButton, EditFrame, 12 | ; Header, Label, ListItem, ProgressBar, RadioButton, Tab, TrackBar, TrackBarButton 13 | ; 14 | ; State can be: Normal, Disabled, HotTrack, Pushed, Checked, CheckedAndHotTrack 15 | ; 16 | ; Part can be: Body, Borders, TextColor 17 | ; 18 | ; =============================================================================================================== 19 | ; 20 | ; Value syntax: 21 | ; 22 | ; Body = GradientType, GradientColor1, GradientColor2, GradientColor3, GradientColor4 23 | ; Body represents the controls client area, GradientType can be one of the 24 | ; following values: 25 | ; 0 (Solid, uses Color1) 26 | ; 1 (Vertical Gradient, uses 2 colors) 27 | ; 2 (Horizontal Gradient, uses 2 colors) 28 | ; 3 (Vertical Glass Gradient, uses 4 colors) 29 | ; 4 (Horizontal Glass Gradient, uses 4 colors) 30 | ; 5 (Vertical Mirror Gradient, uses 4 colors) 31 | ; 6 (Horizontal Mirror Gradient, uses 4 colors) 32 | ; 7 (Vertical 1/3 Mirror Gradient, uses 4 colors) 33 | ; 8 (Horizontal 1/3 Mirror Gradient, uses 4 colors) 34 | ; 9 (Vertical Office 2007 Gradient, uses 4 colors) 35 | ; 10 (Horizontal Office 2007 Gradient, uses 4 colors) 36 | ; 37 | ; Example, this will draw a white/gray vertical gradient on the buttons normal state: 38 | ; [Button] 39 | ; Normal.Body = 1, clWhite, $DCD8D0 40 | ; 41 | ; 42 | ; Borders = BorderType, TopLeftColor, BottomRightColor, Internal TopLeftColor, Internal BottomRightColor 43 | ; Borders represents the controls borders, BorderType can be one of the 44 | ; following values: 45 | ; 0 (Rectangle border) 46 | ; 1 (Rounded border) 47 | ; 2 (Double rounded) 48 | ; 49 | ; Example, this will draw a white/black rounded beveled border on the buttons normal state: 50 | ; [Button] 51 | ; Normal.Borders = 1, clWhite, clBlack 52 | ; 53 | ; =============================================================================================================== 54 | ; 55 | ; Notes: 56 | ; 57 | ; 1) Colors must be in Delphi notation, for example: clWhite or $FFFFFF are valid 58 | ; 2) clNone is used as the empty fill color 59 | ; 3) Non used colors can be omited 60 | 61 | 62 | [Skin] 63 | Name=WMP11 64 | Author = Ricardo Cardona 65 | ColorBtnFace=clSilver 66 | OfficeStatusBar=0 67 | OfficeIcons=0 68 | TitleBarBorderSize=4 69 | 70 | [Dock] 71 | Normal.Body=0, clBlack, clNone, clNone, clNone 72 | Normal.Borders=0, clNone, clNone, clNone, clNone 73 | Normal.TextColor=clWhite 74 | 75 | [DockablePanel] 76 | Normal.Body=1, $007F665C, $007F665C, clNone, clNone 77 | Normal.Borders=0, clBlack, clBlack, clNone, clNone 78 | Normal.TextColor=clWhite 79 | 80 | [DockablePanelTitleBar] 81 | Normal.Body=3, $00130F0D, $00080606, $00423630, $0082695F 82 | Normal.Borders=1, $00765E56, clBlack, clNone, clNone 83 | Normal.TextColor=clWhite 84 | 85 | [MenuBar] 86 | Normal.Body=1, clSilver, $000E0B0A, clNone, clNone 87 | Normal.Borders=2, $00B0B0B0, $00B0B0B0, clNone, clNone 88 | Normal.TextColor=clWhite 89 | 90 | [Panel] 91 | Normal.Body=0, $007F665C, clBlack, clNone, clNone 92 | Normal.Borders=2, clGray, clGray, $00ADA492, clGray 93 | Normal.TextColor=clWhite 94 | 95 | [Popup] 96 | Normal.Body=0, $007F665C, clNone, clNone, clNone 97 | Normal.Borders=0, clSilver, clSilver, clNone, clNone 98 | Normal.TextColor=clWhite 99 | 100 | [Separator] 101 | Normal.Body=0, clBlack, $007F665C, clNone, clNone 102 | Normal.Borders=0, clNone, clNone, clNone, clNone 103 | Normal.TextColor=clNone 104 | 105 | [Splitter] 106 | Normal.Body=2, $007F665C, $007F665C, clNone, clNone 107 | Normal.Borders=0, clNone, clNone, clNone, clNone 108 | Normal.TextColor=clNone 109 | 110 | [StatusBar] 111 | Normal.Body=1, $00131211, $00744C42, clNone, clNone 112 | Normal.Borders=0, clNone, clNone, clNone, clNone 113 | Normal.TextColor=clWhite 114 | 115 | [StatusBarGrip] 116 | Normal.Body=1, clBlack, $007F665C, clNone, clNone 117 | Normal.Borders=0, clNone, clNone, clNone, clNone 118 | Normal.TextColor=clWhite 119 | 120 | [TabBackground] 121 | Normal.Body=3, clBlack, clBlack, clBlack, $007F665C 122 | Normal.Borders=0, clGray, clGray, clNone, clNone 123 | Normal.TextColor=clNone 124 | 125 | [Toolbar] 126 | Normal.Body=1, clBlack, $007F665C, clNone, clNone 127 | Normal.Borders=2, clNone, clNone, clNone, clNone 128 | Normal.TextColor=clWhite 129 | 130 | [ToolbarGrip] 131 | Normal.Body=1, clBlack, $007F665C, clNone, clNone 132 | Normal.Borders=0, clNone, clNone, clNone, clNone 133 | Normal.TextColor=clWhite 134 | 135 | [Window] 136 | Normal.Body=1, clBlack, $007F665C, clNone, clNone 137 | Normal.Borders=0, clGray, clGray, clSilver, $007F665C 138 | Normal.TextColor=clWhite 139 | 140 | [WindowTitleBar] 141 | Normal.Body=1, clBlack, $007F665C, clNone, clNone 142 | Normal.Borders=0, clNone, clNone, clNone, clNone 143 | Normal.TextColor=clWhite 144 | 145 | [MenuBarItem] 146 | Normal.Body=0, clNone, clNone, clNone, clNone 147 | Normal.Borders=0, clNone, clNone, clNone, clNone 148 | Normal.TextColor=clWhite 149 | Disabled.Body=0, clNone, clNone, clNone, clNone 150 | Disabled.Borders=0, clNone, clNone, clNone, clNone 151 | Disabled.TextColor=clSilver 152 | HotTrack.Body=5, $00D1D1D1, $00ADA492, $00603518, clBlack 153 | HotTrack.Borders=1, $00909090, $00909090, clNone, clNone 154 | HotTrack.TextColor=clWhite 155 | Pushed.Body=1, clBlack, $00603518, clNone, clNone 156 | Pushed.Borders=1, clGray, clGray, $00ADA492, $00E8E19D 157 | Pushed.TextColor=clWhite 158 | Checked.Body=3, clWhite, clBlack, clBlack, $00765F55 159 | Checked.Borders=1, clGray, clGray, $00B0D4DF, clSilver 160 | Checked.TextColor=clWhite 161 | CheckedAndHotTrack.Body=3, clBlack, $00603518, $00ADA492, clWhite 162 | CheckedAndHotTrack.Borders=1, clGray, clGray, $00ADA492, $00E8E19D 163 | CheckedAndHotTrack.TextColor=clWhite 164 | 165 | [MenuItem] 166 | Normal.Body=0, clNone, clNone, clNone, clNone 167 | Normal.Borders=0, clNone, clNone, clNone, clNone 168 | Normal.TextColor=clWhite 169 | Disabled.Body=0, clNone, clNone, clNone, clNone 170 | Disabled.Borders=0, clNone, clNone, clNone, clNone 171 | Disabled.TextColor=clSilver 172 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 173 | HotTrack.Borders=1, $00909090, $00909090, clNone, clNone 174 | HotTrack.TextColor=clWhite 175 | Pushed.Body=1, clSilver, clWhite, clNone, clNone 176 | Pushed.Borders=1, $00909090, $00909090, clNone, clNone 177 | Pushed.TextColor=clWhite 178 | Checked.Body=5, clBlack, $00765F55, $00765F55, clBlack 179 | Checked.Borders=1, clGray, clGray, $00B0D4DF, $00F0FDFF 180 | Checked.TextColor=clWhite 181 | CheckedAndHotTrack.Body=5, clBlack, $00603518, $00ADA492, clWhite 182 | CheckedAndHotTrack.Borders=1, clGray, clGray, $00ADA492, $00E8E19D 183 | CheckedAndHotTrack.TextColor=clWhite 184 | 185 | [ToolbarItem] 186 | Normal.Body=0, clNone, clNone, clNone, clNone 187 | Normal.Borders=0, clNone, clNone, clNone, clNone 188 | Normal.TextColor=clWhite 189 | Disabled.Body=0, clNone, $00392E2B, $005A4A44, $00866E65 190 | Disabled.Borders=0, clNone, clNone, clNone, clNone 191 | Disabled.TextColor=clSilver 192 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 193 | HotTrack.Borders=1, $00909090, $00909090, clNone, clNone 194 | HotTrack.TextColor=clWhite 195 | Pushed.Body=5, clGray, clBlack, clBlack, clGray 196 | Pushed.Borders=1, $00909090, $00909090, clNone, clNone 197 | Pushed.TextColor=clWhite 198 | Checked.Body=5, clGray, clBlack, clBlack, clGray 199 | Checked.Borders=1, clGray, clGray, $00B0D4DF, $00F0FDFF 200 | Checked.TextColor=clWhite 201 | CheckedAndHotTrack.Body=5, clBlack, $00603518, $00ADA492, clWhite 202 | CheckedAndHotTrack.Borders=1, clGray, clGray, $00ADA492, $00E8E19D 203 | CheckedAndHotTrack.TextColor=clWhite 204 | 205 | [Button] 206 | Normal.Body=3, clWhite, clBlack, clBlack, $00765F55 207 | Normal.Borders=1, $00909090, $00909090, $00909090, $00909090 208 | Normal.TextColor=clWhite 209 | Disabled.Body=1, clBlack, $009E9E9E, clNone, clNone 210 | Disabled.Borders=1, $00909090, $00909090, clNone, clNone 211 | Disabled.TextColor=clSilver 212 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 213 | HotTrack.Borders=1, $00909090, $00909090, clNone, clNone 214 | HotTrack.TextColor=clWhite 215 | Pushed.Body=5, clBlack, $00603518, $00ADA492, clWhite 216 | Pushed.Borders=1, $00909090, $00909090, clNone, clNone 217 | Pushed.TextColor=clWhite 218 | Checked.Body=5, $00765F55, clBlack, clBlack, $00765F55 219 | Checked.Borders=1, clGray, clGray, $00B0D4DF, $00F0FDFF 220 | Checked.TextColor=clWhite 221 | CheckedAndHotTrack.Body=5, clBlack, $00550000, $007B7B7B, clWhite 222 | CheckedAndHotTrack.Borders=1, clGray, clGray, $00ADA492, $00E8E19D 223 | CheckedAndHotTrack.TextColor=clWhite 224 | 225 | [CheckBox] 226 | Normal.Body=0, clBlack, clNone, clNone, clNone 227 | Normal.Borders=0, clGray, clGray, clNone, clNone 228 | Normal.TextColor=clWhite 229 | Disabled.Body=0, clNone, clNone, clNone, clNone 230 | Disabled.Borders=0, $0099A8AC, $0099A8AC, clNone, clNone 231 | Disabled.TextColor=clSilver 232 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 233 | HotTrack.Borders=1, $00909090, $00909090, $000E0B0A, $00090706 234 | HotTrack.TextColor=clWhite 235 | Pushed.Body=5, $00E8E19D, $00603518, $00ADA492, clWhite 236 | Pushed.Borders=1, $00E8E19D, $00603518, $00ADA492, clWhite 237 | Pushed.TextColor=clWhite 238 | Checked.Body=0, $00010101, $00F0FDFF, clNone, clNone 239 | Checked.Borders=1, clGray, clGray, clBlack, clBlack 240 | Checked.TextColor=clWhite 241 | CheckedAndHotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 242 | CheckedAndHotTrack.Borders=0, clGray, clGray, $00ADA492, $00E8E19D 243 | CheckedAndHotTrack.TextColor=clWhite 244 | 245 | [EditButton] 246 | Normal.Body=5, clWhite, clBlack, clBlack, $00765F55 247 | Normal.Borders=0, clNone, clNone, clNone, clNone 248 | Normal.TextColor=clWhite 249 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 250 | HotTrack.Borders=1, $00909090, $00909090, clNone, clNone 251 | HotTrack.TextColor=clWhite 252 | Pushed.Body=5, $00E8E19D, $00603518, $00ADA492, clWhite 253 | Pushed.Borders=1, $00909090, $00909090, clNone, clNone 254 | Pushed.TextColor=clNone 255 | Checked.Body=5, $00D2F9FF, $00F0FDFF, clNone, clNone 256 | Checked.Borders=1, clGray, clGray, $00B0D4DF, $00F0FDFF 257 | Checked.TextColor=clNone 258 | CheckedAndHotTrack.Body=5, clWhite, $00E8E19D, clNone, clNone 259 | CheckedAndHotTrack.Borders=1, clGray, clGray, $00ADA492, $00E8E19D 260 | CheckedAndHotTrack.TextColor=clNone 261 | 262 | [EditFrame] 263 | Normal.Body=0, clNone, clNone, clNone, clNone 264 | Normal.Borders=1, clNone, clNone, $00D0D0D0, $00D0D0D0 265 | Normal.TextColor=clNone 266 | Disabled.Body=0, clNone, clNone, clNone, clNone 267 | Disabled.Borders=1, clNone, clNone, $0099A8AC, $0099A8AC 268 | Disabled.TextColor=clNone 269 | HotTrack.Body=0, clNone, clNone, clNone, clNone 270 | HotTrack.Borders=1, clNone, clNone, $00909090, $00909090 271 | HotTrack.TextColor=clNone 272 | 273 | [Label] 274 | Normal.Body=0, clNone, clNone, clNone, clNone 275 | Normal.Borders=0, clNone, clNone, clNone, clNone 276 | Normal.TextColor=clWhite 277 | Disabled.Body=0, clNone, clNone, clNone, clNone 278 | Disabled.Borders=0, clNone, clNone, clNone, clNone 279 | Disabled.TextColor=clSilver 280 | HotTrack.Body=0, clNone, clNone, clNone, clNone 281 | HotTrack.Borders=0, clNone, clNone, clNone, clNone 282 | HotTrack.TextColor=clWhite 283 | Pushed.Body=0, clNone, clNone, clNone, clNone 284 | Pushed.Borders=0, clNone, clNone, clNone, clNone 285 | Pushed.TextColor=clWhite 286 | 287 | [ListItem] 288 | Normal.Body=0, $00765F55, clNone, clNone, clNone 289 | Normal.Borders=0, clNone, clNone, clNone, clNone 290 | Normal.TextColor=clNone 291 | Disabled.Body=0, $00765F55, clNone, clNone, clNone 292 | Disabled.Borders=0, clNone, clNone, clNone, clNone 293 | Disabled.TextColor=clSilver 294 | HotTrack.Body=0, $00765F55, $00E5E2DB, clNone, clNone 295 | HotTrack.Borders=1, $00909090, $00909090, clNone, clNone 296 | HotTrack.TextColor=clWhite 297 | Pushed.Body=0, $00765F55, clWhite, clNone, clNone 298 | Pushed.Borders=1, $00909090, $00909090, clNone, clNone 299 | Pushed.TextColor=clNone 300 | Checked.Body=0, $00765F55, $00F0FDFF, clNone, clNone 301 | Checked.Borders=1, clGray, clGray, $00B0D4DF, $00F0FDFF 302 | Checked.TextColor=clNone 303 | CheckedAndHotTrack.Body=0, $00765F55, $00E8E19D, clNone, clNone 304 | CheckedAndHotTrack.Borders=1, clGray, clGray, $00ADA492, $00E8E19D 305 | CheckedAndHotTrack.TextColor=clNone 306 | 307 | [ProgressBar] 308 | Normal.Body=2, $007F665C, $007F665C, clNone, clNone 309 | Normal.Borders=2, $005E4B44, $00765F55, clNone, clNone 310 | Normal.TextColor=clNone 311 | HotTrack.Body=3, $00FFC584, $00CD410F, $00FF966E, $00866E65 312 | HotTrack.Borders=2, $005E4B44, $00765F55, clNone, clNone 313 | HotTrack.TextColor=clNone 314 | 315 | [RadioButton] 316 | Normal.Body=0, clNone, clNone, clNone, clNone 317 | Normal.Borders=0, clGray, clGray, clNone, clNone 318 | Normal.TextColor=clWhite 319 | Disabled.Body=0, clNone, clNone, clNone, clNone 320 | Disabled.Borders=0, $0099A8AC, $0099A8AC, clNone, clNone 321 | Disabled.TextColor=clSilver 322 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 323 | HotTrack.Borders=1, clWhite, clWhite, clWhite, clWhite 324 | HotTrack.TextColor=clWhite 325 | Pushed.Body=0, clNone, clWhite, clNone, clNone 326 | Pushed.Borders=1, $00909090, $00909090, clNone, clNone 327 | Pushed.TextColor=clWhite 328 | Checked.Body=0, clNone, $00F0FDFF, clNone, clNone 329 | Checked.Borders=1, clGray, clGray, $00B0D4DF, $00F0FDFF 330 | Checked.TextColor=clWhite 331 | CheckedAndHotTrack.Body=5, $00E8E19D, $00603518, $00ADA492, clBlack 332 | CheckedAndHotTrack.Borders=1, clWhite, clWhite, clWhite, clWhite 333 | CheckedAndHotTrack.TextColor=clWhite 334 | 335 | [Tab] 336 | Normal.Body=0, clNone, clNone, clNone, clNone 337 | Normal.Borders=0, clNone, clNone, clNone, clNone 338 | Normal.TextColor=clSilver 339 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 340 | HotTrack.Borders=1, $00A0A0A0, $00A0A0A0, clNone, clNone 341 | HotTrack.TextColor=clWhite 342 | Pushed.Body=0, clNone, clWhite, clNone, clNone 343 | Pushed.Borders=1, $00909090, $00909090, clNone, clNone 344 | Pushed.TextColor=clWhite 345 | Checked.Body=3, clWhite, clBlack, clBlack, clBlack 346 | Checked.Borders=1, $00ADA492, $00ADA492, $00603518, clBlack 347 | Checked.TextColor=clWhite 348 | CheckedAndHotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 349 | CheckedAndHotTrack.Borders=1, clGray, clGray, $00ADA492, $00E8E19D 350 | CheckedAndHotTrack.TextColor=clWhite 351 | 352 | [TrackBar] 353 | Normal.Body=3, $00FFC584, $00CD410F, $00FF966E, $00866E65 354 | Normal.Borders=2, $005E4B44, $00765F55, clNone, clNone 355 | Normal.TextColor=clNone 356 | HotTrack.Body=1, clWhite, clBlack, clNone, clNone 357 | HotTrack.Borders=2, clNone, clNone, clNone, clNone 358 | HotTrack.TextColor=clNone 359 | 360 | [TrackBarButton] 361 | Normal.Body=3, clWhite, clBlack, clBlack, $00765F55 362 | Normal.Borders=2, $00909090, $00909090, clNone, clNone 363 | Normal.TextColor=clNone 364 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, $00E8E19D 365 | HotTrack.Borders=0, clNone, clNone, clNone, clNone 366 | HotTrack.TextColor=clNone 367 | Pushed.Body=5, $00765F55, clBlack, clBlack, clWhite 368 | Pushed.Borders=2, clGray, clGray, $00F0D4DF, clNone 369 | Pushed.TextColor=clNone 370 | 371 | [Header] 372 | Normal.Body=3, clWhite, clBlack, clBlack, $00765F55 373 | Normal.Borders=0, $00D0D0D0, $00909090, clNone, clNone 374 | Normal.TextColor=clWhite 375 | HotTrack.Body=5, clWhite, $00ADA492, $00603518, clBlack 376 | HotTrack.Borders=0, $00909090, $00909090, clNone, clNone 377 | HotTrack.TextColor=clWhite 378 | Pushed.Body=5, $00E8E19D, $00603518, $00ADA492, clWhite 379 | Pushed.Borders=0, $00909090, $00909090, clNone, clNone 380 | Pushed.TextColor=clWhite -------------------------------------------------------------------------------- /Demos/Overview/hint.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Demos/Overview/hint.bmp -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Use and/or distribution of the files requires compliance with the 2 | SpTBXLib License, found in SpTBXLib-LICENSE.txt or at: 3 | 4 | http://www.silverpointdevelopment.com/sptbxlib/SpTBXLib-LICENSE.htm 5 | 6 | Alternatively, at your option, the files may be used and/or distributed under 7 | the terms of the Mozilla Public License Version 1.1, found in MPL-LICENSE.txt or at: 8 | 9 | http://www.mozilla.org/MPL -------------------------------------------------------------------------------- /Packages/RAD Studio Tokyo And Older/SpTBXLib.dpk: -------------------------------------------------------------------------------- 1 | package SpTBXLib; 2 | 3 | {$R *.res} 4 | {$ALIGN 8} 5 | {$ASSERTIONS ON} 6 | {$BOOLEVAL OFF} 7 | {$DEBUGINFO ON} 8 | {$EXTENDEDSYNTAX ON} 9 | {$IMPORTEDDATA ON} 10 | {$IOCHECKS ON} 11 | {$LOCALSYMBOLS ON} 12 | {$LONGSTRINGS ON} 13 | {$OPENSTRINGS ON} 14 | {$OPTIMIZATION ON} 15 | {$OVERFLOWCHECKS OFF} 16 | {$RANGECHECKS OFF} 17 | {$REFERENCEINFO ON} 18 | {$SAFEDIVIDE OFF} 19 | {$STACKFRAMES OFF} 20 | {$TYPEDADDRESS OFF} 21 | {$VARSTRINGCHECKS ON} 22 | {$WRITEABLECONST OFF} 23 | {$MINENUMSIZE 1} 24 | {$IMAGEBASE $4FC00000} 25 | {$DESCRIPTION 'Toolbar2000 -- SpTBXLib'} 26 | {$RUNONLY} 27 | {$IMPLICITBUILD ON} 28 | 29 | requires 30 | vcl, 31 | tb2k_d12, 32 | rtl, 33 | vclx; 34 | 35 | contains 36 | SpTBXItem in '..\..\Source\SpTBXItem.pas', 37 | SpTBXControls in '..\..\Source\SpTBXControls.pas', 38 | SpTBXTabs in '..\..\Source\SpTBXTabs.pas', 39 | SpTBXDkPanels in '..\..\Source\SpTBXDkPanels.pas', 40 | SpTBXEditors in '..\..\Source\SpTBXEditors.pas', 41 | SpTBXExtEditors in '..\..\Source\SpTBXExtEditors.pas', 42 | SpTBXColorPickerForm in '..\..\Source\SpTBXColorPickerForm.pas', 43 | SpTBXMDIMRU in '..\..\Source\SpTBXMDIMRU.pas', 44 | SpTBXFormPopupMenu in '..\..\Source\SpTBXFormPopupMenu.pas', 45 | SpTBXCustomizer in '..\..\Source\SpTBXCustomizer.pas', 46 | SpTBXCustomizerForm in '..\..\Source\SpTBXCustomizerForm.pas', 47 | SpTBXPageScroller in '..\..\Source\SpTBXPageScroller.pas', 48 | SpTBXSkins in '..\..\Source\SpTBXSkins.pas', 49 | SpTBXDefaultSkins in '..\..\Source\SpTBXDefaultSkins.pas'; 50 | 51 | end. -------------------------------------------------------------------------------- /Packages/RAD Studio Tokyo And Older/SpTBXLib.dproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | {1EB74E79-E290-4976-B63E-8E6B50611D5F} 4 | SpTBXLib.dpk 5 | Debug 6 | DCC32 7 | 18.4 8 | VCL 9 | True 10 | Win32 11 | 3 12 | Package 13 | 14 | 15 | true 16 | 17 | 18 | true 19 | Base 20 | true 21 | 22 | 23 | true 24 | Base 25 | true 26 | 27 | 28 | true 29 | Base 30 | true 31 | 32 | 33 | true 34 | Base 35 | true 36 | 37 | 38 | true 39 | All 40 | $(BDSCOMMONDIR)\DCP 41 | SpTBXLib.bpl 42 | 4FC00000 43 | 1 44 | x86 45 | Toolbar2000 -- SpTBXLib 46 | true 47 | false 48 | true 49 | false 50 | true 51 | false 52 | false 53 | SpTBXLib 54 | Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;System.Win;$(DCC_Namespace) 55 | 1033 56 | CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= 57 | true 58 | 59 | 60 | Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) 61 | Debug 62 | true 63 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName) 64 | 1033 65 | 66 | 67 | Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) 68 | Debug 69 | true 70 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 71 | 72 | 73 | false 74 | RELEASE;$(DCC_Define) 75 | 0 76 | 0 77 | 78 | 79 | DEBUG;$(DCC_Define) 80 | 81 | 82 | 83 | MainSource 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | Cfg_2 105 | Base 106 | 107 | 108 | Base 109 | 110 | 111 | Cfg_1 112 | Base 113 | 114 | 115 | 116 | 117 | Delphi.Personality.12 118 | Package 119 | 120 | 121 | 122 | SpTBXLib.dpk 123 | 124 | 125 | False 126 | True 127 | False 128 | 129 | 130 | False 131 | False 132 | 1 133 | 0 134 | 0 135 | 0 136 | False 137 | False 138 | False 139 | False 140 | False 141 | 1033 142 | 1252 143 | 144 | 145 | 146 | 147 | 1.0.0.0 148 | 149 | 150 | 151 | 152 | 153 | 1.0.0.0 154 | 155 | 156 | 157 | 158 | False 159 | False 160 | False 161 | True 162 | True 163 | 164 | 165 | 12 166 | 167 | 168 | 169 | -------------------------------------------------------------------------------- /Packages/RAD Studio Tokyo And Older/SpTBXLib.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Packages/RAD Studio Tokyo And Older/SpTBXLib.res -------------------------------------------------------------------------------- /Packages/RAD Studio Tokyo And Older/SpTBXLibDsgn.dpk: -------------------------------------------------------------------------------- 1 | package SpTBXLibDsgn; 2 | 3 | {$R *.res} 4 | {$R '..\..\Source\SpTBXReg.dcr'} 5 | {$ALIGN 8} 6 | {$ASSERTIONS ON} 7 | {$BOOLEVAL OFF} 8 | {$DEBUGINFO ON} 9 | {$EXTENDEDSYNTAX ON} 10 | {$IMPORTEDDATA ON} 11 | {$IOCHECKS ON} 12 | {$LOCALSYMBOLS ON} 13 | {$LONGSTRINGS ON} 14 | {$OPENSTRINGS ON} 15 | {$OPTIMIZATION ON} 16 | {$OVERFLOWCHECKS OFF} 17 | {$RANGECHECKS OFF} 18 | {$REFERENCEINFO ON} 19 | {$SAFEDIVIDE OFF} 20 | {$STACKFRAMES OFF} 21 | {$TYPEDADDRESS OFF} 22 | {$VARSTRINGCHECKS ON} 23 | {$WRITEABLECONST OFF} 24 | {$MINENUMSIZE 1} 25 | {$IMAGEBASE $4F800000} 26 | {$DESCRIPTION 'Toolbar2000 -- SpTBXLib Design Package'} 27 | {$DESIGNONLY} 28 | {$IMPLICITBUILD ON} 29 | 30 | requires 31 | tb2k_d12, 32 | tb2kdsgn_d12, 33 | SpTBXLib, 34 | dclstd, 35 | vcl; 36 | 37 | contains 38 | SpTBXReg in '..\..\Source\SpTBXReg.pas'; 39 | 40 | end. -------------------------------------------------------------------------------- /Packages/RAD Studio Tokyo And Older/SpTBXLibDsgn.dproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | {0CD140C3-3ADC-4BF2-8A9C-6B5FAA587036} 4 | SpTBXLibDsgn.dpk 5 | Debug 6 | DCC32 7 | 12.0 8 | 9 | 10 | true 11 | 12 | 13 | true 14 | Base 15 | true 16 | 17 | 18 | true 19 | Base 20 | true 21 | 22 | 23 | true 24 | All 25 | 4F800000 26 | 1 27 | WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;$(DCC_UnitAlias) 28 | x86 29 | Toolbar2000 -- SpTBXLib Design Package 30 | true 31 | false 32 | true 33 | false 34 | true 35 | false 36 | false 37 | 38 | 39 | false 40 | RELEASE;$(DCC_Define) 41 | 0 42 | false 43 | 44 | 45 | DEBUG;$(DCC_Define) 46 | 47 | 48 | 49 | MainSource 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | Base 61 | 62 | 63 | Cfg_2 64 | Base 65 | 66 | 67 | Cfg_1 68 | Base 69 | 70 | 71 | 72 | 73 | Delphi.Personality.12 74 | Package 75 | 76 | 77 | 78 | SpTBXLibDsgn.dpk 79 | 80 | 81 | False 82 | True 83 | False 84 | 85 | 86 | True 87 | False 88 | 1 89 | 0 90 | 0 91 | 0 92 | False 93 | False 94 | False 95 | False 96 | False 97 | 1033 98 | 1252 99 | 100 | 101 | 102 | 103 | 1.0.0.0 104 | 105 | 106 | 107 | 108 | 109 | 1.0.0.0 110 | 111 | 112 | 113 | 114 | 12 115 | 116 | 117 | -------------------------------------------------------------------------------- /Packages/RAD Studio Tokyo And Older/SpTBXLibDsgn.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Packages/RAD Studio Tokyo And Older/SpTBXLibDsgn.res -------------------------------------------------------------------------------- /Packages/RAD Studio/SpTBXLib.dpk: -------------------------------------------------------------------------------- 1 | package SpTBXLib; 2 | 3 | {$R *.res} 4 | {$ALIGN 8} 5 | {$ASSERTIONS ON} 6 | {$BOOLEVAL OFF} 7 | {$DEBUGINFO ON} 8 | {$EXTENDEDSYNTAX ON} 9 | {$IMPORTEDDATA ON} 10 | {$IOCHECKS ON} 11 | {$LOCALSYMBOLS ON} 12 | {$LONGSTRINGS ON} 13 | {$OPENSTRINGS ON} 14 | {$OPTIMIZATION ON} 15 | {$OVERFLOWCHECKS OFF} 16 | {$RANGECHECKS OFF} 17 | {$REFERENCEINFO ON} 18 | {$SAFEDIVIDE OFF} 19 | {$STACKFRAMES OFF} 20 | {$TYPEDADDRESS OFF} 21 | {$VARSTRINGCHECKS ON} 22 | {$WRITEABLECONST OFF} 23 | {$MINENUMSIZE 1} 24 | {$IMAGEBASE $4FC00000} 25 | {$DESCRIPTION 'Toolbar2000 -- SpTBXLib'} 26 | {$RUNONLY} 27 | {$IMPLICITBUILD ON} 28 | 29 | requires 30 | vcl, 31 | tb2k_d12, 32 | rtl, 33 | vclx, 34 | vclwinx; 35 | 36 | contains 37 | SpTBXItem in '..\..\Source\SpTBXItem.pas', 38 | SpTBXControls in '..\..\Source\SpTBXControls.pas', 39 | SpTBXTabs in '..\..\Source\SpTBXTabs.pas', 40 | SpTBXDkPanels in '..\..\Source\SpTBXDkPanels.pas', 41 | SpTBXEditors in '..\..\Source\SpTBXEditors.pas', 42 | SpTBXExtEditors in '..\..\Source\SpTBXExtEditors.pas', 43 | SpTBXColorPickerForm in '..\..\Source\SpTBXColorPickerForm.pas', 44 | SpTBXMDIMRU in '..\..\Source\SpTBXMDIMRU.pas', 45 | SpTBXFormPopupMenu in '..\..\Source\SpTBXFormPopupMenu.pas', 46 | SpTBXCustomizer in '..\..\Source\SpTBXCustomizer.pas', 47 | SpTBXCustomizerForm in '..\..\Source\SpTBXCustomizerForm.pas', 48 | SpTBXPageScroller in '..\..\Source\SpTBXPageScroller.pas', 49 | SpTBXSkins in '..\..\Source\SpTBXSkins.pas', 50 | SpTBXDefaultSkins in '..\..\Source\SpTBXDefaultSkins.pas'; 51 | 52 | end. -------------------------------------------------------------------------------- /Packages/RAD Studio/SpTBXLib.dproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | {1EB74E79-E290-4976-B63E-8E6B50611D5F} 4 | SpTBXLib.dpk 5 | Debug 6 | DCC32 7 | 18.4 8 | VCL 9 | True 10 | Win32 11 | 3 12 | Package 13 | 14 | 15 | true 16 | 17 | 18 | true 19 | Base 20 | true 21 | 22 | 23 | true 24 | Base 25 | true 26 | 27 | 28 | true 29 | Base 30 | true 31 | 32 | 33 | true 34 | Base 35 | true 36 | 37 | 38 | true 39 | All 40 | $(BDSCOMMONDIR)\DCP 41 | SpTBXLib.bpl 42 | 4FC00000 43 | 1 44 | x86 45 | Toolbar2000 -- SpTBXLib 46 | true 47 | false 48 | true 49 | false 50 | true 51 | false 52 | false 53 | SpTBXLib 54 | Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;System.Win;$(DCC_Namespace) 55 | 1033 56 | CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= 57 | true 58 | 59 | 60 | Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) 61 | Debug 62 | true 63 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName) 64 | 1033 65 | 66 | 67 | Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) 68 | Debug 69 | true 70 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 71 | 72 | 73 | false 74 | RELEASE;$(DCC_Define) 75 | 0 76 | 0 77 | 78 | 79 | DEBUG;$(DCC_Define) 80 | 81 | 82 | 83 | MainSource 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | Cfg_2 106 | Base 107 | 108 | 109 | Base 110 | 111 | 112 | Cfg_1 113 | Base 114 | 115 | 116 | 117 | 118 | Delphi.Personality.12 119 | Package 120 | 121 | 122 | 123 | SpTBXLib.dpk 124 | 125 | 126 | False 127 | True 128 | False 129 | 130 | 131 | False 132 | False 133 | 1 134 | 0 135 | 0 136 | 0 137 | False 138 | False 139 | False 140 | False 141 | False 142 | 1033 143 | 1252 144 | 145 | 146 | 147 | 148 | 1.0.0.0 149 | 150 | 151 | 152 | 153 | 154 | 1.0.0.0 155 | 156 | 157 | 158 | 159 | False 160 | False 161 | False 162 | True 163 | True 164 | 165 | 166 | 12 167 | 168 | 169 | 170 | -------------------------------------------------------------------------------- /Packages/RAD Studio/SpTBXLib.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Packages/RAD Studio/SpTBXLib.res -------------------------------------------------------------------------------- /Packages/RAD Studio/SpTBXLibDsgn.dpk: -------------------------------------------------------------------------------- 1 | package SpTBXLibDsgn; 2 | 3 | {$R *.res} 4 | {$R '..\..\Source\SpTBXReg.dcr'} 5 | {$ALIGN 8} 6 | {$ASSERTIONS ON} 7 | {$BOOLEVAL OFF} 8 | {$DEBUGINFO ON} 9 | {$EXTENDEDSYNTAX ON} 10 | {$IMPORTEDDATA ON} 11 | {$IOCHECKS ON} 12 | {$LOCALSYMBOLS ON} 13 | {$LONGSTRINGS ON} 14 | {$OPENSTRINGS ON} 15 | {$OPTIMIZATION ON} 16 | {$OVERFLOWCHECKS OFF} 17 | {$RANGECHECKS OFF} 18 | {$REFERENCEINFO ON} 19 | {$SAFEDIVIDE OFF} 20 | {$STACKFRAMES OFF} 21 | {$TYPEDADDRESS OFF} 22 | {$VARSTRINGCHECKS ON} 23 | {$WRITEABLECONST OFF} 24 | {$MINENUMSIZE 1} 25 | {$IMAGEBASE $4F800000} 26 | {$DESCRIPTION 'Toolbar2000 -- SpTBXLib Design Package'} 27 | {$DESIGNONLY} 28 | {$IMPLICITBUILD ON} 29 | 30 | requires 31 | tb2k_d12, 32 | tb2kdsgn_d12, 33 | SpTBXLib, 34 | dclstd, 35 | vcl; 36 | 37 | contains 38 | SpTBXReg in '..\..\Source\SpTBXReg.pas'; 39 | 40 | end. -------------------------------------------------------------------------------- /Packages/RAD Studio/SpTBXLibDsgn.dproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | {0CD140C3-3ADC-4BF2-8A9C-6B5FAA587036} 4 | SpTBXLibDsgn.dpk 5 | Debug 6 | DCC32 7 | 12.0 8 | 9 | 10 | true 11 | 12 | 13 | true 14 | Base 15 | true 16 | 17 | 18 | true 19 | Base 20 | true 21 | 22 | 23 | true 24 | All 25 | 4F800000 26 | 1 27 | WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;$(DCC_UnitAlias) 28 | x86 29 | Toolbar2000 -- SpTBXLib Design Package 30 | true 31 | false 32 | true 33 | false 34 | true 35 | false 36 | false 37 | 38 | 39 | false 40 | RELEASE;$(DCC_Define) 41 | 0 42 | false 43 | 44 | 45 | DEBUG;$(DCC_Define) 46 | 47 | 48 | 49 | MainSource 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | Base 61 | 62 | 63 | Cfg_2 64 | Base 65 | 66 | 67 | Cfg_1 68 | Base 69 | 70 | 71 | 72 | 73 | Delphi.Personality.12 74 | Package 75 | 76 | 77 | 78 | SpTBXLibDsgn.dpk 79 | 80 | 81 | False 82 | True 83 | False 84 | 85 | 86 | True 87 | False 88 | 1 89 | 0 90 | 0 91 | 0 92 | False 93 | False 94 | False 95 | False 96 | False 97 | 1033 98 | 1252 99 | 100 | 101 | 102 | 103 | 1.0.0.0 104 | 105 | 106 | 107 | 108 | 109 | 1.0.0.0 110 | 111 | 112 | 113 | 114 | 12 115 | 116 | 117 | -------------------------------------------------------------------------------- /Packages/RAD Studio/SpTBXLibDsgn.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Packages/RAD Studio/SpTBXLibDsgn.res -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- 1 | # SpTBXLib 2 | 3 | SpTBXLib is an add on package for TB2K components, it adds the following features: 4 | - Unicode support 5 | - Custom Skins engine 6 | - Delphi VCL Styles support 7 | - High DPI support 8 | - Custom painting events 9 | - Toolbar Customizer with Drag & Drop 10 | - Custom item size 11 | - Anchored items 12 | - Right aligned items 13 | - Accel char handling 14 | - Extended button controls: Button, Label, Checkbox, RadioButton 15 | - Extended editors: Edit, ButtonEdit, SpinEdit, ColorEdit, ComboBox, FontComboBox, ListBox, CheckListBox, ColorListBox 16 | - Extended ProgressBar and TrackBar controls 17 | - Panel and GroupBox with transparency support 18 | - TabSet and TabControl with TB2K items support 19 | - DockablePanel with TB2K items support 20 | - Titlebar with TB2K items support 21 | - StatusBar with TB2K items support 22 | - Form Popup components 23 | - Skin Editor 24 | 25 | For more info go to: 26 | www.silverpointdevelopment.com 27 | 28 | ## License 29 | 30 | Use and/or distribution of the files requires compliance with the SpTBXLib License, found in SpTBXLib-LICENSE.txt or at: 31 | 32 | www.silverpointdevelopment.com/sptbxlib/SpTBXLib-LICENSE.htm 33 | 34 | Alternatively, at your option, the files may be used and/or distributed under the terms of the Mozilla Public License Version 1.1, found in MPL-LICENSE.txt or at: 35 | 36 | www.mozilla.org/MPL 37 | 38 | ## Installation 39 | 40 | ### Requirements 41 | - RAD Studio XE2 or newer: 42 | - Jordan Russell's Toolbar 2000 (www.jrsoftware.org) 43 | 44 | ### Installing with Silverpoint MultiInstaller 45 | - Create a new folder for the installation. 46 | - Download all the component zips to a folder: SpTBXLib + TB2K 47 | - Download [Silverpoint MultiInstaller](www.silverpointdevelopment.com/multiinstaller/index.htm) and the Setup.Ini 48 | 49 | The installation folder will end up with this files: 50 | 51 | ``` 52 | C:\MyInstall 53 | |- SpTBXLib.zip 54 | |- tb2k-2.2.2.zip 55 | |- MultiInstaller.exe 56 | |- Setup.ini 57 | ``` 58 | 59 | 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. 60 | 61 | ### To install SpTBXLib manually: 62 | 63 | First you need to apply the TB2K patch: 64 | - Extract TB2K to a folder 65 | - Extract SpTBXLib to a folder 66 | - Copy the contents of SpTBXLib\TB2K Patch folder to TB2K\Source folder 67 | - Run tb2kpatch.bat 68 | 69 | Add the Source directories to the Library Path 70 | - Add 'TB2K\Source' directory to Tools->Options->Language->Delphi->Library->Library Path 71 | - Add 'SpTBXLib\Source' directory to Tools->Options->Language->Delphi->Library->Library Path 72 | 73 | Compile and install the components 74 | - 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. 75 | - 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. 76 | - 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). 77 | - 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). 78 | 79 | For more info go to: 80 | www.silverpointdevelopment.com/sptbxlib/support/index.htm -------------------------------------------------------------------------------- /Registration.txt: -------------------------------------------------------------------------------- 1 | REGISTRATION AND DONATIONS 2 | 3 | Registration is required only if you choose the SpTBXLib License 4 | wich allows you to not include an acknowledgement in your 5 | application's about box or help file, and also allows you to keep the 6 | modifications you've made to SpTBXLib without having to make them public. 7 | 8 | The cost of a single developer license is US$100. This license permits 9 | usage of SpTBXLib in applications created/maintained by only a single 10 | developer. 11 | A site license costs US$200, and permits usage of SpTBXLib in applications 12 | created/maintained by any number of developers at your organization. 13 | Payments are accepted via PayPal and Kagi: 14 | http://www.silverpointdevelopment.com/sptbxlib/registration.htm 15 | 16 | No registration is required if you choose to use SpTBXLib under the 17 | Mozilla Public License Version 1.1 18 | However, if you wish to express your appreciation for the time I 19 | spend on developing, documenting and supporting it, I do accept and 20 | appreciate donations. 21 | Donations are accepted via PayPal and Kagi: 22 | http://www.silverpointdevelopment.com/sptbxlib/registration.htm 23 | 24 | Thank you for your support. 25 | 26 | Robert Lee 27 | http://www.silverpointdevelopment.com -------------------------------------------------------------------------------- /Release History.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Release History.txt -------------------------------------------------------------------------------- /Source/SpTBXCustomizerForm.dfm: -------------------------------------------------------------------------------- 1 | object SpTBXCustomizeForm: TSpTBXCustomizeForm 2 | Left = 219 3 | Top = 115 4 | Caption = 'Customize...' 5 | ClientHeight = 319 6 | ClientWidth = 339 7 | Color = clBtnFace 8 | Constraints.MinHeight = 355 9 | Constraints.MinWidth = 355 10 | Font.Charset = DEFAULT_CHARSET 11 | Font.Color = clWindowText 12 | Font.Height = -11 13 | Font.Name = 'MS Shell Dlg 2' 14 | Font.Style = [] 15 | FormStyle = fsStayOnTop 16 | KeyPreview = True 17 | Position = poDesigned 18 | OnCreate = FormCreate 19 | OnDestroy = FormDestroy 20 | OnKeyDown = FormKeyDown 21 | OnResize = FormResize 22 | OnShow = FormShow 23 | TextHeight = 13 24 | object SpTBXTabControl1: TSpTBXTabControl 25 | Left = 0 26 | Top = 0 27 | Width = 339 28 | Height = 284 29 | Align = alClient 30 | ActiveTabIndex = 0 31 | ExplicitWidth = 343 32 | ExplicitHeight = 285 33 | HiddenItems = <> 34 | object tabToolbars: TSpTBXTabItem 35 | Caption = 'Toolbars' 36 | Checked = True 37 | end 38 | object tabCommands: TSpTBXTabItem 39 | Caption = 'Commands' 40 | end 41 | object tabShortcuts: TSpTBXTabItem 42 | Caption = 'Shortcuts' 43 | end 44 | object SpTBXTabSheet2: TSpTBXTabSheet 45 | Left = 0 46 | Top = 25 47 | Width = 343 48 | Height = 260 49 | Caption = 'Shortcuts' 50 | ImageIndex = -1 51 | DesignSize = ( 52 | 339 53 | 259) 54 | TabItem = 'tabShortcuts' 55 | object SpTBXPanel5: TSpTBXPanel 56 | Left = 8 57 | Top = 225 58 | Width = 223 59 | Height = 22 60 | Anchors = [akLeft, akRight, akBottom] 61 | TabOrder = 1 62 | HotTrack = True 63 | ExplicitTop = 226 64 | ExplicitWidth = 235 65 | object Panel1: TPanel 66 | Left = 2 67 | Top = 2 68 | Width = 223 69 | Height = 18 70 | Align = alClient 71 | BevelOuter = bvNone 72 | TabOrder = 0 73 | ExplicitWidth = 231 74 | DesignSize = ( 75 | 219 76 | 18) 77 | object HotKey1: THotKey 78 | Left = -2 79 | Top = -2 80 | Width = 225 81 | Height = 21 82 | Anchors = [akLeft, akTop, akRight, akBottom] 83 | HotKey = 0 84 | Modifiers = [] 85 | TabOrder = 0 86 | end 87 | end 88 | end 89 | object ChangeShortcut: TSpTBXButton 90 | Left = 237 91 | Top = 224 92 | Width = 75 93 | Height = 25 94 | Caption = 'C&hange' 95 | Anchors = [akRight, akBottom] 96 | TabOrder = 2 97 | OnClick = ChangeShortcutClick 98 | ExplicitLeft = 249 99 | ExplicitTop = 225 100 | end 101 | object lbShortcuts: TSpTBXListBox 102 | Left = 8 103 | Top = 8 104 | Width = 306 105 | Height = 206 106 | Anchors = [akLeft, akTop, akRight, akBottom] 107 | TabOrder = 0 108 | OnClick = lbShortcutsClick 109 | OnDrawItem = lbShortcutsDrawItem 110 | end 111 | end 112 | object SpTBXTabSheet3: TSpTBXTabSheet 113 | Left = 0 114 | Top = 25 115 | Width = 339 116 | Height = 259 117 | Caption = 'Commands' 118 | ImageIndex = -1 119 | ExplicitWidth = 343 120 | ExplicitHeight = 260 121 | DesignSize = ( 122 | 339 123 | 259) 124 | TabItem = 'tabCommands' 125 | object SpTBXLabel3: TSpTBXLabel 126 | Left = 8 127 | Top = 211 128 | Width = 306 129 | Height = 44 130 | Caption = 131 | 'To add command buttons, drag and drop commands onto a toolbar. T' + 132 | 'o remove command buttons, drag them off the toolbar and drop the' + 133 | 'm on the commands list.' 134 | Anchors = [akLeft, akRight, akBottom] 135 | AutoSize = False 136 | Wrapping = twWrap 137 | ExplicitTop = 212 138 | ExplicitWidth = 318 139 | end 140 | object lbCommands: TSpTBXListBox 141 | Left = 8 142 | Top = 8 143 | Width = 306 144 | Height = 200 145 | Anchors = [akLeft, akTop, akRight, akBottom] 146 | DragMode = dmAutomatic 147 | TabOrder = 0 148 | OnDragDrop = lbCommandsDragDrop 149 | OnDragOver = lbCommandsDragOver 150 | OnDrawItem = lbCommandsDrawItem 151 | OnEndDrag = lbCommandsEndDrag 152 | OnStartDrag = lbCommandsStartDrag 153 | end 154 | end 155 | object SpTBXTabSheet1: TSpTBXTabSheet 156 | Left = 0 157 | Top = 25 158 | Width = 339 159 | Height = 259 160 | Caption = 'Toolbars' 161 | ImageIndex = -1 162 | ExplicitWidth = 343 163 | ExplicitHeight = 260 164 | DesignSize = ( 165 | 339 166 | 259) 167 | TabItem = 'tabToolbars' 168 | object SpTBXGroupBox1: TSpTBXGroupBox 169 | Left = 151 170 | Top = 2 171 | Width = 161 172 | Height = 189 173 | Caption = 'Options' 174 | Anchors = [akTop, akRight, akBottom] 175 | TabOrder = 1 176 | ExplicitLeft = 163 177 | ExplicitHeight = 190 178 | object cbText: TSpTBXComboBox 179 | Left = 6 180 | Top = 66 181 | Width = 149 182 | Height = 21 183 | Style = csDropDownList 184 | ItemHeight = 13 185 | TabOrder = 1 186 | OnClick = cbTextClick 187 | Items.Strings = ( 188 | 'Icons + Selective Text' 189 | 'Icons' 190 | 'Icons + Text' 191 | 'Text') 192 | end 193 | object cbIcon: TSpTBXComboBox 194 | Left = 6 195 | Top = 114 196 | Width = 149 197 | Height = 21 198 | Style = csDropDownList 199 | ItemHeight = 13 200 | TabOrder = 2 201 | Items.Strings = ( 202 | 'Large images' 203 | 'Small images') 204 | end 205 | object cbTextLabel: TSpTBXLabel 206 | Left = 6 207 | Top = 45 208 | Width = 68 209 | Height = 19 210 | Caption = 'T&ext Options' 211 | FocusControl = cbText 212 | end 213 | object cbIconLabel: TSpTBXLabel 214 | Left = 6 215 | Top = 95 216 | Width = 67 217 | Height = 19 218 | Caption = '&Icon Options' 219 | FocusControl = cbIcon 220 | end 221 | object checkVisible: TSpTBXCheckBox 222 | Left = 6 223 | Top = 21 224 | Width = 57 225 | Height = 25 226 | Caption = '&Visible' 227 | TabOrder = 0 228 | OnClick = checkVisibleClick 229 | end 230 | end 231 | object SpTBXGroupBox2: TSpTBXGroupBox 232 | Left = 151 233 | Top = 198 234 | Width = 161 235 | Height = 49 236 | Caption = '&Skins' 237 | Anchors = [akRight, akBottom] 238 | TabOrder = 2 239 | ExplicitLeft = 163 240 | ExplicitTop = 199 241 | object cbSkins: TSpTBXComboBox 242 | Left = 6 243 | Top = 20 244 | Width = 149 245 | Height = 21 246 | Style = csDropDownList 247 | ItemHeight = 13 248 | TabOrder = 0 249 | OnClick = cbSkinsClick 250 | end 251 | end 252 | object lbToolbars: TSpTBXCheckListBox 253 | Left = 8 254 | Top = 8 255 | Width = 134 256 | Height = 239 257 | Anchors = [akLeft, akTop, akRight, akBottom] 258 | TabOrder = 0 259 | OnClick = lbToolbarsClick 260 | OnClickCheck = lbToolbarsClickCheck 261 | end 262 | end 263 | end 264 | object ClosePanel: TSpTBXPanel 265 | Left = 0 266 | Top = 284 267 | Width = 339 268 | Height = 35 269 | Align = alBottom 270 | TabOrder = 1 271 | Borders = False 272 | TBXStyleBackground = True 273 | ExplicitTop = 285 274 | ExplicitWidth = 343 275 | DesignSize = ( 276 | 339 277 | 35) 278 | object CloseButton: TSpTBXButton 279 | Left = 240 280 | Top = 4 281 | Width = 78 282 | Height = 25 283 | Caption = '&Close' 284 | Anchors = [akRight, akBottom] 285 | TabOrder = 0 286 | OnClick = CloseButtonClick 287 | ExplicitLeft = 252 288 | end 289 | object ResetButton: TSpTBXButton 290 | Left = 7 291 | Top = 4 292 | Width = 130 293 | Height = 25 294 | Caption = '&Default Options' 295 | TabOrder = 1 296 | OnClick = ResetButtonClick 297 | end 298 | end 299 | end 300 | -------------------------------------------------------------------------------- /Source/SpTBXGlyphs.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Source/SpTBXGlyphs.res -------------------------------------------------------------------------------- /Source/SpTBXImageList.pas: -------------------------------------------------------------------------------- 1 | unit SpTBXImageList; 2 | 3 | {============================================================================== 4 | Version 2.5.10 5 | 6 | The contents of this file are subject to the SpTBXLib License; you may 7 | not use or distribute this file except in compliance with the 8 | SpTBXLib License. 9 | A copy of the SpTBXLib License may be found in SpTBXLib-LICENSE.txt or at: 10 | http://www.silverpointdevelopment.com/sptbxlib/SpTBXLib-LICENSE.htm 11 | 12 | Alternatively, the contents of this file may be used under the terms of the 13 | Mozilla Public License Version 1.1 (the "MPL v1.1"), in which case the provisions 14 | of the MPL v1.1 are applicable instead of those in the SpTBXLib License. 15 | A copy of the MPL v1.1 may be found in MPL-LICENSE.txt or at: 16 | http://www.mozilla.org/MPL/ 17 | 18 | If you wish to allow use of your version of this file only under the terms of 19 | the MPL v1.1 and not to allow others to use your version of this file under the 20 | SpTBXLib License, indicate your decision by deleting the provisions 21 | above and replace them with the notice and other provisions required by the 22 | MPL v1.1. If you do not delete the provisions above, a recipient may use your 23 | version of this file under either the SpTBXLib License or the MPL v1.1. 24 | 25 | Software distributed under the License is distributed on an "AS IS" basis, 26 | WITHOUT WARRANTY OF ANY KIND, either expressed or implied. See the License for 27 | the specific language governing rights and limitations under the License. 28 | 29 | The initial developer of this code is Robert Lee. 30 | 31 | Development notes: 32 | - All the Windows and Delphi bugs fixes are marked with '[Bugfix]'. 33 | - All the theme changes and adjustments are marked with '[Theme-Change]'. 34 | - Not included in the lib, only used by the demos for now. 35 | - To make unit part of the lib add vclimg (uses PngImage) and vclwinx (uses 36 | ImageCollection and VirtualImageList units) to the required packages, for 37 | Delphi Rio and up. Need to make 2 separate packages: one for older versions 38 | of Delphi and the other for Rio and up. 39 | 40 | ==============================================================================} 41 | 42 | interface 43 | 44 | {$BOOLEVAL OFF} // Unit depends on short-circuit boolean evaluation 45 | {$IF CompilerVersion >= 25} // for Delphi XE4 and up 46 | {$LEGACYIFEND ON} // requires $IF to be terminated by $IFEND (XE4+ allows both $ENDIF and $IFEND) 47 | {$IFEND} 48 | 49 | uses 50 | Windows, Messages, Classes, SysUtils, Graphics, 51 | ImgList, 52 | {$IF CompilerVersion >= 24} // for Delphi XE3 and up 53 | System.UITypes, 54 | {$IFEND} 55 | {$IF CompilerVersion >= 33} // for Delphi Rio and up 56 | // TImageCollection and TVirtualImagelist introduced on Rio 57 | Vcl.VirtualImageList, Vcl.BaseImageCollection, Vcl.ImageCollection, 58 | {$IFEND} 59 | Types; 60 | 61 | type 62 | { TSpTBXImageList } 63 | 64 | TSpTBXImageList = class 65 | public 66 | ImageList: TCustomImageList; 67 | {$IF CompilerVersion >= 33} // for Delphi Rio and up 68 | ImageCollection: TImageCollection; 69 | {$IFEND} 70 | constructor Create(AOwner: TComponent); virtual; 71 | destructor Destroy; override; 72 | procedure LoadGlyphs(GlyphPath: string); 73 | end; 74 | 75 | { Utils } 76 | procedure SpLoadGlyphs(IL: TCustomImageList; GlyphPath: string); 77 | 78 | implementation 79 | 80 | uses 81 | TB2Common, IOUtils, pngimage, Generics.Collections, Generics.Defaults; 82 | 83 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 84 | { Utils } 85 | 86 | procedure SpLoadGlyphs(IL: TCustomImageList; GlyphPath: string); 87 | // Finds png files on GlyphPath and adds them to IL 88 | // If IL is a TVirtualImageList it adds all the PNGs sizes. 89 | // Otherwise it adds only the PNGs that matches the size of the IL 90 | // Notation of files must be filename-16x16.png 91 | var 92 | Files: TStringDynArray; 93 | FilenameS, S, ILSize: string; 94 | I: Integer; 95 | P: TPngImage; 96 | B: TBitmap; 97 | begin 98 | ILSize := Format('%dX%d', [IL.Width, IL.Height]); 99 | Files := TDirectory.GetFiles(GlyphPath, '*.png'); 100 | TArray.Sort(Files, TStringComparer.Ordinal); 101 | 102 | for S in Files do begin 103 | {$IF CompilerVersion >= 34} // for Delphi Sydney and up 104 | // TImageCollection and TVirtualImagelist introduced on Rio, 105 | // but TImageCollection.Add was introduced on Sydney 106 | if IL is TVirtualImageList then begin 107 | if Assigned(TVirtualImageList(IL).ImageCollection) and (TVirtualImageList(IL).ImageCollection is TImageCollection) then begin 108 | FilenameS := TPath.GetFileName(S); 109 | I := LastDelimiter('-_', FilenameS); 110 | if I > 1 then 111 | FilenameS := Copy(FilenameS, 1, I-1); 112 | // Add all the sizes of the png with 1 name on ImageCollection 113 | TImageCollection(TVirtualImageList(IL).ImageCollection).Add(FilenameS, S); 114 | end; 115 | end 116 | else 117 | {$IFEND} 118 | begin 119 | // Try to add only PNGs with the same size as the Image List 120 | // Notation of files must be filename-16x16.png 121 | FilenameS := TPath.GetFileNameWithoutExtension(S); 122 | I := LastDelimiter('-_', FilenameS) + 1; 123 | if I > 2 then begin 124 | FilenameS := Copy(FilenameS, I, Length(ILSize)); 125 | if UpperCase(FilenameS) <> ILSize then 126 | FilenameS := ''; 127 | end; 128 | if FilenameS <> '' then begin 129 | P := TPNGImage.Create; 130 | B := TBitmap.Create; 131 | try 132 | P.LoadFromFile(S); 133 | B.Assign(P); 134 | IL.ColorDepth := cd32Bit; 135 | IL.Add(B, nil); 136 | finally 137 | P.Free; 138 | B.Free; 139 | end; 140 | end; 141 | end; 142 | end; 143 | 144 | {$IF CompilerVersion >= 34} // for Delphi Sydney and up 145 | if IL is TVirtualImageList then 146 | TVirtualImageList(IL).AutoFill := True; 147 | {$IFEND} 148 | end; 149 | 150 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 151 | { TSpTBXImageList } 152 | 153 | constructor TSpTBXImageList.Create(AOwner: TComponent); 154 | begin 155 | {$IF CompilerVersion >= 33} // for Delphi Rio and up 156 | // TImageCollection and TVirtualImagelist introduced on Rio 157 | ImageCollection := TImageCollection.Create(AOwner); 158 | ImageList := TVirtualImageList.Create(AOwner); 159 | TVirtualImageList(ImageList).ImageCollection := ImageCollection; 160 | {$ELSE} 161 | ImageList := TImageList.Create(Self); 162 | {$IFEND} 163 | end; 164 | 165 | destructor TSpTBXImageList.Destroy; 166 | begin 167 | {$IF CompilerVersion >= 33} // for Delphi Rio and up 168 | // TImageCollection and TVirtualImagelist introduced on Rio 169 | ImageCollection.Free; 170 | {$IFEND} 171 | ImageList.Free; 172 | 173 | inherited; 174 | end; 175 | 176 | procedure TSpTBXImageList.LoadGlyphs(GlyphPath: string); 177 | begin 178 | SpLoadGlyphs(ImageList, GlyphPath); 179 | end; 180 | 181 | end. 182 | -------------------------------------------------------------------------------- /Source/SpTBXReg.dcr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/Source/SpTBXReg.dcr -------------------------------------------------------------------------------- /Source/SpTBXReg.pas: -------------------------------------------------------------------------------- 1 | unit SpTBXReg; 2 | 3 | {============================================================================== 4 | The contents of this file are subject to the SpTBXLib License; you may 5 | not use or distribute this file except in compliance with the 6 | SpTBXLib License. 7 | A copy of the SpTBXLib License may be found in SpTBXLib-LICENSE.txt or at: 8 | http://www.silverpointdevelopment.com/sptbxlib/SpTBXLib-LICENSE.htm 9 | 10 | Alternatively, the contents of this file may be used under the terms of the 11 | Mozilla Public License Version 1.1 (the "MPL v1.1"), in which case the provisions 12 | of the MPL v1.1 are applicable instead of those in the SpTBXLib License. 13 | A copy of the MPL v1.1 may be found in MPL-LICENSE.txt or at: 14 | http://www.mozilla.org/MPL/ 15 | 16 | If you wish to allow use of your version of this file only under the terms of 17 | the MPL v1.1 and not to allow others to use your version of this file under the 18 | SpTBXLib License, indicate your decision by deleting the provisions 19 | above and replace them with the notice and other provisions required by the 20 | MPL v1.1. If you do not delete the provisions above, a recipient may use your 21 | version of this file under either the SpTBXLib License or the MPL v1.1. 22 | 23 | Software distributed under the License is distributed on an "AS IS" basis, 24 | WITHOUT WARRANTY OF ANY KIND, either expressed or implied. See the License for 25 | the specific language governing rights and limitations under the License. 26 | 27 | The initial developer of this code is Robert Lee. 28 | 29 | Requirements: 30 | - Jordan Russell's Toolbar 2000 31 | http://www.jrsoftware.org 32 | 33 | ==============================================================================} 34 | 35 | interface 36 | 37 | uses 38 | Windows, Classes, Controls, SysUtils, Graphics, ImgList, Dialogs, 39 | DesignIntf, DesignEditors, VCLEditors, 40 | TB2Reg, TB2Toolbar, TB2Item, TB2DsgnItemEditor, 41 | SpTBXItem, SpTBXTabs, SpTBXDkPanels, SpTBXFormPopupMenu, 42 | SpTBXControls, SpTBXEditors, SpTBXExtEditors, SpTBXPageScroller, 43 | SpTBXCustomizer, SpTBXMDIMRU; 44 | 45 | type 46 | { TSpTBXItemsEditor } 47 | 48 | TSpTBXItemsEditor = class(TTBItemsEditor) 49 | public 50 | procedure Edit; override; 51 | end; 52 | 53 | { TSpTBXImageIndexEditor } 54 | 55 | TSpTBXImageIndexEditor = class(TIntegerProperty, ICustomPropertyListDrawing) 56 | public 57 | function GetAttributes: TPropertyAttributes; override; 58 | procedure GetValues(Proc: TGetStrProc); override; 59 | function GetImageListAt(Index: Integer): TCustomImageList; virtual; 60 | 61 | // ICustomPropertyListDrawing 62 | procedure ListMeasureHeight(const Value: string; ACanvas: TCanvas; var AHeight: Integer); 63 | procedure ListMeasureWidth(const Value: string; ACanvas: TCanvas; var AWidth: Integer); 64 | procedure ListDrawValue(const Value: string; ACanvas: TCanvas; const ARect: TRect; ASelected: Boolean); 65 | end; 66 | 67 | { TSpTBXImageNameEditor } 68 | {$IF CompilerVersion >= 34} // for Delphi Sydney and up 69 | TSpTBXImageNameEditor = class(TStringProperty, ICustomPropertyListDrawing) 70 | public 71 | function GetAttributes: TPropertyAttributes; override; 72 | procedure GetValues(Proc: TGetStrProc); override; 73 | function GetImageListAt(Index: Integer): TCustomImageList; virtual; 74 | 75 | // ICustomPropertyListDrawing 76 | procedure ListMeasureHeight(const Value: string; ACanvas: TCanvas; var AHeight: Integer); 77 | procedure ListMeasureWidth(const Value: string; ACanvas: TCanvas; var AWidth: Integer); 78 | procedure ListDrawValue(const Value: string; ACanvas: TCanvas; const ARect: TRect; ASelected: Boolean); 79 | end; 80 | {$IFEND} 81 | 82 | procedure Register; 83 | 84 | implementation 85 | 86 | uses 87 | {$IF CompilerVersion >= 24} // for Delphi XE3 and up 88 | System.UITypes, 89 | {$IFEND} 90 | Forms, TypInfo; 91 | 92 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 93 | { Helpers } 94 | 95 | procedure SpEditFormAddItems(Sender: TTBItemEditForm; const ToolbarName, ItemsPrefix: string); 96 | // Creates a new toolbar in the EditForm with all the items that have the same prefix. 97 | var 98 | TB: TTBToolbar; 99 | Item: TTBCustomItem; 100 | NewItem: TTBItem; 101 | S: string; 102 | I, C: Integer; 103 | begin 104 | if Sender.FindComponent(ToolbarName) <> nil then Exit; 105 | 106 | // Create our own toolbar in the editor 107 | TB := TTBToolbar.Create(Sender); 108 | TB.Top := Sender.Height; 109 | TB.Parent := Sender; 110 | TB.Align := alTop; 111 | TB.Images := Sender.ToolbarItems.SubMenuImages; 112 | TB.ShowHint := True; 113 | TB.Name := ToolbarName; 114 | 115 | C := Length(ItemsPrefix); 116 | for I := 0 to Sender.MoreMenu.Count - 1 do 117 | begin 118 | Item := Sender.MoreMenu.Items[I]; 119 | if Item is TTBCustomItem then 120 | begin 121 | S := TTBCustomItemClass(Item.Tag).ClassName; 122 | if StrLComp(PChar(S), PChar(ItemsPrefix), C) = 0 then 123 | begin 124 | NewItem := TTBItem.Create(TB); 125 | TB.Items.Add(NewItem); 126 | NewItem.Caption := Item.Caption; 127 | NewItem.ImageIndex := Item.ImageIndex; 128 | NewItem.Tag := Item.Tag; 129 | NewItem.Hint := S; 130 | NewItem.OnClick := Item.OnClick; 131 | end; 132 | end; 133 | end; 134 | end; 135 | 136 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 137 | { TSpTBItemsEditor } 138 | 139 | procedure TSpTBXItemsEditor.Edit; 140 | var 141 | Intf: ITBItems; 142 | F: TTBItemEditForm; 143 | I: Integer; 144 | begin 145 | if Assigned(Component) and Component.GetInterface(ITBItems, Intf) then begin 146 | inherited; 147 | F := nil; 148 | if Screen.ActiveForm is TTBItemEditForm then 149 | F := Screen.ActiveForm as TTBItemEditForm 150 | else 151 | for I := 0 to Screen.FormCount - 1 do 152 | if Screen.Forms[I] is TTBItemEditForm then begin 153 | F := Screen.Forms[I] as TTBItemEditForm; 154 | Break; 155 | end; 156 | 157 | if Assigned(F) then 158 | SpEditFormAddItems(F, 'SpTBToolbar', 'TSpTBX'); 159 | end; 160 | end; 161 | 162 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 163 | { TSpTBXImageIndexEditor } 164 | 165 | function TSpTBXImageIndexEditor.GetAttributes: TPropertyAttributes; 166 | begin 167 | Result := [paMultiSelect, paValueList, paRevertable]; 168 | end; 169 | 170 | function TSpTBXImageIndexEditor.GetImageListAt(Index: Integer): TCustomImageList; 171 | begin 172 | Result := TCustomImageList(TypInfo.GetObjectProp(GetComponent(Index), 'Images')); 173 | end; 174 | 175 | procedure TSpTBXImageIndexEditor.GetValues(Proc: TGetStrProc); 176 | var 177 | ImgList: TCustomImageList; 178 | I: Integer; 179 | begin 180 | ImgList := GetImageListAt(0); 181 | if Assigned(ImgList) then 182 | for I := 0 to ImgList.Count-1 do 183 | Proc(IntToStr(I)); 184 | end; 185 | 186 | procedure TSpTBXImageIndexEditor.ListDrawValue(const Value: string; 187 | ACanvas: TCanvas; const ARect: TRect; ASelected: Boolean); 188 | var 189 | ImgList: TCustomImageList; 190 | X: Integer; 191 | begin 192 | ImgList := GetImageListAt(0); 193 | ACanvas.FillRect(ARect); 194 | X := ARect.Left + 2; 195 | if Assigned(ImgList) then begin 196 | ImgList.Draw(ACanvas, X, ARect.Top + 2, StrToInt(Value)); 197 | Inc(X, ImgList.Width); 198 | end; 199 | ACanvas.TextOut(X + 3, ARect.Top + 1, Value); 200 | end; 201 | 202 | procedure TSpTBXImageIndexEditor.ListMeasureHeight(const Value: string; 203 | ACanvas: TCanvas; var AHeight: Integer); 204 | var 205 | ImgList: TCustomImageList; 206 | begin 207 | ImgList := GetImageListAt(0); 208 | AHeight := ACanvas.TextHeight(Value) + 2; 209 | if Assigned(ImgList) and (ImgList.Height + 4 > AHeight) then 210 | AHeight := ImgList.Height + 4; 211 | end; 212 | 213 | procedure TSpTBXImageIndexEditor.ListMeasureWidth(const Value: string; 214 | ACanvas: TCanvas; var AWidth: Integer); 215 | var 216 | ImgList: TCustomImageList; 217 | begin 218 | ImgList := GetImageListAt(0); 219 | AWidth := ACanvas.TextWidth(Value) + 4; 220 | if Assigned(ImgList) then 221 | Inc(AWidth, ImgList.Width); 222 | end; 223 | 224 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 225 | { TSpTBXImageNameEditor } 226 | 227 | {$IF CompilerVersion >= 34} // Robert: for Delphi Sydney and up 228 | 229 | function TSpTBXImageNameEditor.GetAttributes: TPropertyAttributes; 230 | begin 231 | Result := [paMultiSelect, paValueList, paRevertable]; 232 | end; 233 | 234 | function TSpTBXImageNameEditor.GetImageListAt(Index: Integer): TCustomImageList; 235 | begin 236 | Result := TCustomImageList(TypInfo.GetObjectProp(GetComponent(Index), 'Images')); 237 | end; 238 | 239 | procedure TSpTBXImageNameEditor.GetValues(Proc: TGetStrProc); 240 | var 241 | ImgList: TCustomImageList; 242 | I: Integer; 243 | begin 244 | ImgList := GetImageListAt(0); 245 | if Assigned(ImgList) and ImgList.IsImageNameAvailable then 246 | for I := 0 to ImgList.Count-1 do 247 | Proc(ImgList.GetNameByIndex(I)); 248 | end; 249 | 250 | procedure TSpTBXImageNameEditor.ListDrawValue(const Value: string; 251 | ACanvas: TCanvas; const ARect: TRect; ASelected: Boolean); 252 | var 253 | ImgList: TCustomImageList; 254 | X: Integer; 255 | begin 256 | ImgList := GetImageListAt(0); 257 | ACanvas.FillRect(ARect); 258 | X := ARect.Left + 2; 259 | if Assigned(ImgList) then begin 260 | ImgList.Draw(ACanvas, X, ARect.Top + 2, ImgList.GetIndexByName(Value)); 261 | Inc(X, ImgList.Width); 262 | end; 263 | ACanvas.TextOut(X + 3, ARect.Top + 1, Value); 264 | end; 265 | 266 | procedure TSpTBXImageNameEditor.ListMeasureHeight(const Value: string; 267 | ACanvas: TCanvas; var AHeight: Integer); 268 | var 269 | ImgList: TCustomImageList; 270 | begin 271 | ImgList := GetImageListAt(0); 272 | AHeight := ACanvas.TextHeight(Value) + 2; 273 | if Assigned(ImgList) and (ImgList.Height + 4 > AHeight) then 274 | AHeight := ImgList.Height + 4; 275 | end; 276 | 277 | procedure TSpTBXImageNameEditor.ListMeasureWidth(const Value: string; 278 | ACanvas: TCanvas; var AWidth: Integer); 279 | var 280 | ImgList: TCustomImageList; 281 | begin 282 | ImgList := GetImageListAt(0); 283 | AWidth := ACanvas.TextWidth(Value) + 4; 284 | if Assigned(ImgList) then 285 | Inc(AWidth, ImgList.Width); 286 | end; 287 | 288 | {$IFEND} 289 | 290 | //WMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWMWM 291 | 292 | procedure Register; 293 | begin 294 | ForceDemandLoadState(dlDisable); 295 | 296 | RegisterComponents('SpTBXLib', [TSpTBXDock, TSpTBXMultiDock, TSpTBXToolbar, 297 | TSpTBXToolWindow, TSpTBXDockablePanel, TSpTBXTabSet, TSpTBXTabControl, TSpTBXStatusBar, 298 | TSpTBXPopupMenu, TSpTBXFormPopupMenu, TSpTBXMDIHandler, TSpTBXTitleBar, 299 | TSpTBXLabel, TSpTBXCheckBox, TSpTBXRadioButton, TSpTBXButton, TSpTBXSpeedButton, 300 | TSpTBXProgressBar, TSpTBXTrackBar, TSpTBXSplitter, TSpTBXPanel, TSpTBXGroupBox, 301 | TSpTBXRadioGroup, TSpTBXEdit, TSpTBXButtonEdit, TSpTBXSpinEdit, TSpTBXColorEdit, 302 | TSpTBXComboBox, TSpTBXFontComboBox, TSpTBXListBox, TSpTBXCheckListBox, TSpTBXColorListBox, 303 | TSpTBXPageScroller, TSpTBXCustomizer]); 304 | 305 | RegisterClasses([TSpTBXTabSheet, TSpTBXCustomTabSet, TSpTBXCustomTabControl]); 306 | 307 | // TSpTBXItem 308 | RegisterNoIcon([TSpTBXItem]); 309 | RegisterClasses([TSpTBXItem]); 310 | TBRegisterItemClass(TSpTBXItem, 'New SpTBX Item', HInstance); 311 | // TSpTBXSubmenuItem 312 | RegisterNoIcon([TSpTBXSubmenuItem]); 313 | RegisterClasses([TSpTBXSubmenuItem]); 314 | TBRegisterItemClass(TSpTBXSubmenuItem, 'New SpTBX Submenu Item', HInstance); 315 | // TSpTBXSeparatorItem 316 | RegisterNoIcon([TSpTBXSeparatorItem]); 317 | RegisterClasses([TSpTBXSeparatorItem]); 318 | TBRegisterItemClass(TSpTBXSeparatorItem, 'New SpTBX Separator Item', HInstance); 319 | // TSpTBXSpacerItem 320 | RegisterNoIcon([TSpTBXRightAlignSpacerItem]); 321 | RegisterClasses([TSpTBXRightAlignSpacerItem]); 322 | TBRegisterItemClass(TSpTBXRightAlignSpacerItem, 'New SpTBX RightAlignSpacer Item', HInstance); 323 | // TSpTBXLabelItem 324 | RegisterNoIcon([TSpTBXLabelItem]); 325 | RegisterClasses([TSpTBXLabelItem]); 326 | TBRegisterItemClass(TSpTBXLabelItem, 'New SpTBX Label Item', HInstance); 327 | // TSpTBXSkinGroupItem 328 | RegisterNoIcon([TSpTBXSkinGroupItem]); 329 | RegisterClasses([TSpTBXSkinGroupItem]); 330 | TBRegisterItemClass(TSpTBXSkinGroupItem, 'New SpTBX SkinGroup Item', HInstance); 331 | // TSpTBXColorItem 332 | RegisterNoIcon([TSpTBXColorItem]); 333 | RegisterClasses([TSpTBXColorItem]); 334 | TBRegisterItemClass(TSpTBXColorItem, 'New SpTBX Color Item', HInstance); 335 | // TSpTBXTabItem 336 | RegisterNoIcon([TSpTBXTabItem]); 337 | RegisterClasses([TSpTBXTabItem]); 338 | TBRegisterItemClass(TSpTBXTabItem, 'New SpTBX Tab Item', HInstance); 339 | // TSpTBXEditItem 340 | RegisterNoIcon([TSpTBXEditItem]); 341 | RegisterClasses([TSpTBXEditItem]); 342 | TBRegisterItemClass(TSpTBXEditItem, 'New SpTBX Edit Item', HInstance); 343 | // TSpTBXSpinEditItem 344 | RegisterNoIcon([TSpTBXSpinEditItem]); 345 | RegisterClasses([TSpTBXSpinEditItem]); 346 | TBRegisterItemClass(TSpTBXSpinEditItem, 'New SpTBX Spin Edit Item', HInstance); 347 | // TSpTBXToolPalette 348 | RegisterNoIcon([TSpTBXToolPalette]); 349 | RegisterClasses([TSpTBXToolPalette]); 350 | TBRegisterItemClass(TSpTBXToolPalette, 'New SpTBX Tool Palette Item', HInstance); 351 | // TSpTBXColorPalette 352 | RegisterNoIcon([TSpTBXColorPalette]); 353 | RegisterClasses([TSpTBXColorPalette]); 354 | TBRegisterItemClass(TSpTBXColorPalette, 'New SpTBX Color Palette Item', HInstance); 355 | // TSpTBXMRUListItem 356 | RegisterNoIcon([TSpTBXMRUListItem]); 357 | RegisterClasses([TSpTBXMRUListItem]); 358 | TBRegisterItemClass(TSpTBXMRUListItem, 'New SpTBX MRU List Item', HInstance); 359 | // TSpTBXMDIWindowItem 360 | RegisterNoIcon([TSpTBXMDIWindowItem]); 361 | RegisterClasses([TSpTBXMDIWindowItem]); 362 | TBRegisterItemClass(TSpTBXMDIWindowItem, 'New SpTBX MDI Window Item', HInstance); 363 | 364 | // Register the components editor, the components must implement IItems interface 365 | RegisterComponentEditor(TSpTBXToolbar, TSpTBXItemsEditor); 366 | RegisterComponentEditor(TSpTBXCompoundItemsControl, TSpTBXItemsEditor); 367 | RegisterComponentEditor(TSpTBXDockablePanel, TSpTBXItemsEditor); 368 | RegisterComponentEditor(TSpTBXCustomizer, TSpTBXItemsEditor); 369 | RegisterComponentEditor(TSpTBXPopupMenu, TSpTBXItemsEditor); 370 | 371 | // Register ImageIndex and ImageName property editor for TSpTBXTextObject 372 | // descendants, this is needed to show the preview of images in the Object Inspector. 373 | RegisterPropertyEditor(TypeInfo(TImageIndex), TSpTBXTextObject, '', TSpTBXImageIndexEditor); 374 | {$IF CompilerVersion >= 34} // for Delphi Sydney and up 375 | RegisterPropertyEditor(TypeInfo(TImageName), TSpTBXTextObject, '', TSpTBXImageNameEditor); 376 | {$IFEND} 377 | end; 378 | 379 | end. 380 | -------------------------------------------------------------------------------- /SpTBXLib-LICENSE.txt: -------------------------------------------------------------------------------- 1 | SpTBXLib License v1.0 2 | ===================== 3 | 4 | "Author" herein refers to Robert Lee. 5 | "Software" refers to all files bearing this notice, as well as any other 6 | files and source code included with SpTBXLib and all content in them, 7 | regardless of whether any modifications have been made. 8 | 9 | Except where otherwise noted, all of the documentation and Software included 10 | in the SpTBXLib package is copyrighted by Robert Lee (the Author). 11 | 12 | Copyright (C) Robert Lee. All rights reserved. 13 | 14 | This notice is only applicable to SpTBXLib package. 15 | 16 | Use and distribution of the software is permitted provided that all of the 17 | following terms are accepted: 18 | 19 | 1. Registration (payment) of the Software is required, such payment is made 20 | to the Author of the Software. For information on registering see the 21 | Registration.txt file or this web page: 22 | http://www.silverpointdevelopment.com/sptbxlib/registration.htm 23 | 24 | 2. The Software is provided "as-is," without any express or implied 25 | warranty. In no event shall the Author be held liable for any damages 26 | arising from the use of the Software. 27 | 28 | 3. All redistributions of the Software's files must be in their original, 29 | unmodified form. Distributions of modified versions of the files is not 30 | permitted without express written permission of the Author. 31 | 32 | 4. The origin of this Software must not be misrepresented; you must not 33 | claim your authorship. 34 | 35 | 5. None of the Software's files may be redistributed for profit or as part 36 | of another software package without express written permission of the 37 | Author. 38 | 39 | 6. You are permitted to Compile the Software into any kind of applications. 40 | ("Compile" here refers to the automatic process of translating the 41 | Software's source code into executable machine code by a compiler such 42 | as the one included with Borland's Delphi or C++Builder.) 43 | 44 | 7. Redistribution of any of the Software's files in object form (including 45 | but not limited to .DCU and .OBJ formats) is strictly prohibited without 46 | express written permission of the Author. 47 | 48 | 8. Full backward compatibility in future versions of the Software is not 49 | guaranteed. In no event shall the Author be held liable for any 50 | inconvenience or damages arising from lack of backward compatibility. 51 | 52 | If you do not agree to all of the above terms, you are not permitted to 53 | use the Software in any way, and all copies of it must be deleted from your 54 | system(s). 55 | 56 | Robert Lee 57 | http://www.silverpointdevelopment.com -------------------------------------------------------------------------------- /TB2K Patch/p_atch.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilverpointDev/sptbxlib/2fa16cf4f3a20b4df772285a679de880b18c6b4a/TB2K Patch/p_atch.exe -------------------------------------------------------------------------------- /TB2K Patch/tb2kpatch.bat: -------------------------------------------------------------------------------- 1 | p_atch.exe -p0 --batch --input=tb2kdiff.txt --------------------------------------------------------------------------------