Order of Events

Order of Events in Paradox Forms topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: Order of   Order of Events  
Most Recent Post
rum
Frankfort, KY USA

I need help (in many ways).  Does anyone understand the form event model  or see an error in the process below (which I have been using for 10 years)

What is the best method for opening a form to a specific record?

Currently,  on my menu, I have a tablegrid which lists hundreds of records.  The user can double-click any record to edit that record.

When that happens,  I perform the following steps

  1. Open the edit form
  2. attach a UIObject variable to the form
    1. Create a dynArray filter which has criteria to filter the specific record
    2. Apply the  dynArray to the UI object using SetGenFilter

3. set a few varaibles on the form

4. form is now open to the correct record.

My problem occurrs between step 1 & 2.  When Step 1 completes all of the events on the form and fields on the form fire. And Quite honestly,  I dont understand why the SETFOCUS or ARRIVE event of a field would fire until you actually setfocus or arrive at the field.

I must be missing something SO obvious!!!!!

About rum
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Member pending approval.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17934, No Replies Be the first!
Thread Started 3/3/2020 9:46:22 AM
View Counter=496
Location=Frankfort, KY USA 
Joined=6/12/2017   MB Posts=128  
www.prestwood.com For service: 916-726-5675
or support@prestwood.com
Copyright (C) Prestwood IT Solutions.
All Rights Reserved.
Printed 2/10/2026