Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

MSFlex Grid

How do you print (only)the MSFlex Grid, without the form i.e. command buttons etc ?
0
gitar
Asked:
gitar
1 Solution
 
zsiCommented:
Obtain a count of the rows and columns and, using a nested loop, print out the contents of the grid.  Sorry, but there is no print method, such as you would find in SpreadOCX or other grid controls.
0
 
lixaCommented:
If you're talking about not printing the buttons, you're probally trying to print it in design time isn't it ? If you just want to print the Grid "IN DESIGN TIME", follow these steps:

1- Make your form visible at screen
2- press "ALT" + "PRINT SCREEN" Keys simultaneously
3- go to any image editor (MSPAINT for ex.)
4- Paste at the "EDIT" menu
5- select the area that contains the grid
6- crop the selection
7- print it !

If you're trying to print it in run time, you should make a routine that transports the grid values to your printer (A loop for ex.). There's no print command on this kind of grid ...
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now