Changeset 210
- Timestamp:
- Jun 13, 2007, 8:31:36 PM (18 years ago)
- Location:
- trunk/Components
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Components/ACLDialogs.pas
r15 r210 78 78 uses 79 79 SysUtils, 80 Forms, Dialogs, StdCtrls, Buttons, 81 ACLStringUtility 80 Forms, 81 Dialogs, 82 StdCtrls, 83 Buttons, 82 84 {$ifdef os2} 83 , ACLLanguageUnit, ControlsUtility85 ACLLanguageUnit, ControlsUtility, 84 86 {$endif} 85 ;87 CharUtilsUnit; 86 88 87 89 // ------------------------------------------------- … … 101 103 TheDialog := TMessageForm.Create( nil ); 102 104 TheDialog.Caption := Caption; 103 PMessage := StrDupPas( Message);105 PMessage := NewPCharAsCopyOfStr(Message); 104 106 TheDialog.TheText := PMessage; 105 107 -
trunk/Components/CanvasFontManager.pas
r188 r210 5 5 Uses 6 6 OS2Def, 7 Classes, Forms, PMWIN, Graphics; 7 Classes, 8 Forms, 9 PMWIN, 10 Graphics; 8 11 9 12 Const … … 137 140 PmDev, 138 141 SysUtils, 139 ACLStringUtility;142 StringUtilsUnit; 140 143 141 144 Imports … … 246 249 Face := FontFaces[ FaceIndex ]; 247 250 248 if Str ingsSame( Face.pName^, Name ) then251 if StrEqualIgnoringCase( Face.pName^, Name ) then 249 252 begin 250 253 Result := Face; … … 480 483 function SubstituteBitmapFontToOutline( const FaceName: string ): string; 481 484 begin 482 if Str ingsSame( FaceName, 'Helv' ) then485 if StrEqualIgnoringCase( FaceName, 'Helv' ) then 483 486 result := 'Helvetica' 484 else if Str ingsSame( FaceName, 'Tms Rmn' ) then487 else if StrEqualIgnoringCase( FaceName, 'Tms Rmn' ) then 485 488 result := 'Times New Roman' 486 else if Str ingsSame( FaceName, 'System Proportional' ) then489 else if StrEqualIgnoringCase( FaceName, 'System Proportional' ) then 487 490 result := 'Helvetica' 488 else if Str ingsSame( FaceName, 'System Monospaced' ) then491 else if StrEqualIgnoringCase( FaceName, 'System Monospaced' ) then 489 492 result := 'Courier' 490 else if Str ingsSame( FaceName, 'System VIO' ) then493 else if StrEqualIgnoringCase( FaceName, 'System VIO' ) then 491 494 result := 'Courier' 492 495 else -
trunk/Components/ComponentsTestForm.pas
r145 r210 116 116 ControlScrolling, 117 117 ACLResourceUtility, 118 ACLStringUtility,119 118 RichTextPrintUnit, 120 119 RichTextStyleUnit, 121 ACLLanguageUnit; 120 ACLLanguageUnit, 121 CharUtilsUnit; 122 122 123 123 {$R DialogIcons} … … 145 145 4 ); 146 146 147 Memo1.Lines.Add( Str NPas( p, l ) );147 Memo1.Lines.Add( StrPasWithLength( p, l ) ); 148 148 149 149 StrDispose( p );
Note:
See TracChangeset
for help on using the changeset viewer.