KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q209043: INFO: Properties Supported and Unsupported by the Grid Control

Article: Q209043
Product(s): Microsoft Visual Basic for Windows
Version(s): 1.0
Operating System(s): 
Keyword(s): kbActiveX kbToolkit kbVBp600 kbOSWinCEsearch kbGrpDSVB kbDSupport
Last Modified: 19-MAR-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows CE Toolkit for Visual Basic 6.0, version 1.0 
-------------------------------------------------------------------------------

SUMMARY
=======

This article shows the property differences between the Grid ActiveX control
(Grid32.ocx) shipped in Visual Basic 6.0 and the CE Grid Control 6.0
(Mscegrid.dll) shipped in the Windows CE Toolkit for Visual Basic 6.0. This
information will be helpful when you attempt to convert a desktop Visual Basic
application using the Grid ActiveX control to a Windows CE Toolkit for Visual
Basic application, which can run on a Handheld PC, Handheld PC Pro, or Palm-size
PC device.

Note The Grid32.ocx control is a Visual Basic control that has been discontinued
as of Visual Basic 6.0 and is not installed by the product. It is, however,
provided on the Visual Basic CD-ROM for backward compatibility. In Visual Basic
6.0 Professional and Enterprise editions, Grid32.ocx is located on Disk 1 in the
\Common\Tools\Vb\Controls folder. In Visual Studio 6.0, Grid32.ocx is located on
Disk 3 in the same folder.

MORE INFORMATION
================

In this section are three lists of properties:

- 
  Common Properties - these are properties that are available in both Grid
  control versions.

- 
  Grid ActiveX Control Properties - these are properties that are only available
  in the Grid ActiveX Control shipped with Visual Basic 6.0.

- 
  Windows CE Grid Control Properties - these are properties that are only
  available in the Microsoft CE Grid control shipped in the Windows CE Toolkit
  for Visual Basic 6.0.

For more information about the control properties, see the Online Help.

-----------------

- BackColor Property
- Col Property
- ColAlignment Property
- ColIsVisible Property
- ColPos Property
- Cols Property
- ColWidth Property
- FillStyle Property
- ForeColor Property
- GridLineWidth Property
- HighLight Property
- LeftCol Property
- Row Property
- RowHeight Property
- RowPos Property
- Rows Property
- ScrollBars Property
- Text Property
- TopRow Property

-------------------------------

- BorderStyle Property
- CellSelected Property
- Clip Property
- Container Property
- DragIcon Property
- DragMode Property
- Enabled Property
- FixedAlignment Property
- FixedCols Property
- FixedRowsProperty
- Font Property
- FontBold Property
- FontItalic Property
- FontName Property
- FontSize Property
- FontStrikethru Property
- FontUnderline Property
- GridLines Property
- Height Property
- HelpContextID Property
- hWnd Property
- Index Property
- Left Property
- MouseIcon Property
- MousePointer Property
- Name Property
- Object Property
- Parent Property
- Picture Property
- RowIsVisible Property
- SelEndCol Property
- SelEndRow Property
- SelStartCol Property
- SelStartRow Property
- TabIndex Property
- TabStop Property
- Tag Property
- Top Property
- Visible Property
- WhatsThisHelpID Property
- Width Property

------------------------------------

- CellAlignment
- CellBackColor
- CellFontBold
- CellFontItalic
- CellFontName
- CellFontSize
- CellFontStrikethrough
- CellFontUnderline
- CellFontWidth
- CellForeColor
- CellHeight
- CellLeft
- CellTop
- CellWidth
- CellTextStyle
- Clip
- ColData
- ColPosition
- ColSel
- FocusRect
- ForeColorSel
- GridColor
- GridLines
- Redraw
- RowHeightMin
- RowIsVisible
- RowPosition
- RowSel
- ScrollTrack
- SelectionMode
- Sort
- TextArray
- TextMatrix
- TextStyle
- Version
- WordWrap

Additional query words:

======================================================================
Keywords          : kbActiveX kbToolkit kbVBp600 kbOSWinCEsearch kbGrpDSVB kbDSupport 
Technology        : kbVBSearch kbAudDeveloper kbWinCETKVBSearch kbWinCESearch kbWinCETK100VB600
Version           : :1.0
Issue type        : kbinfo

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.