You could also add a property commands

 

PROPERTY <Component ID> VISIBLE 'FALSE'

 

  SELECT Image INTO vImage1 FROM  WHERE

  SELECT Image INTO vImage2 FROM  WHERE

  SELECT Image INTO vImage3 FROM  WHERE

  SELECT Image INTO vImage4 FROM  WHERE

  SELECT Image INTO vImage5 FROM  WHERE

 

OR

 

  SET VAR vImage1 VARBIT = Image WHERE ....

  SET VAR vImage2 VARBIT = Image WHERE ....

  SET VAR vImage3 VARBIT = Image WHERE ....

  SET VAR vImage4 VARBIT = Image WHERE ....

  SET VAR vImage5 VARBIT = Image WHERE ....

 

RECALC VARIABLES

PROPERTY <Component ID> VISIBLE 'TRUE'

 

Just give all the 5 variable image controls all the same name

 

I have also noticed that themes on a slower computer can really slow
things down you might try turning them off also

 

 

 

 

Remember the goal

"100% Attitude, Accuracy and Complete on Time Orders"

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jan
Johansen
Sent: Monday, January 05, 2009 12:46 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: A form in Rbase 7.6 loads slow and choppy

 

Mike,

 

Well the size of the image will definately affect how the form loads.

But if you are saying that it looks like the images are trying to load

more than once I would look to where they are defined.

 

Is this a variable form or one tied to a table?

 

If it is a form tied to a table I would get rid of assigning the images

in form variables. Do this instead.

 

In the form AFTER START eep do this

SET VAR vImage1 VARBIT = Image WHERE ....

SET VAR vImage2 VARBIT = Image WHERE ....

SET VAR vImage3 VARBIT = Image WHERE ....

SET VAR vImage4 VARBIT = Image WHERE ....

SET VAR vImage5 VARBIT = Image WHERE ....

RECALC VARIABLES

 

This allows your form to load and then display the images.

 

Jan

        ----- Original Message ----- 

        From: Michael J. Sinclair, MD <mailto:[email protected]>  

        To: RBASE-L Mailing List <mailto:[email protected]>  

        Sent: Monday, January 05, 2009 12:26 PM

        Subject: [RBASE-L] - A form in Rbase 7.6 loads slow and choppy

         

        Hi All,
        
        I have created a form in Rbase 7.6. It has 5 variable image
controls, (4 small, 1 large), a left button and a right button. When I
run the form, it loads slowly and choppy....as if it were struggling to
load. It appears that the pics that are being displayed are blinking or
reloading, about 5 times each. This happens on a stand alone machine as
well as when I try to run it over a network. 
        
        What can I do to fix this? What kinds of things contribute to a
form loading slowly and choppy?
        
        Mike

Reply via email to