Changeset 27 for trunk/Forms


Ignore:
Timestamp:
Sep 10, 2022, 8:13:14 PM (2 years ago)
Author:
chronos
Message:
  • Fixed: Updated Czech translation.
  • Fixed: Main tool bar hints.
Location:
trunk/Forms
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormConnect.lfm

    r26 r27  
    139139    end
    140140    object TabSheetSqlite: TTabSheet
    141       Caption = 'TabSheetSqlite'
    142141    end
    143142    object TabSheetRegistry: TTabSheet
    144       Caption = 'TabSheetRegistry'
    145143    end
    146144  end
  • trunk/Forms/UFormConnect.lrj

    r26 r27  
    88{"hash":77164181,"name":"tformconnect.buttonxmlbrowse.caption","sourcebytes":[66,114,111,119,115,101],"value":"Browse"},
    99{"hash":5204602,"name":"tformconnect.label4.caption","sourcebytes":[72,111,115,116,58],"value":"Host:"},
    10 {"hash":5728634,"name":"tformconnect.label5.caption","sourcebytes":[80,111,114,116,58],"value":"Port:"},
    11 {"hash":249552581,"name":"tformconnect.tabsheetsqlite.caption","sourcebytes":[84,97,98,83,104,101,101,116,83,113,108,105,116,101],"value":"TabSheetSqlite"},
    12 {"hash":38716777,"name":"tformconnect.tabsheetregistry.caption","sourcebytes":[84,97,98,83,104,101,101,116,82,101,103,105,115,116,114,121],"value":"TabSheetRegistry"}
     10{"hash":5728634,"name":"tformconnect.label5.caption","sourcebytes":[80,111,114,116,58],"value":"Port:"}
    1311]}
  • trunk/Forms/UFormMain.lfm

    r22 r27  
    11object FormMain: TFormMain
    22  Left = 449
    3   Height = 849
    4   Top = 278
    5   Width = 1250
     3  Height = 1274
     4  Top = 108
     5  Width = 1875
    66  Caption = 'MyData'
    7   ClientHeight = 815
    8   ClientWidth = 1250
     7  ClientHeight = 1240
     8  ClientWidth = 1875
     9  DesignTimePPI = 144
    910  Menu = MainMenu1
    1011  OnActivate = FormActivate
    1112  OnClose = FormClose
    1213  OnShow = FormShow
    13   LCLVersion = '1.8.0.4'
     14  LCLVersion = '2.2.2.0'
    1415  WindowState = wsMaximized
    1516  object StatusBar1: TStatusBar
    1617    Left = 0
    17     Height = 30
    18     Top = 785
    19     Width = 1250
     18    Height = 28
     19    Top = 1212
     20    Width = 1875
    2021    Panels = <>
    2122  end
    2223  object CoolBar1: TCoolBar
    2324    Left = 0
    24     Height = 43
     25    Height = 44
    2526    Top = 0
    26     Width = 1250
     27    Width = 1875
    2728    AutoSize = True
    2829    Bands = <   
     
    4142      Height = 33
    4243      Top = 5
    43       Width = 108
     44      Width = 150
    4445      Align = alNone
    4546      BorderSpacing.Left = 22
    4647      BorderSpacing.Top = 3
    47       Caption = 'ToolBar1'
    4848      EdgeInner = esNone
    4949      EdgeOuter = esNone
     
    5757      end
    5858      object ToolButton2: TToolButton
    59         Left = 37
     59        Left = 36
    6060        Top = 0
    6161        Action = Core.ADatabaseDisconnect
    6262      end
    6363      object ToolButton3: TToolButton
    64         Left = 73
     64        Left = 71
    6565        Top = 0
    6666        Action = Core.APreferences
     
    7070  object MainMenu1: TMainMenu
    7171    Images = Core.ImageList1
    72     left = 824
    73     top = 216
     72    Left = 1236
     73    Top = 324
    7474    object MenuItem1: TMenuItem
    7575      Caption = 'Database'
  • trunk/Forms/UFormMain.lrj

    r26 r27  
    11{"version":1,"strings":[
    22{"hash":88975521,"name":"tformmain.caption","sourcebytes":[77,121,68,97,116,97],"value":"MyData"},
    3 {"hash":106991073,"name":"tformmain.toolbar1.caption","sourcebytes":[84,111,111,108,66,97,114,49],"value":"ToolBar1"},
    43{"hash":145198133,"name":"tformmain.menuitem1.caption","sourcebytes":[68,97,116,97,98,97,115,101],"value":"Database"},
    54{"hash":5989939,"name":"tformmain.menuitempreferences.caption","sourcebytes":[84,111,111,108,115],"value":"Tools"},
  • trunk/Forms/UFormMain.pas

    r26 r27  
    3131    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    3232    procedure FormShow(Sender: TObject);
     33  private
     34    procedure SetToolbarHints;
    3335  public
    3436    procedure DockInit;
     
    6567begin
    6668  Core.PersistentForm1.Load(Self, True);
     69  SetToolbarHints;
    6770  DockInit;
    6871end;
     
    8588end;
    8689
     90procedure TFormMain.SetToolbarHints;
     91var
     92  I: Integer;
     93  J: Integer;
     94  Control: TControl;
     95begin
     96  for J := 0 to CoolBar1.ControlCount - 1 do begin
     97    Control := CoolBar1.Controls[J];
     98    if Control is TToolBar then begin
     99      for I := 0 to TToolBar(Control).ButtonCount - 1 do begin
     100        TToolBar(Control).Buttons[I].ShowHint := True;
     101        TToolBar(Control).Buttons[I].Hint := TToolBar(Control).Buttons[I].Caption;
     102      end;
     103    end;
     104  end;
     105end;
     106
    87107end.
    88108
  • trunk/Forms/UFormRecord.lfm

    r19 r27  
    1212  OnShow = FormShow
    1313  Position = poMainFormCenter
    14   LCLVersion = '1.8.2.0'
     14  LCLVersion = '2.2.2.0'
    1515  object Panel1: TPanel
    1616    Left = 4
     
    3737    Left = 648
    3838    Height = 27
    39     Top = 601
     39    Top = 603
    4040    Width = 72
    4141    Anchors = [akRight, akBottom]
     
    4646  object ActionList1: TActionList
    4747    Images = Core.ImageList1
    48     left = 423
    49     top = 379
     48    Left = 423
     49    Top = 379
    5050    object ASave: TAction
    5151      Caption = 'Save'
  • trunk/Forms/UFormRecord.lrj

    r26 r27  
    11{"version":1,"strings":[
    2 {"hash":42946580,"name":"tformrecord.caption","sourcebytes":[70,111,114,109,82,101,99,111,114,100],"value":"FormRecord"},
     2{"hash":93038212,"name":"tformrecord.caption","sourcebytes":[82,101,99,111,114,100],"value":"Record"},
    33{"hash":1371,"name":"tformrecord.buttonok.caption","sourcebytes":[79,107],"value":"Ok"},
    44{"hash":77089212,"name":"tformrecord.buttoncancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"},
Note: See TracChangeset for help on using the changeset viewer.