|
-
July 26th, 1999, 08:13 AM
#1
getting Icon property causes form load
In my about box I want to display the same icon that is used for the main formwindow.
Thus, I coded
Sub Form_Load()
picIcon.Icon = frmmain.Icon
End Sub
in the frm module of my about box.
This works, of course, but it causes the main form to load again.
In fact, even printing "?frmmain.icon" in the immediate window causes the form window to be loaded again.
I use VB 6 and SP 2.
Yes, I could load the same Icon into the picture box of my about box, but that's not really what I want, because then I'd have to change the icon twice, whenever I decide to change it.
Any hints?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|