TIP: Click on subject to list as thread! ANSI
echo: delphi
to: CHRISTOPHER DI ARMANI
from: BRYAN SMITH
date: 1996-10-15 17:18:00
subject: When To Read .Ini Files?

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.