Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

True or false. If false, the program execution returns to the calling procedure. If true, the event processing goes to the next level.

See also

Dict_DependCalculate()Braces Operator {}

Recalculating All Controls

 

Code Block
/* code to recalculate all controls on a form, using the CTRLMAP property.
After all controls are known, loop through and send the CALCULATE event
to all the controls. */
 
declare subroutine send_event
window_controls = @@window->ctrlmap
window_controls_count = count(window_controls, @fm) + (window_controls # '')
for i = 1 to window_controls_count
   send_event(window_controls<i>, "CALCULATE")
next i

 

...

Recalculating a Data Bound Control Based on a Change in an Edit Table

...

Code Block
Stat = Send_Event( DataBoundControlName, "CALCULATE" )

...

Remarks

Occurs after a LOSTFOCUS event or POSCHANGED event (for an edit table). The CALCULATE event occurs when there is a relationship between two controls (or columns, in an edit table) based on a primary table. The CALCULATE event will only occur if there is a control that is based on a calculated field which is dependent on the control that is losing focus.