On 13 Oct 96 Christopher di Armani said to Stephen Whitis...
SW> The problem is that the only event I know which will run when the
SW> app starts, is the FormCreate event. However, when that event
SW> runs, the OptionsDlg hasn't yet been created, so trying to modify
SW> anything based on it (or stored in it) causes a GPF.
Cd> You've also got the ONSHOW event, which seems like a better place for
Cd> that. Give that a shot...
Remember that unlike ONCREATE, ONSHOW may run more than once. So I think
you have to put in a typed constant to keep track of whether this is the
first call to ONSHOW. Thereafter, bypass the "first-time" code.
--- PPoint 2.00
---------------
* Origin: Kingston, Canada (1:249/109.11)
|