Page 275 - Open Soource Technologies 304.indd
P. 275

Unit 12: ADO Data Control



               SelText                No direct equivalent. Use the  SelectedText property in the
                                      EditingControlShowing event handler.
               Split Splits
               TabAcrossSplits        New implementation. Split views are not directly supported; use a
                                      SplitContainer control.
               TabAction              StandardTab

               Tag                    New implementation.
               Text                   CurrentCell.Value
               ToolTipText            ToolTip component
               Top                    Top

               VisibleCols            DisplayedColumnCount method.
               VisibleRows            DisplayedRowCount method.
               WhatsThisHelpID        New implementation.
               Width                  Width, inherited from  Control class.

               WrapCellPointer        No longer an adjustable property; default behavior is
                                      WrapCellPointer =  True.

               12.4.2  Methods

               Visual Basic 6.0       Visual Basic 2005 Equivalent
               CaptureImage           New implementation. Capturing the contents of a  DataGridView
                                      control to a  PictureBox control is not supported.
               ClearFields            New implementation. Column formatting is automatic when re-
                                      binding.
               ClearSelCols           ClearSelection
               ColContaining          IndexOf (DataGridViewColumnCollection)
               Drag                   New implementation.
               GetBookmark            New implementation. Bookmarks are no longer supported.
               HoldFields             New implementation. Column formatting is preserved when
                                      rebinding.
               Move                   SetBounds, inherited from  Control class.
               Rebind                 ResetBindings, inherited from  Control class.
               RowBookmark            New implementation. Bookmarks are no longer supported.

               RowContaining          IndexOf (DataGridViewColumnCollection)
               RowTop                 GetContentBounds (DataGridViewCell)



                                      LOVELY PROFESSIONAL UNIVERSITY                        269
   270   271   272   273   274   275   276   277   278   279   280