You can use this.  The numbers are 0-based
PROPERTYEnDBGrid SELECTEDINDEX '14' 
 
Karen
 
 
-----Original Message-----
From: 'Jim Belisle' via RBASE-L <[email protected]>
To: [email protected] <[email protected]>
Sent: Fri, Jul 9, 2021 3:44 pm
Subject: [RBASE-L] - RE: scrolling region property commands

#yiv0955333357 #yiv0955333357 -- _filtered {} _filtered {}#yiv0955333357 
#yiv0955333357 p.yiv0955333357MsoNormal, #yiv0955333357 
li.yiv0955333357MsoNormal, #yiv0955333357 div.yiv0955333357MsoNormal 
{margin:0in;font-size:11.0pt;font-family:sans-serif;}#yiv0955333357 a:link, 
#yiv0955333357 span.yiv0955333357MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv0955333357 
p.yiv0955333357MsoNoSpacing, #yiv0955333357 li.yiv0955333357MsoNoSpacing, 
#yiv0955333357 div.yiv0955333357MsoNoSpacing 
{margin:0in;font-size:11.0pt;font-family:sans-serif;}#yiv0955333357 
p.yiv0955333357MsoListParagraph, #yiv0955333357 
li.yiv0955333357MsoListParagraph, #yiv0955333357 
div.yiv0955333357MsoListParagraph 
{margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;font-size:11.0pt;font-family:sans-serif;}#yiv0955333357
 .yiv0955333357MsoChpDefault {font-size:10.0pt;} _filtered {}#yiv0955333357 
div.yiv0955333357WordSection1 {}#yiv0955333357 _filtered {} _filtered {} 
_filtered {} _filtered {} _filtered {} _filtered {} _filtered {} _filtered {} 
_filtered {} _filtered {} _filtered {} _filtered {} _filtered {}#yiv0955333357 
ol {margin-bottom:0in;}#yiv0955333357 ul {margin-bottom:0in;}#yiv0955333357 
Okay. I received some advice to use an enhanced DB grids instead of the 
scrolling region. I understand one can apply a component ID to the grid itself. 
However how does one apply a component ID to the individual fields? I do not 
see a component ID field. Are there other property commands that take the place 
of a component ID when using a DB grid.    James Belisle    Making Information 
Systems People Friendly Since 1990     From: 'Jim Belisle' via RBASE-L 
<[email protected]>
Sent: Friday, July 9, 2021 9:20 AM
To: [email protected]
Subject: [RBASE-L] - scrolling region property commands   
| 
 | CAUTION:This is an EXTERNAL EMAIL,STOP! and think before clicking on any 
links or opening attachments.   |

For years code I use in the on after start EEP of a form has worked in setting 
focus to the scrolling region and a specific field in the scrolling region when 
certain criteria has been met. The code uses PROPERTY commands to perform this 
task.   Earlier this year all of a sudden this code stopped working. The only 
PROPERTY command that works isPROPERTY comp_shiprows SET_FOCUS 'TRUE' (I can 
see the dotted outline of the focused row). Of course this is not what I am 
after. Below is the code I have used for years. PROPERTY comp_shiprows 
SET_FOCUS 'TRUE' PROPERTY comp_orow SET_FOCUS 'TRUE'   I have tested in the 
trace mode and get interesting results.    
   - If I am in the trace mode and go through the code one line at a time, the 
code works meaning the scrolling region line is focused and the scrolling 
region field receives the focus and the background color.
     
   - If I am in the trace mode and go through the code using the “execute to 
break” button, the code works meaning the scrolling region line is focused and 
the scrolling region field receives the focus and the background color.
   - If I am in the trace mode and go through the code using the “execute to 
error” button, the scrolling region row is focused (outlined with a broken 
line) but the field does not receive the focus and the background color does 
not show.
   - If I use the form in real time, no trace, the scrolling region row is 
focused (outlined with a broken line) but the field does not receive the focus 
and the background color does not show.
   It almost seems as if there needs to be another “click” after this command 
(PROPERTY comp_shiprows SET_FOCUS 'TRUE') in order for the field PROPERTY 
commands to work.   Any “blues clues” from the list would be appreciated. My 
users are use to the filed being highlighted and with autoselect and yellow 
background, they are not entering all the info needed on this form.   James 
Belisle   Making Information Systems People Friendly Since 1990    -- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/SA0PR02MB7434FC7DF54D903AB26FD8A5A0189%40SA0PR02MB7434.namprd02.prod.outlook.com.

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/1196737025.4037707.1625865774376%40mail.yahoo.com.

Reply via email to