Solved

MSFlex Grid

Posted on 1998-05-01
2
225 Views
Last Modified: 2008-02-01
How do you print (only)the MSFlex Grid, without the form i.e. command buttons etc ?
0
Comment
Question by:gitar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
zsi earned 50 total points
ID: 1436033
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
 

Expert Comment

by:lixa
ID: 1436034
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question