Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Table Control > Introduction

Introduction

Table control lets you display and control data in rows and columns much like a spreadsheet. Using table control you have the ability to control and manipulate an individual cell, a range of cells, or rows and columns. You have the ability to change the value and attributes of the individual cells. You can sort and display the data on table control, search the data value on a particular cell, and perform many database operations just as you would on a spreadsheet application. Right-click on table control and you have the option through a built-in pop-up menu to go to a target cell, find a cell in the range selected, or sort the cell for the range selected. You can also customize this table control pop-up menu to create your own menu items. These same features can be accomplished programmatically through the use of a variety of table control library functions, as you will see later when we discuss the project. Using ActiveX you are able to interface with spreadsheet programs, but the advantage of using table control is that you can embed it in your GUI and manipulate data from your customized command buttons and software. The interface to table control is faster than using the ActiveX interface since it uses fewer Windows resources.

A sample table control is shown in Figure 4-1. The table control shown here consists of numeric cells, string cells, and picture cells, all of which are explained in the next section.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint