File tree Expand file tree Collapse file tree 6 files changed +338
-266
lines changed Expand file tree Collapse file tree 6 files changed +338
-266
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ interface
5
5
type
6
6
TConsts = class
7
7
public const
8
- SEMANTIC_VERSION = ' 2.3.0 ' ;
8
+ SEMANTIC_VERSION = ' 2.3.1 ' ;
9
9
SEMANTIC_VERSION_LB = ' Version: ' + SEMANTIC_VERSION;
10
10
WIN_CONTROL_FOCU_NIL = nil ;
11
11
DELPHI_AI_DEVELOPER_DPROJ = ' DelphiAIDeveloper.dproj' ;
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ object DelphiAIDevSettingsView: TDelphiAIDevSettingsView
156
156
Margins.Right = 0
157
157
Margins.Bottom = 1
158
158
Align = alLeft
159
- Caption = ' IAs on-line'
159
+ Caption = ' AI on-line'
160
160
TabOrder = 1
161
161
OnClick = btnIAsOnlineClick
162
162
end
@@ -171,7 +171,7 @@ object DelphiAIDevSettingsView: TDelphiAIDevSettingsView
171
171
Margins.Right = 0
172
172
Margins.Bottom = 1
173
173
Align = alLeft
174
- Caption = ' IAs off-Line'
174
+ Caption = ' AI off-Line'
175
175
TabOrder = 2
176
176
OnClick = btnIAsOfflineClick
177
177
end
@@ -207,14 +207,10 @@ object DelphiAIDevSettingsView: TDelphiAIDevSettingsView
207
207
Top = 33
10000
208
208
Width = 667
209
209
Height = 521
210
- ActivePage = TabSheet4
210
+ ActivePage = TabSheet1
211
211
TabOrder = 1
212
212
object TabSheet1: TTabSheet
213
213
Caption = ' Preferences'
214
- ExplicitLeft = 0
215
- ExplicitTop = 0
216
- ExplicitWidth = 0
217
- ExplicitHeight = 0
218
214
object pnPreferencesBack: TPanel
219
215
Left = 0
220
216
Top = 0
@@ -326,12 +322,8 @@ object DelphiAIDevSettingsView: TDelphiAIDevSettingsView
326
322
end
327
323
end
328
324
object TabSheet2: TTabSheet
329
- Caption = ' IAs on-line'
325
+ Caption = ' AI on-line'
330
326
ImageIndex = 1
331
- ExplicitLeft = 0
332
- ExplicitTop = 0
333
- ExplicitWidth = 0
334
- ExplicitHeight = 0
335
327
object pnIAsOnLineBack: TPanel
336
328
Left = 0
337
329
Top = 0
@@ -872,12 +864,8 @@ object DelphiAIDevSettingsView: TDelphiAIDevSettingsView
872
864
end
873
865
end
874
866
object TabSheet3: TTabSheet
875
- Caption = ' IAs off-Line'
867
+ Caption = ' AI off-Line'
876
868
ImageIndex = 2
877
- ExplicitLeft = 0
878
- ExplicitTop = 0
879
- ExplicitWidth = 0
880
- ExplicitHeight = 0
881
869
object pnIAsOffLineBack: TPanel
882
870
Left = 0
883
871
Top = 0
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ procedure TDelphiAIDevSettingsView.FormKeyDown(Sender: TObject; var Key: Word; S
270
270
271
271
procedure TDelphiAIDevSettingsView.lbLinkGpt01Click (Sender: TObject);
272
272
begin
273
- // **Several
273
+ // **SEVERAL
274
274
TUtils.OpenLink(TLabel(Sender).Hint.Trim);
275
275
end ;
276
276
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ TUtils = class
29
29
class function ShowMsgInternal (const AMsg, ADetails: string; const AIcon: TC4DIcon;
30
30
const AButtons: TC4DButtons; const ABtnFocu: TC4DBtnFocu; const AWinControlFocu: TWinControl): Boolean;
31
31
public
32
- class procedure TryGetValueJson <T>(const AJSONObject: TJSONObject; const AKey: string; AResult: T);
33
32
class function GetExceptionMessage (const E: Exception): string;
34
33
class function StrToDefaultsQuestionsKind (Value : string): TC4DQuestionKind;
35
34
class function StrToDriverID (Value : string): TC4DDriverID;
@@ -149,12 +148,6 @@ implementation
149
148
DelphiAIDev.View .Dialog,
150
149
DelphiAIDev.WaitingScreen;
151
150
152
- class procedure TUtils.TryGetValueJson <T>(const AJSONObject: TJSONObject; const AKey: string; AResult: T);
153
- begin
154
- if AJSONObject.GetValue(AKey) <> nil then
155
- AResult := AJSONObject.GetValue<T>(AKey);
156
- end ;
157
-
158
151
class function TUtils.GetExceptionMessage (const E: Exception): string;
159
152
begin
160
153
Result := E.Message;
You can’t perform that action at this time.
0 commit comments