Jan:  That's really cool!  I'm going to play with that and definitely save the 
tip for the future!

Karen

 

 

 

-----Original Message-----
From: jan johansen <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Wed, Dec 19, 2012 5:22 pm
Subject: [RBASE-L] - Elapsed time


        I think I figured out my memory leak on a form.
        I had forgotten that I had a form timer running so if the form was open 
for a long time it would eventually burp.
         
        My techs still wanted a way to see an elapsed time so I tried to figure 
a better way to do that.
        I discovered that the Analog Clock could work by offsetting the time 
with a negative value.
        In case you are interested, here are the steps.
         
        Place an Analog Clock on your form and set disable Seconds and give it 
a property ID of ElapsedTime.
         
        Place this in your On Before Start EEP
        SET VAR vElapsed TIME = .#TIME
        SET VAR vIMin INT = ((IMIN(.vElapsed))*-1)
        SET VAR vIHour INT = ((IHR(.vElapsed))*-1)
         
        Place this in your On After Start EEP
        PROPERTY ElapsedTime DIFHOUR .vIHour
        PROPERTY ElapsedTime DIFMINUTE .vIMin
         
        The clock will now display the difference.
         
        Jan
         
         
         
         
        
        
                -----Original Message-----
                From: "jan johansen" <[email protected]>
                To: [email protected] (RBASE-L Mailing List)
                Date: Wed, 19 Dec 2012 14:30:35 -0800
                Subject: [RBASE-L] - Re: DB-Grid column focus
                
                
                        Hmmm.
                        I'm having trouble getting the syntax to force focus to 
the selected column using
                
                        PROPERTY <Component ID> SELECTEDINDEX 'Value'
                
                         
                
                        Also is there a setting to change to color when the 
column has 'Focus'?
                
                         
                
                        Jan
                
                        
                        
                                -----Original Message-----
                                From: Albert Berry <[email protected]>
                                To: [email protected] (RBASE-L Mailing List)
                                Date: Fri, 14 Dec 2012 09:31:59 -0700
                                Subject: [RBASE-L] - Re: DB-Grid column focus
                                
                                
                                        No It wouldn't.
                                        
                                        "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."
                                        
                                        Albert
                                        
                                        
                                        On 13/12/2012 8:37 PM, Mike Byerley 
wrote:
                                        > That would be row number..
                                        >
                                        > ----- Original Message -----
                                        > From: "Albert Berry" 
<[email protected]>
                                        > To: "RBASE-L Mailing List" 
<[email protected]>
                                        > Sent: Thursday, December 13, 2012 
5:06 PM
                                        > Subject: [RBASE-L] - Re: DB-Grid 
column focus
                                        >
                                        >
                                        > : PROPERTY <Component ID> 
SELECTEDINDEX 'Value'
                                        > :
                                        > : The index is the column number - 
starting with zero if I remember
                                        > : correctly.
                                        > :
                                        > : Albert
                                        > :
                                        > : On 13/12/2012 2:12 PM, jan johansen 
wrote:
                                        > : > Is it possible to use a PROPERTY 
command to SET_FOCUS to a column in a
                                        > : > column in an Enhanced DB-Grid?
                                        > : > TIA,
                                        > : > Jan
                                        > : >
                                        > : > No virus found in this message.
                                        > : > Checked by AVG -  www.avg.com < 
http://www.avg.com>
                                        > : > Version: 2013.0.2805 / Virus 
Database: 2634/5954 - Release Date:
                                        > 12/12/12
                                        > : >
                                        > :
                                        > :
                                        >
                                        >
                                        >
                                        >
                                        > -----
                                        > No virus found in this message.
                                        > Checked by AVG -  www.avg.com
                                        > Version: 2013.0.2805 / Virus 
Database: 2634/5954 - Release Date: 12/12/12
                                        >
                                        >
                                        
                                         
                        
                
                
                         
        

         
 

Reply via email to