CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 1999
    Posts
    35

    MsFlexgrid...prob

    I tried to print the content of msflexgrid... using the 'form.printform' method.. it show preview that is fine by me bocoz of printer setting but the prob is the whole area of the grid is black... like a big black box.. it will print the same.. what should i do? i'm using 'vb6.0 sp3'.. this is very urgent..


  2. #2
    Join Date
    Jul 1999
    Location
    Athens, Hellas
    Posts
    769

    Re: MsFlexgrid...prob

    Is this the solution to your problem?

    MSFlexGrid1.BackColorBkg = vbWhite
    msflexgrid1.refresh
    me.refresh



    Add these lines before Me.PrintForm

    Michael Vlastos
    Company MODUS SA
    Development Department
    Athens, Greece
    Tel: +3-01-9414900

  3. #3
    Join Date
    Jul 1999
    Posts
    35

    Re: MsFlexgrid...prob

    well my grid backgroung is already white.. it is no reason why it should turn to black.. i only get the prob while printing...is it becoz of the system or something?


  4. #4
    Join Date
    Jul 1999
    Location
    Athens, Hellas
    Posts
    769

    Re: MsFlexgrid...prob

    Did you try the refresh methods that I suggested?
    I have own experience on that. Elsewhere, try to reinstall your printer drivers!

    Michael Vlastos
    Company MODUS SA
    Development Department
    Athens, Greece
    Tel: +3-01-9414900

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

Featured