Changeset 830 for cprs/trunk/CPRS-Chart/rMisc.pas
- Timestamp:
- Jul 7, 2010, 4:51:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/rMisc.pas
r456 r830 139 139 begin 140 140 Result := StrToIntDef(sCallV('ORWCH LDFONT', [nil]),8); 141 If Result = 24 then Result := 18; // CQ #12322 removed 24 pt font 141 142 end; 142 143 … … 354 355 i: integer; 355 356 begin 356 for i := 0 to FNameList.Count-1 do 357 theList.Add('B' + U + FNameList[i] + U + FSizeList[i]); 357 for i := 0 to FNameList.Count-1 do begin 358 if Piece(FNameList[i],U,1) = 'C' then 359 theList.Add(FNameList[i] + U + FSizeList[i]) 360 else 361 theList.Add('B' + U + FNameList[i] + U + FSizeList[i]); 362 end; 358 363 end; 359 364 … … 394 399 else //Currently is in the NameList 395 400 rSizeVal := FSizeList[nameIndex]; 401 if (rSizeVal = '') and (Piece(AName,U,1) = 'C') then begin 402 if not Assigned(uColumns) then LoadSizes; 403 rSizeVal := uColumns.Values[Piece(AName,U,2)]; 404 end; 396 405 result := rSizeVal; 397 406 end;
Note:
See TracChangeset
for help on using the changeset viewer.