General information
Category:
Forms & Form designer
Alex, I know what you mean, but Nancy might not.
For Nancy's benefit, the initialisation code will run each time the form is instantiated, not 'only when you run the form the first time'.
Alan
>>I haven't created a class yet; I guess this is a good time. If I do it this way, won't this.originaltop with this.top every time the form is refreshed?
>
>Alan's comment is sound advice. The answer is no. The Init() triggers upon form instantiation, not refresh. Therefore, the original, design-time position will be preserved (saved) only when you run the form the first time.
>
>HTH
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