INTERACT FORUM

Windows => Plug-in Development => Topic started by: SBrandsborg aka Mouseman on September 27, 2003, 04:42:56 am

Title: little problem "call command" (vb)
Post by: SBrandsborg aka Mouseman on September 27, 2003, 04:42:56 am
why cant i use this command to make a new window come?
Code: [Select]

Private Sub Command1_Click()
Call Form1.Show
End Sub

does anyone know what i need to make a new window?

hehe im a little new at this mc coding :P

Title: Re: little problem "call command" (vb)
Post by: SBrandsborg aka Mouseman on September 27, 2003, 04:54:36 am
never mind i forgot to make
Code: [Select]

Private Sub Command1_Click()
   Form1.Show vbModal, Me
End Sub
Title: Re: little problem "call command" (vb)
Post by: KingSparta on September 27, 2003, 04:55:40 am
Private Sub Command1_Click()
   Form1.Show vbModal
End Sub
Title: Re: little problem "call command" (vb)
Post by: KingSparta on September 27, 2003, 04:56:33 am
well i see you fingered it out as i was typing the answer.