I have a form that has two sets of controls. I would like to hide one
set when I start the form one way and another set when call the form
another way. What I would like to do is resize the form to hide the
controls when I call the form (showModal). Unfortunately, wherever I
place the code in my form calling routine I get an access violation.
Can someone suggest the best way to do this?
Here is my code:
If CustomerFlag = True then EmailViewerFrm.Width := 864
else EmailViewerFrm.Width := 700;
I tried calling this from the OnShow Event, the OnCreate Event, and the
OnActivate Event.
Thanks in advance!
Tom Nesler
[Non-text portions of this message have been removed]