Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Custom GUI - Group Boxes and More

$
0
0
All, 
I am creating a custom GUI-Form (Used Primal Forms to familiarize myself with language/syntax) to manage separate tasks contained within multiple group boxes, so that I am only dealing with one form. 
(Using the property/method .Visible = $true/false based on file menu selection.) 

EX: {File > Tasks> Task1 <Click>} - Will make all other group boxes 
{Task2GroupBox.Visible = $false 
Task3GroupBox.Visible = $false} and ONLY the {Task1GroupBox.Visible = $True}. The issue with this is for some reason if I do the following : 

(Click and navigate to the file menu task three times) 
{File >Tasks > Task1 <Click>} 
{File >Tasks > Task1 <Click>} 
{File >Tasks > Task1 <Click>} 
Then any function executed within Task1GroupBox will actually perform three times. 

Any info on how to prevent this would be much appreciated.

Viewing all articles
Browse latest Browse all 15028

Trending Articles