Default preview cursor shape?

hsmhsm
edited 7:38AM in FastReport 4.0
Oh dear, I do seem to be asking a lot of questions this week!

A simple one now..

Although I might change the cursor shape for certain interactive objects, the default for preview seems to be a hand shape (why? - it looks so odd!)

How can I make the default shape for the whole report be the usual arrow shape ie the screen.default?

Howard

Comments

  • gpigpi
    edited 7:38AM
    Change frxPreview.pas:
    constructor TfrxPreviewWorkspace.Create(AOwner: TComponent);
    begin
      inherited;
      FPageList := TfrxPageList.Create;
      OnDblClick := PrevDblClick;
    
      FBackColor := clGray;
      FFrameColor := clBlack;
      FActiveFrameColor := $804020;
      FZoom := 1;
      FDefaultCursor := crHand;  // change this line
    
      LargeChange := 300;
      SmallChange := 8;
    end;
    
  • hsmhsm
    edited 7:38AM
    gpi wrote: »
    Change frxPreview.pas:
    constructor TfrxPreviewWorkspace.Create(AOwner: TComponent);
    begin
      inherited;
      FPageList := TfrxPageList.Create;
      OnDblClick := PrevDblClick;
    
      FBackColor := clGray;
      FFrameColor := clBlack;
      FActiveFrameColor := $804020;
      FZoom := 1;
      FDefaultCursor := crHand;  // change this line
    
      LargeChange := 300;
      SmallChange := 8;
    end;
    


    Brilliant, Thank you!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.