Hi Larry,
I think I might need a little more clarification. I don't have any variables or expressions defined for the form at all...they are all created by the code just before I run the form.
 
I found the place where I can create custom form actions (under the Layout tab), but I can't find any place to "Call this form action once in the form's AFTER START EEP".
 
Also, I am not sure what you mean by, "reload the image variables directly, or set the key values that control the loading of the images"
 
Here are my eeps....
 
--mouse enter EEP for doc1
SET V vdocbig = .vdoc1
RECALC
RETURN
 
--on start drag from doc1
SET V vfromobjectname = 'vdoc1'
SET V vholdpic = docname IN docsorter WHERE docnumber = 1
RETURN
 
--on drop drag to doc1
SET V vdoc1 = ('c:\docs\' + .vholdpic)
UPDATE docsorter SET docname = .vholdpic WHERE docnumber = 1
SET V vvar = .vfromobjectname
SET V &vvar = NULL
RECALC
RETURN
 
What would I change to get the desire lack of blinking?
Mike
 
 
 
-------------- Original message from Lawrence Lustig <[email protected]>: --------------

<<
The problem is that each time I click any image (or mouse over any image) every image on the form blinks. It looks a little strange to see each form blink, plus it takes a while for the blinking to stop since the images appear to blink in sequential order. My mouse click EEP should only effect 1 or 2 of the images on the form. Is there a way that I can prevent every image from blinking??
>>

Don't use the form's variable list to set the image variables.  Every time the list recalculates, the variables have to get looked up again — causing the blinking you're seeing, plus taking a bunch of time.  You'll find that the variable list is recalculated more often than you think.

Instead, create a custom form action with the code to load your variables.  Call this form action once in the form's AFTER START EEP.  Then, in the EEPs that update the image contents either reload the image variables directly, or set the key values that control the loading of the images and then call the aforementioned form action.

This will give you much finer grain control over the function of the form.
--
Larry

Reply via email to