|
-
Aug 4th, 2003, 11:35 AM
#1
Thread Starter
Addicted Member
Access another form's control
I'm trying to access another form's panel control but wasn't successful. Here's what I have in form1 under buttonOK sub routin.
Dim myForm as New form2
myForm.showdialog()
myForm.panel1.visible = True
myForm.panel1.BringToFront()
But when form2 shows up, the panel wasn't visible and not bring to front. Will anyone give me a suggestion?
Many thanks in advance!
ljCharlie
Last edited by Chong; Aug 4th, 2003 at 11:40 AM.
-
Aug 4th, 2003, 02:12 PM
#2
Lively Member
What happens when you use show instead of showdialog ?
-
Aug 4th, 2003, 02:14 PM
#3
Thread Starter
Addicted Member
Thanks for the effor. I got it working now. Actually, the showdialog() must be at the very bottom of the execution position.
ljCharlie
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
|