Search found 112 matches

by jsira2003@yahoo.com
Tue Jul 09, 2019 3:03 pm
Forum: PowerShell GUIs
Topic: uncheck a check with a command and not trigger an event
Replies: 5
Views: 269

Re: uncheck a check with a command and not trigger an event

$checkboxSelectedProgram.Enabled = $false
#change the state undetected since checkbox is disabled.
$checkboxSelectedProgram.Checked = $false
$checkboxSelectedProgram.refresh()
$checkboxSelectedProgram.Enabled = $true

This is the answer. I figured out it should be something simple like this.

John
by jsira2003@yahoo.com
Tue Jul 09, 2019 11:45 am
Forum: PowerShell GUIs
Topic: uncheck a check with a command and not trigger an event
Replies: 5
Views: 269

Re: uncheck a check with a command and not trigger an event

When you click on a check box on a windows form that is an event. There are times when I want to change the state of the checkbox to unchecked without triggering an event. This seems straight forward. I found that by applying the command $checkboxselectedprogram.checked = $false , this triggers an u...
by jsira2003@yahoo.com
Tue Jul 09, 2019 11:02 am
Forum: PowerShell GUIs
Topic: uncheck a check with a command and not trigger an event
Replies: 5
Views: 269

uncheck a check with a command and not trigger an event

In my application different things happen when you check or uncheck a checkbox. However when initializing the checkbox, it also triggers the event. I would like to disable the triggering of the event at a point in time when i reset the state of the checkbox. I guess I am asking how to i disable and ...
by jsira2003@yahoo.com
Wed Jun 05, 2019 6:22 am
Forum: Windows PowerShell
Topic: powershell core 6.x
Replies: 5
Views: 988

Re: powershell core 6.x

I appreciate your reply and illustration. Based on your last statement regarding windows forms, that sounds like I lose my ability create forms in powershell studio. I need to be able to create a mousable gui. What will replace the functionally of windows forms? Or will powershell studio going forwa...
by jsira2003@yahoo.com
Tue Jun 04, 2019 1:43 pm
Forum: Windows PowerShell
Topic: powershell core 6.x
Replies: 5
Views: 988

powershell core 6.x

I was interest to know about powershell studio in respect to powershell core 6.x. Does the powershell studio support this yet? If not what are the prospects for the future.

thank you,
John
by jsira2003@yahoo.com
Mon Jun 03, 2019 8:05 pm
Forum: PowerShell GUIs
Topic: formatting the size text in datagridview
Replies: 6
Views: 289

Re: formatting the size text in datagridview

i used the cellstyle builder and it works fine. However when you save your program and re-open it, the cellstyle builder defaults back to the 14 point setting and I lose the font size I put in. In my view the cell style builder should maintain the font size I defined and I should not have to reset i...
by jsira2003@yahoo.com
Mon Jun 03, 2019 1:16 pm
Forum: PowerShell GUIs
Topic: formatting the size text in datagridview
Replies: 6
Views: 289

Re: formatting the size text in datagridview

and if I don't use the designer and want a text command is it something like this?:

datagridviewtable.defaultcellstyle.font.size = "12"

thanks,
John
by jsira2003@yahoo.com
Mon Jun 03, 2019 10:58 am
Forum: PowerShell GUIs
Topic: formatting the size text in datagridview
Replies: 6
Views: 289

formatting the size text in datagridview

I was looking for the text sizing option control in datagridview. I could not find one. Is this possible? If so how?

thanks,
John
by jsira2003@yahoo.com
Wed May 22, 2019 6:43 am
Forum: PowerShell GUIs
Topic: a magnification slider toolbox item
Replies: 1
Views: 107

a magnification slider toolbox item

I don't have the opportunity to check now but figured I'd ask you guys. I am interested in a magnification toolbox control or executable that has a slider. I tried the magify.exe in windows 10 and it has no slider. I'll use it if I have too! Is there any such tool in powershell studio where I can ma...
by jsira2003@yahoo.com
Sun May 12, 2019 4:36 pm
Forum: Windows PowerShell
Topic: (c) symbol in a form
Replies: 7
Views: 904

Re: (c) symbol in a form

the symbol displays correctly on the form in the powershell studio editor. After it is compiled you get the caret A combo. I just recompiled a package with the newest ps studio and this is now occurring on all my packages. It does not make sense to show up properly in ps studio but not when the .exe...