Click to See Complete Forum and Search --> : MsFlexgrid...prob
wolfen_76
August 5th, 1999, 07:07 AM
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..
Dr_Michael
August 5th, 1999, 07:27 AM
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
wolfen_76
August 6th, 1999, 02:37 AM
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?
Dr_Michael
August 6th, 1999, 05:00 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.