General information
Category:
Forms & Form designer
Thanks for your reply !
I'm going to ask my question again ? make it a bit clearer . . I hope!
I am using a PRG as main; I always try to set-up the same way:
*/disable function keys
*/set exclusive, talk, status, etc.
*/set '_screen' size, color, etc.
*/get some info from environment variables
(I keep data path and workstation ID info here)
*/finally, DO FORM the first form I want the user to see
In my case, let's call the PRG 'StartPRG', the first form 'Form1'.
'Form1' has a command button with this click event, DO FORM 'Form2'.
'Form2' has a command button with this click event, DO FORM 'Form3'.
'Form3' has a grid on it.
When I build an exe, this project works fine.
Here's my problem:
I want to add a new form to the project, 'LaunchPad'. The form 'LaunchPad' has a command button with this click event, DO FORM 'Form1'. I also change the main PRG 'StartPRG' to include DO FORM 'LaunchPad', instead of 'Form1'.
Now when I build an exe, the grid on 'Form3' flashes the data for a moment, then blanks to a white box. ???
I've tried many read events / clear events combinations, still the grid on 'Form3' will not display.
?? any ideas
TIA Jaime
>Hi Jaime...
>
>First off, don't go down the road of toggling your recordsource.....
>
>Instead of making your main form main, why not use a PRG as your main. Something like:
>
>*/ Set up stuff, menu, etc...
>*/ Display the first form
>*/ Read Events - or you can make the first form modal...
>
>Then, when you close the first form - your EXE can bail
>
>It is a bit hard to go further with much else.... Let me know how things go...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only