Changeset 317 for trunk/Forms/FormChat.pas
- Timestamp:
- Jun 21, 2024, 12:44:53 PM (5 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormChat.pas
r316 r317 1 unit UFormChat;1 unit FormChat; 2 2 3 3 interface … … 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 7 UGame, UGameClient;7 Game, GameClient, FormEx; 8 8 9 9 type … … 11 11 { TFormChat } 12 12 13 TFormChat = class(TForm )13 TFormChat = class(TFormEx) 14 14 ButtonMessageSend: TButton; 15 15 EditMessage: TEdit; … … 18 18 procedure ButtonMessageSendClick(Sender: TObject); 19 19 procedure EditMessageKeyPress(Sender: TObject; var Key: char); 20 procedure FormCreate(Sender: TObject);21 procedure FormShow(Sender: TObject);22 private23 24 20 public 25 21 Client: TClient; 26 22 end; 27 28 var29 FormChat: TFormChat;30 23 31 24 … … 34 27 {$R *.lfm} 35 28 36 uses37 UCore;38 39 29 { TFormChat } 40 30 … … 42 32 begin 43 33 if Key = #13 then ButtonMessageSend.Click; 44 end;45 46 procedure TFormChat.FormCreate(Sender: TObject);47 begin48 Core.CoolTranslator1.TranslateComponentRecursive(Self);49 end;50 51 procedure TFormChat.FormShow(Sender: TObject);52 begin53 Core.ThemeManager1.UseTheme(Self);54 34 end; 55 35
Note:
See TracChangeset
for help on using the changeset viewer.