I know. DbGrid doesn't have ItemIndex... ----- Original Message ----- From: "Mike Byerley" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Friday, December 14, 2012 1:46 PM Subject: [RBASE-L] - Re: DB-Grid column focus
: Missed that. Thinking ItemIndex I guess and SelectedIndex connected with : the wrong synapse.. Sorry Albert. : : : ----- Original Message ----- : From: "Albert Berry" <[email protected]> : To: "RBASE-L Mailing List" <[email protected]> : Sent: Friday, December 14, 2012 11:31 AM : Subject: [RBASE-L] - Re: DB-Grid column focus : : :: No It wouldn't. :: :: "Set SelectedIndex to move focus to a column in the grid that is :: identified by position. Read SelectedIndex to determine which column in :: the grid has focus. A value of 0 indicates the first data column, 1 is :: the second data column, and so on. SelectedIndex is -1 if there is no :: currently selected column." :: :: Albert :: :: :: On 13/12/2012 8:37 PM, Mike Byerley wrote: :: > That would be row number.. :: > :: > ----- Original Message ----- :: > From: "Albert Berry" <[email protected]> :: > To: "RBASE-L Mailing List" <[email protected]> :: > Sent: Thursday, December 13, 2012 5:06 PM :: > Subject: [RBASE-L] - Re: DB-Grid column focus :: > :: > :: > : PROPERTY <Component ID> SELECTEDINDEX 'Value' :: > : :: > : The index is the column number - starting with zero if I remember :: > : correctly. :: > : :: > : Albert :: > : :: > : On 13/12/2012 2:12 PM, jan johansen wrote: :: > : > Is it possible to use a PROPERTY command to SET_FOCUS to a column in : a :: > : > column in an Enhanced DB-Grid? :: > : > TIA, :: > : > Jan :: > : > :: > : > No virus found in this message. :: > : > Checked by AVG - www.avg.com <http://www.avg.com> :: > : > Version: 2013.0.2805 / Virus Database: 2634/5954 - Release Date: :: > 12/12/12 :: > : > :: > : :: > : :: > :: > :: > :: > :: > ----- :: > No virus found in this message. :: > Checked by AVG - www.avg.com :: > Version: 2013.0.2805 / Virus Database: 2634/5954 - Release Date: : 12/12/12 :: > :: > :: :: : :

