Razzak, Thanks!
Your explanation of this variable indicates it covers all controls on the form. I would not have guessed that from the help: RBTI_FORM_COMPID This variable holds the value of focused DB/Variable Edit control's Component ID, if defined. Again, thanks for your help. 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 A. Razzak Memon Sent: Friday, June 08, 2012 3:05 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: capture control focus At 03:36 PM 6/8/2012, Dennis McGrath wrote: >Is there any way the retrieve the componentid of >the currently focused control on a form? Did you know that you can capture the Component ID of any focused control in R:BASE forms by capturing the built-in RBTI_FORM_COMPID system variable? This variable holds the value of focused DB/Variable Edit control's Component ID, if defined. R:BASE supports the following RBTI System Variables used in Forms: * RBTI_DBGRID_COLUMN * RBTI_DIRTY_FLAG * RBTI_FORM_ALIAS * RBTI_FORM_COLNAME * RBTI_FORM_COLVALUE * RBTI_FORM_COMPID * RBTI_FORM_DATATYPE * RBTI_FORM_DIRTYVAR * RBTI_FORM_FORMNAME * RBTI_FORM_MODE * RBTI_FORM_TBLNAME * RBTI_FORM_VARNAME * RBTI_FORM_VARVALUE For complete details ... HELP | Reference Index | Reference Topics | System Variables ... Have fun! Very Best R:egards, Razzak.

