Solved

MSFlex Grid

Posted on 1998-05-01
2
226 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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

707 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