Results 1 to 5 of 5

Thread: [RESOLVED] How to "pop up" crystal report?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2006
    Posts
    27

    Resolved [RESOLVED] How to "pop up" crystal report?

    Hi ,

    I wish to have my crystal report "pop up" like it does within many professional applications. Currently i have it inside a form, and frankly it doesnt look too good. How do i make it pop up on its own without a form? is this possible?
    Last edited by sebcia; Oct 3rd, 2007 at 12:27 PM.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to "pop up" crystal report?

    Change the form's borderstyle to none so it is still on a form, but it won't look like it is one a form.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2006
    Posts
    27

    Re: How to "pop up" crystal report?

    Hi Hack

    I had that setting set like you say but let me clarify better what my problem is:

    When the report initially pops up it looks great , the problem is when i MAXIMIZE the form window, the form itsself maximizes , yet the crystal control that i drew on the form stays the same if you know what i mean.

    so im basically left with a maximized form and a crystal report control that maybe covers 50% of the form once the form is maximized

  4. #4
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: How to "pop up" crystal report?

    In the Form_Resize event set the size of the viewer control.

    Code:
    Private Sub Form_Resize()
       rptViewer.Move 0,0, ScaleWidth, ScaleHeight
    End Sub

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Oct 2006
    Posts
    27

    Re: How to "pop up" crystal report?

    Thanks bruce, thats a great solution!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width