That worked, Bill, and I did not have to change to an Enhanced DBGrid!!! Thanks!
Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bill Eyring Sent: Friday, August 31, 2012 10:09 AM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: column focus in DBGRID Dennis, Try this for an Enhanced DBGrid - not available for Dbrid. PROPERTY <Component ID> SELECTEDINDEX 'Value' As per help: Specifies the index of the currently selected column in the Columns array. Description: 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. If the Options property includes dgIndicator, the index of the data column given by SelectedIndex will differ from the index of the physical column in the grid. Hope this helps Bill Eyring -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dennis McGrath Sent: Friday, August 31, 2012 10:53 AM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: column focus in DBGRID Thanks Jim, I tried this: PROPERTY grdSchedule 'COLUMNS[5]->SET_FOCUS' 'TRUE' No luck. Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle Sent: Thursday, August 30, 2012 6:59 PM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: column focus in DBGRID Dennis, I am not sure if anyone answered you but I believe the Property commands is what you want. You may want to try PROPERTY <CompID> 'COLUMNS[0]->SET_FOCUS' 'TRUE' James Belisle Making Information Systems People Friendly Since 1990 ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Dennis McGrath Sent: Thursday, August 30, 2012 3:32 PM To: RBASE-L Mailing List Subject: [RBASE-L] - column focus in DBGRID Is there a way to control in code which column in a dbgrid row is in focus? Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] --- RBASE-L =======================3D======================= D= TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [email protected] (Don't use any of these words as your Subject: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) =======================3D======================= D= TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: INTRO =======================3D======================= D= TO UNSUBSCRIBE: Send a plain text email to [email protected] In the message SUBJECT, put just one word: UNSUBSCRIBE =======================3D======================= D= TO SEARCH ARCHIVES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: SEARCH-n (where n is the number of days). In the message body, place any text to search for. =======================3D======================= D=

