Luis Marques Posted April 19, 2009 at 03:05 PM Report #257624 Posted April 19, 2009 at 03:05 PM Boas, é assim pessoal... eu tenho numa form de menu inicial , uma checkbox... e quero fazer o seguinte, se a checkbox tiver checked, ao abrir a por exemplo a form 3, abrir tambem a form 22. codigo: If Form1.CheckBox1.CheckState = CheckState.Checked Then Form22.Show() Form22.Label4.Enabled = False Form22.Label5.Enabled = False Form22.Label6.Enabled = False End If eu coloquei o IF no load da form 3, para mal que abrisse a form 3, se a checkbox que está na form1 tiver checker, abrir logo a form 22. No entanto está a fazer mal, passo pela form3, quando retrocedo a form1, a form 22 abre, ou seja está a abrir na form 1 e nao na form3 como eu queria. Alguem me pode ajudar. LM
jpaulino Posted April 19, 2009 at 04:22 PM Report #257631 Posted April 19, 2009 at 04:22 PM Já está ?
Luis Marques Posted April 19, 2009 at 04:46 PM Author Report #257648 Posted April 19, 2009 at 04:46 PM Já, era um conflito entre 2 forms por estarem as 2 em topmost, e eu verificava tudo menos isso. LM
jpaulino Posted April 19, 2009 at 04:48 PM Report #257649 Posted April 19, 2009 at 04:48 PM Ainda bem 😄
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now