I.T. Discussion Community!
-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
-Collapse +Expand Paradox To/From
To/FromCODEGuides
-Collapse +Expand Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

January Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCorel Paradox / ObjectPAL Coding BoardParadox Forms Topic   Print This     

Forms Event Model Confusion

Forms Event Model Confusion in Paradox Forms topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: Confusion   Forms Event   Forms Event Model  
rum
Frankfort, KY USA

I have never found just the right combination of events for the following situation.

In the following argument.....

"C:\Program Files (x86)\Paradox\Programs\pdxwin32.exe" -c -q -pE:\OutsourceWork\V11\priv -wE:\OutsourceWork\V11 _stub.fsl

Paradox will launch and display the _stub.fsl   form (no problem)

When the form opens I want specific code to run AFTER the form is fully displayed.

Two question

1.  How do I WAIT until the form is fully displayed

2. What event should I put the code in?

My current problem is that there are 5-10 function calls that take place, each displaying results in a list on the screen.  And regardless of how many SLEEP() I put in the thing it will not display the form until about  halfway through the code execution. Sometimes only flickering onto the screen briefly before closing.

Many thanks!

 Posted 5 months ago (Thread Starter)
Comment Quote
About rum -Collapse +Expand
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 #17625, 5 replies
Thread Started 8/1/2019 1:51:33 PM
View Counter=112
Last Reply Posted 8/2/2019 1:59:08 PM)
Location=Frankfort, KY USA 
Joined=31 months ago   MB Posts=100  
Moderator
Steven.G
Myrtle Beach, SC USA

init, obviously not.. arrive or open, should work, unless I'm missing the boat here

hey, do you have p7 loaded and/or an open p7 manual?

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 5 months ago
Comment Quote
About Steven.G -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #17626 (Level 2) and Parent is 17625
Reply Posted 8/1/2019 2:03:04 PM
Location=Myrtle Beach, SC USA 
Joined=40 months ago   MB Posts=333  
rum
Frankfort, KY USA

Sorry, I do not have P7 manual or otherwise.

 Posted 5 months ago (Thread Starter)
Comment Quote
About rum -Collapse +Expand
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 #17628 (Level 3) and Parent is 17625
Reply Posted 8/2/2019 7:41:32 AM
Location=Frankfort, KY USA 
Joined=31 months ago   MB Posts=100  
Moderator
Steven.G
Myrtle Beach, SC USA

I found somebody who did, thanks

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 5 months ago
Comment Quote
About Steven.G -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #17629 (Level 4) and Parent is 17625
Reply Posted 8/2/2019 8:04:11 AM
Location=Myrtle Beach, SC USA 
Joined=40 months ago   MB Posts=333  
rum
Frankfort, KY USA

The issue was caused by the form property DialogForm and Dialog Frame both equal true.   In that situation the form would not display until the code execution completed.

When set to False,  the form displays, then processes the status and database updates as expected.

Thanks

 Posted 5 months ago (Thread Starter)
Comment Quote
About rum -Collapse +Expand
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 #17630 (Level 5) and Parent is 17625
Reply Posted 8/2/2019 11:46:55 AM
Location=Frankfort, KY USA 
Joined=31 months ago   MB Posts=100  
Most Recent Post
Moderator
Steven.G
Myrtle Beach, SC USA

geez, that was a long-shot.. no wonder it took so long to figure it out.. wow !!

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 5 months ago
Comment Quote
About Steven.G -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #17631 (Level 6) and Parent is 17625
Reply Posted 8/2/2019 1:58:33 PM
Location=Myrtle Beach, SC USA 
Joined=40 months ago   MB Posts=333  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1187A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #17625 Counter
112
Since 8/1/2019

Follow PrestwoodBoards on: 


©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech