Search found 67 matches

by angelofstealth
Thu Nov 22, 2018 2:41 pm
Forum: PowerShell GUIs
Topic: Updated Client - drag and drop control issue
Replies: 4
Views: 605

Updated Client - drag and drop control issue

Just updated to the latest version.. In my project now if i add a control and try to move it around it snaps back to the original position. But I am able to edit the control and set the position, just not able to drag the control to a position within the GUI. I have checked and the control is not lo...
by angelofstealth
Mon Apr 02, 2018 11:29 am
Forum: Windows PowerShell
Topic: Software - Output Console window
Replies: 3
Views: 1143

Re: Software - Output Console window

Thank you jvierra, I'm all good now.
by angelofstealth
Mon Apr 02, 2018 11:10 am
Forum: Windows PowerShell
Topic: Software - Output Console window
Replies: 3
Views: 1143

Re: Software - Output Console window

Newline works, color doesn't

Example:
Write-Host "`r`nHey..."-ForegroundColor Green
by angelofstealth
Mon Apr 02, 2018 10:47 am
Forum: Windows PowerShell
Topic: Software - Output Console window
Replies: 3
Views: 1143

Software - Output Console window

In Sapien PowerShell Studio, writing a powershell script........

Using Write-Host to display a message to the Output doesn't seem to take background color or newline (`r`n). Is there something I need to enable in the options to allow this? Running in PowerShell ISE has no issues. Thanks,
by angelofstealth
Tue Jan 16, 2018 10:24 am
Forum: PowerShell GUIs
Topic: Combobox - Readonly Property Possible?
Replies: 4
Views: 1101

Re: Combobox - Readonly Property Possible?

figured it out, thanks
by angelofstealth
Tue Jan 16, 2018 9:35 am
Forum: PowerShell GUIs
Topic: Combobox - Readonly Property Possible?
Replies: 4
Views: 1101

Combobox - Readonly Property Possible?

Is it possible to locked down the combobox control to not be editable, ie only readonly like a textbox control? Only want the user to select an item from the dropdown, not allowed to delete the value selected/be null once selected. I didn't see this was an option in the control properties window, wo...
by angelofstealth
Tue Dec 19, 2017 2:46 pm
Forum: PowerShell GUIs
Topic: Multiple Forms - Globals.ps1/$script:/$global:
Replies: 6
Views: 1129

Re: Multiple Forms - Globals.ps1/$script:/$global:

I made the scope change to global.ps1 and at first didn't work for me on the child form. Decided to create a new child form and test again and it worked.
Thanks for the help again jvierra, happy holidays.
by angelofstealth
Tue Dec 19, 2017 12:04 am
Forum: PowerShell GUIs
Topic: Multiple Forms - Globals.ps1/$script:/$global:
Replies: 6
Views: 1129

Re: Multiple Forms - Globals.ps1/$script:/$global:

I have a job-tracker run a routine and in the completedscript section i update the $Childitems with the results, to make sure it is working i show one column of the data to confirm. This is displaying the correct information. I then have a button to load the child form, to test that $Childitems stil...
by angelofstealth
Mon Dec 18, 2017 11:47 pm
Forum: PowerShell GUIs
Topic: Multiple Forms - Globals.ps1/$script:/$global:
Replies: 6
Views: 1129

Re: Multiple Forms - Globals.ps1/$script:/$global:

No problem, will explain further... I declare a variable $Childitems = @() in the globals.ps1 , in the Main form i update $Childitems with values. I know $Childitems is getting updated with the values by using a show messagebox to display the results. I want to be able to click on a child form and t...
by angelofstealth
Mon Dec 18, 2017 9:48 pm
Forum: PowerShell GUIs
Topic: Multiple Forms - Globals.ps1/$script:/$global:
Replies: 6
Views: 1129

Multiple Forms - Globals.ps1/$script:/$global:

I want to be able to access a variable between the main form and child form. 1) if i declare a variable in globals.ps1 and update this variable in the main form i can return the value. If i show the child form and call the value it is empty (using show message box). 2) if i declare a global variable...