I'm glad you posted this, Tom!  I've always wanted to see a reason to use a 
speed button rather
than a bit button, and this is one!   So the fact that focus did not move out 
of the row/table is what
caused the selected index to work.

Karen

 

 

 

-----Original Message-----
From: TOM HART <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Mon, Feb 23, 2015 7:52 am
Subject: [RBASE-L] - Re: DB grid



Tony,
Thank you your way works using a speed button, I originally tried using a bit 
button and that did not work
Tom
 



 
 
 
  On Sunday, February 22, 2015 2:00 PM, Tony IJntema <[email protected]> 
wrote:
  
  

 


Tom,
  
In my example I have created a speed button 
  
It contains the following statements
  
  PROPERTY <tablename>  'DUPLICATE'
  PROPERTY <ENHANCEDDBGRID1>  SELECTEDINDEX '3'
  RETURN
  
Sorry for my late response, but in Holland it was dinner time
  
Tony
  

From: [email protected] [mailto:[email protected]] On Behalf Of TOM HART
Sent: zondag 22 februari 2015 17:22
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: DB grid

  

I tried your approach but cannot get it to work, which EEP do I put it in

  

Tom

  



On Sunday, February 22, 2015 9:34 AM, Tony IJntema <[email protected]> wrote:

  



Try this

  PROPERTY <ID Enhanced DBGRID>  SELECTEDINDEX 'n'

 

Be aware the first column has the index 0

 

Tony

 

 

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of TOM HART
Sent: zondag 22 februari 2015 15:54
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: DB grid


 


My issue is not the dup it is setting focus on the first field after dup, with 
a scrolling region I used property to set focus on column, but I do no see a 
way in a db grid


Tom


 




On Sunday, February 22, 2015 8:45 AM, Tony IJntema <[email protected]> wrote:


 




Could this be the solution ?


 


Use the following PROPERTY command to DUPLICATE a row for any given table 
related to a form.


 


Example:


 


PROPERTY TABLE <FormTableName> 'DUPLICATE'


RETURN


 


Tony


 



From: [email protected] [mailto:[email protected]] On Behalf Of TOM HART
Sent: zondag 22 februari 2015 15:33
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: DB grid



 



I must be brain dead, because I do not see anything that would seem to work



 



Tom Hart



 





On Saturday, February 21, 2015 9:54 AM, A. Razzak Memon <[email protected]> 
wrote:



 




Yes, and more ...



Take a close look at the DB Grid and Enhanced DB Grid PROPERTY  commands using 
the R:Docs 9.5. 



Very Best R:egards, 



Razzak



On Feb 21, 2015 7:30 AM, "TOM HART" <[email protected]> wrote:




I have been using a scrolling region to enter inventory and it works great.  On 
that form I have a duprow which then sets focus on the first column.  Is there 
a way to do the same thing in a DB grid.



 



Tom Hart





 






 





  







  
 
  
 

Reply via email to