Ignore:
Timestamp:
Apr 19, 2010, 5:24:20 PM (15 years ago)
Author:
Kevin Toppenberg
Message:

Fixed Text Object Parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/tmg-cprs/CPRS-Chart/fImages.pas

    r735 r738  
    9999    CurImageToLoad : integer;
    100100    InTimerFn : Boolean;
    101     DropBoxDir : string;
    102     UseDropBox : boolean;
    103101    procedure EnsureImageListLoaded();
    104102    procedure ClearImageList();
     
    112110  public
    113111    CacheDir : AnsiString;
     112    UseDropBox : boolean;
     113    DropBoxDir : string;
    114114    NullImageName : AnsiString;
    115115    function Decode(input: AnsiString) : AnsiString;
     
    214214  if not DirectoryExists(CacheDir) then ForceDirectories(CacheDir);
    215215
    216   UseDropBox := uTMGOptions.ReadBool('Use dropbox directory for transfers',false);
     216  //UseDropBox := uTMGOptions.ReadBool('Use dropbox directory for transfers',false);
     217  if uTMGOptions.ReadInteger('ImageTransferMethod',0) = 0 then begin
     218     UseDropBox := True;
     219  end else begin
     220     UseDropBox := False;
     221  end;   
    217222  DropBoxDir := uTMGOptions.ReadString('Dropbox directory','??');
    218223  if DropBoxDir='??' then begin  //just on first run.
Note: See TracChangeset for help on using the changeset viewer.