Link to home
Start Free TrialLog in
Avatar of ericson
ericsonFlag for Brazil

asked on

Printing FlexGrid

Please, I need to print a MSFlexGrid with many mergecells. How I do???
Avatar of Tmess
Tmess
Flag of United States of America image

Can't you just select all and then put the following in

    Printer.Print MSFlexGrid1.Clip
VideoSoft, the company that makes the full version of the Flex Grid control has a control called VSPrinter.  The VSPrinter control has a Table property that you can set to a string which contains your grid data and then you have full print preview control, zooming, orientation.  It's very cool.  However, I'm not sure how it handles Merged Cells.  You can download a demo version of the control from their web site and try it out. www.videosoft.com
Avatar of rooni
rooni

hi ericson,
 i don't know how helpful this might be(if at all ) . In the form of the flx grid we had placed a button <print> .
In the click event of this button we had given used the printform method to print the flx grid. Here one obstacle is that the printform method prints only what is available on the screen at that particular instant of time. If the flx grid contains more no. of records than the screen can hold at one time than the user will have toexplicitly scroll down and again click the button . Sort of a very crude way, isn't it ? Anyway that was the way we did it.
ASKER CERTIFIED SOLUTION
Avatar of tirupur_selva
tirupur_selva
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial