Razzak,
Thanks for confirming my suspicion that it was possible. I knew I had seen that before but I don't use it often enough that I couldn't find it in time to beat you. Still looking forward to October. Jan -----Original Message----- From: "A. Razzak Memon" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Fri, 08 Jun 2012 16:05:13 -0400 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.

