Results 1 to 3 of 3

Thread: Crystal report viewer?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234

    Question Crystal report viewer?

    Question is about crystal report viewer. Like folks says: 'picture tells more then thousand words', so look at attach picture.

    regard j
    Attached Images Attached Images  

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    You cant remove that. However you may be able to change its name. Look here:
    http://groups.google.com/groups?hl=e...atusbar%2Bhide
    Last edited by Lunatic3; Jun 6th, 2003 at 05:04 AM.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  3. #3
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Use this code after setting the source of your reportviewer
    VB Code:
    1. Dim ctl As Control
    2.         For Each ctl In CrystalReportViewer1.Controls
    3.             If TypeOf ctl Is CrystalDecisions.Windows.Forms.PageView Then
    4.                 Dim ctl1 As Control
    5.                 For Each ctl1 In ctl.Controls
    6.                     If TypeOf ctl1 Is System.Windows.Forms.TabControl Then
    7.                         Dim ctl2 As TabPage
    8.                         For Each ctl2 In CType(ctl1, TabControl).TabPages
    9.                             If ctl2.Text = "MainReport" Then ctl2.Text = "TEST"
    10.                         Next
    11.                     End If
    12.                 Next
    13.             End If
    14.         Next
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

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