Thanks Brittney!
I figured it was out of our direct control but that's a great little work around.
Really appreciate the feedback
Search found 21 matches
- Tue Oct 24, 2023 10:29 am
- Forum: PowerShell GUIs
- Topic: Disabled button forecolor override
- Replies: 2
- Views: 2174
- Tue Oct 17, 2023 1:56 pm
- Forum: PowerShell GUIs
- Topic: Disabled button forecolor override
- Replies: 2
- Views: 2174
Disabled button forecolor override
Is there a way to override the text forecolor in a disabled form button? When I'm in dark mode, the disabled color is black on less black. I find the code below makes no difference to disabled controls. $button.enabled = $false $button.ForeColor = 'Red' edit -I mentioned that I was in dark mode but,...
- Thu Aug 20, 2020 3:19 pm
- Forum: PowerShell GUIs
- Topic: Form Closes on OK
- Replies: 10
- Views: 3609
Re: Form Closes on OK
heh... RTFM.
Fair enough and thanks again for the help!
Fair enough and thanks again for the help!
- Thu Aug 20, 2020 3:15 pm
- Forum: PowerShell GUIs
- Topic: Form Closes on OK
- Replies: 10
- Views: 3609
Re: Form Closes on OK
Indeed, changing it to 'none' stopped the behavior. Thanks! But honestly I don't get what that property does in this case. Any quick pointers?
- Thu Aug 20, 2020 3:12 pm
- Forum: PowerShell GUIs
- Topic: Form Closes on OK
- Replies: 10
- Views: 3609
Re: Form Closes on OK
Thank you...
So on the ok button properties, "Dialogresult" is set to "OK"
That would make the form close?
So on the ok button properties, "Dialogresult" is set to "OK"
That would make the form close?
- Thu Aug 20, 2020 3:01 pm
- Forum: PowerShell GUIs
- Topic: Form Closes on OK
- Replies: 10
- Views: 3609
Form Closes on OK
So, I feel quite silly asking but, I have no idea why when I hit OK button the form is closing.... below I added a 20 second delay at which point, the form closes. On the properties of the form itself, the properties are like: AcceptButton : none CancelButton : buttonCancel I would expect that the f...
- Tue Mar 05, 2019 2:13 pm
- Forum: PowerShell ModuleManager
- Topic: I don't see how to add a module
- Replies: 13
- Views: 26702
Re: I don't see how to add a module
I guess I assumed they work together. I'm not getting module cmdlets to show up in studio so I figured that's what the manager was for. I'll post over there
- Mon Mar 04, 2019 2:47 pm
- Forum: PowerShell ModuleManager
- Topic: I don't see how to add a module
- Replies: 13
- Views: 26702
Re: I don't see how to add a module
Arg I didn't see your reply on page 2. Enabling system kinda helped... but I still don't see it. If I'm in the powershell ISE, I can load the module: Import-Module 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager\ConfigurationManager.psd1' Works fine -aut...
- Tue Feb 26, 2019 2:40 pm
- Forum: PowerShell ModuleManager
- Topic: I don't see how to add a module
- Replies: 13
- Views: 26702
Re: I don't see how to add a module
Nope :/ Wish I had a better idea how the application is getting the list it has.... SQLServer is in there.. not sure where is came from but I think it must have installed with SSMS The module I want is loading as part of my profile now -but it's not listed BUT what is NOT in there: Active Directory ...
- Fri Feb 22, 2019 12:23 pm
- Forum: PowerShell ModuleManager
- Topic: I don't see how to add a module
- Replies: 13
- Views: 26702
Re: I don't see how to add a module
So if I understand, it's less "installing" as "enabling installed" Here's my issue: I have the SCCM client installed on my machine. That puts the SCCM module on the machine as well here: C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager\...