Question[Help]HideForm as Setting[Solved]

Posts 1–6 of 6 · Page 1 of 1
[Help]HideForm as Setting[Solved]
Hey how would i do this

Form 2 shows when my app starts, but i want a checkbox saying "Dont show again" or what ev. and when its checked, form2 will not show again.

how would i do this?


Depends on where the option is, and which starts, I assume form2 is main

and option is on form1

in which case.

In form load

[php]
If form1.checkbox1.check = true
me.hide
me.dispose
end if
[/php]



Quote Originally Posted by NextGen1 View Post


Depends on where the option is, and which starts, I assume form2 is main

and option is on form1

in which case.

In form load

[php]
If form1.checkbox1.check = true
me.hide
me.dispose
end if
[/php]



What about using settings, so it stays that way D:
No, i have form2 starting first then goes to form1. how would that code work.

The checkbox will be on form2 and when it is checked then user clicks button1 it goes to form1, then there is also an option that form 2 will not show again
Quote Originally Posted by zmansquared View Post
No, i have form2 starting first then goes to form1. how would that code work.

The checkbox will be on form2 and when it is checked then user clicks button1 it goes to form1, then there is also an option that form 2 will not show again
Concept is the same

Essentially which ever form loads, checks the CheckedBox on which ever form it is on and hides form2 and disposes it from memory (proper cleanup
if the checkbox is checked
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us