EVariantBadIndexError

edited May 2004 in FastReport 2.xx VCL
Hello,

a few days ago i ran into problems with fastreports 2.51 when i try to open the editor by double click the component i recieve a EVariantBadIndexError error.

reinstalling and upgrading the component to version 2.52 doesn't solve the problem ... anyone have a idea what cause this problem?

Erwin

Comments

  • FadFad
    edited 11:34PM
    I have the same problem, it happens to me when I set the printer to an offline printer. However, when I set it to "virtual printer" the error is gone.

    ;)
  • edited 11:34PM
    Can you set the printer when in ide ? i looked in the properties for fastreport component but can't find any property to set the printer.

    Erwin
  • FadFad
    edited 11:34PM

    There are several ways to change the default printer programatically. I can't recall them now though :| .

    Moreover, the source code for the designer is included, so you can extend its capabilities by adding your own code to the designer (if the license allows it).
    You might also add some code to check if the printer is online in one of the "before" events that are included, or create your own event.
  • edited 11:34PM
    i installed a new printer... wich was setted to default ... when changing the default printer back to the old printer the error was gone ... the author of this component can maybe build in a function tho check if the default printer is online ...if not try another printer in the list or set printer to virtual

    Erwin

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.