ahhh, just read the link and it looks like I need something like;
$dataGridView1.ColumnHeadersDefaultCellStyle.SelectionBackColor = $dataGridView1.ColumnHeadersDefaultCellStyle.BackColor;
I'll play with that once I have a fix to my packaging problem
Search found 161 matches
- Tue Nov 16, 2021 1:23 pm
- Forum: PowerShell GUIs
- Topic: dgv cell click setting column header selection state
- Replies: 11
- Views: 2106
- Tue Nov 16, 2021 1:17 pm
- Forum: PowerShell GUIs
- Topic: dgv cell click setting column header selection state
- Replies: 11
- Views: 2106
Re: dgv cell click setting column header selection state
Thanks Alexander. I have just upgraded PSS and now cant build a package (another post support ticket opened on that one). So I was going to try the config update to just test that it worked. The only problem with this option (if it works) is that for all my UI packages I uncheck the build of config ...
- Tue Nov 16, 2021 1:07 pm
- Forum: PowerShell Studio
- Topic: After upgrading to 5.8.196 unable to build package psf
- Replies: 4
- Views: 4104
After upgrading to 5.8.196 unable to build package psf
Product: PowerShell Studio 2021 (64 Bit) Build: v5.8.196 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.19043.0 When I attempt to build the attached package, PSS hangs. The cause is the SETTINGS BUILD COMMAND (cnwpackage.exe, script attached). If I remove this then the PSF package process completes...
- Wed Nov 10, 2021 3:33 pm
- Forum: PowerShell GUIs
- Topic: dgv cell click setting column header selection state
- Replies: 11
- Views: 2106
Re: dgv cell click setting column header selection state
The properties and events I have changed are pretty basic but I cant set them to default as then I lose the beaviour that I want so seems a bit pointless. Properties are; Properties.jpg The only additional event on dgv is the below to set the CB on a row mouse click; $datagridview1_CellMouseClick=[S...
- Wed Nov 10, 2021 2:29 pm
- Forum: PowerShell GUIs
- Topic: dgv cell click setting column header selection state
- Replies: 11
- Views: 2106
dgv cell click setting column header selection state
Product: PowerShell Studio 2021 (64 Bit) Build: v5.8.195 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.19043.0 I have a CellMouseClick event bound to my datagridview so that when I click on any cell the row cell checkbox will be selected\deselected. This works fine during a run through the PSS IDE...
- Tue Oct 19, 2021 1:44 pm
- Forum: PowerShell Studio
- Topic: Installation issue for v195
- Replies: 2
- Views: 5722
Re: Installation issue for v195
Interesting, tried again yesterday and work as expected. Cheers
- Tue Oct 12, 2021 8:09 pm
- Forum: PowerShell Studio
- Topic: Installation issue for v195
- Replies: 2
- Views: 5722
Installation issue for v195
Product: PowerShell Studio 2021 (64 Bit) Build: v5.8.194 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.19043.0 I see there have been a couple of 195 installation problems and only posting this as it may help. I also tried to install and closed PSS during the install so nothing should have been in ...
- Tue May 18, 2021 9:20 pm
- Forum: PowerShell Studio
- Topic: Mainform title
- Replies: 2
- Views: 5826
Mainform title
Product: PowerShell Studio 2021 (64 Bit) Build: v5.8.188 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.19042.0 When creating a new form the MainForm, the name defaults to the title assignment as it does for other controls. We have a standard to assign a specific format to the main form title, whic...
- Mon Mar 01, 2021 11:59 am
- Forum: PowerShell Studio
- Topic: unresponsive PSS
- Replies: 4
- Views: 4028
Re: unresponsive PSS
Have downloaded latest, will keep an eye out
- Sun Feb 28, 2021 8:51 pm
- Forum: PowerShell Studio
- Topic: unresponsive PSS
- Replies: 4
- Views: 4028
Re: unresponsive PSS
Let me know if you would like a process dump when it is in its frozen state and I'll try this next time it occurs.