G
Guest
I'm using VB 6.
I have a main form and a second form that is minimized and then accessed
repeatedly by clicking on the taskbar and then being minimized.
I have a checkbox on my main form that's supposed to allow the minimized
form to be restored to the screen after a certain command button is clicked.
I want to program an if statement in my main form in the command button's
code that checks if a checkbox on my main form is checked after a command
button on the main form is clicked, and then restores the minized second
form to the screen.
I made an if statement in the command button code:
if chk3ptm.value=true then schart.show
This worked if the second form had not yet been displayed and was being
displayed for the first time. But after the form had been minimized to the
taskbar, this code would not bring the second form back to the screen when
the command button on the main form with the code to show the second form was
clicked again.
How do I get the second form to display from the taskbar whenever the
command button on the main form with the .show method code in it is clicked?
I have a main form and a second form that is minimized and then accessed
repeatedly by clicking on the taskbar and then being minimized.
I have a checkbox on my main form that's supposed to allow the minimized
form to be restored to the screen after a certain command button is clicked.
I want to program an if statement in my main form in the command button's
code that checks if a checkbox on my main form is checked after a command
button on the main form is clicked, and then restores the minized second
form to the screen.
I made an if statement in the command button code:
if chk3ptm.value=true then schart.show
This worked if the second form had not yet been displayed and was being
displayed for the first time. But after the form had been minimized to the
taskbar, this code would not bring the second form back to the screen when
the command button on the main form with the code to show the second form was
clicked again.
How do I get the second form to display from the taskbar whenever the
command button on the main form with the .show method code in it is clicked?