Search found 15034 matches

by jvierra
Fri Jan 14, 2022 2:16 pm
Forum: PowerShell GUIs
Topic: Powershell Studio with vCenter 7.0
Replies: 1
Views: 163

Re: Powershell Studio with vCenter 7.0

Sounds like the issue is that something in the threading model of vCenter has changed or has a bug. You need to post your issue to vCenter support first since PowerShell hasn't changed. A PSS script is just a PowerShell script. When it runs it has no relationship to the tool called PSS. To prove tha...
by jvierra
Thu Jan 13, 2022 10:43 pm
Forum: PowerShell GUIs
Topic: Datagridview MultiSelect without shift or CTRL
Replies: 5
Views: 286

Re: Datagridview MultiSelect without shift or CTRL

Here is a quick and dirty example of how to multiselect on a row select.
by jvierra
Thu Jan 13, 2022 10:06 pm
Forum: PowerShell GUIs
Topic: Datagridview MultiSelect without shift or CTRL
Replies: 5
Views: 286

Re: Datagridview MultiSelect without shift or CTRL

According to Microsoft the on-screen keyboard is the correct way to use the shift key to multi-select. Since your request is a non-standard use, I don't have a sample. Just remember the current selection in a script scoped variable and add teh new selection and reset the selected items on each selec...
by jvierra
Tue Jan 11, 2022 6:09 am
Forum: PowerShell GUIs
Topic: datagrid checkbox column
Replies: 1
Views: 285

Re: datagrid checkbox column

Here is a simple discussion that will give you an idea of how a DGV and checkbox column work and are used in code.

https://stackoverflow.com/questions/156 ... d/20981647
by jvierra
Sun Jan 09, 2022 6:45 pm
Forum: PowerShell GUIs
Topic: GUI components misplace on different PCs
Replies: 1
Views: 92

Re: GUI components misplace on different PCs

For PowerShell Studio issues please post in the PowerShell Studio customer forum. This forum is for general PowerShell WinForms issues.
by jvierra
Sat Jan 08, 2022 4:20 pm
Forum: PowerShell GUIs
Topic: Checked Items in ListBox lost after filtering
Replies: 6
Views: 536

Re: Checked Items in ListBox lost after filtering

Your issue is becoming ever vaguer and more confusing. Perhaps English is not your first language or maybe it is just typos. A field in the DataSource for a checkbox must be a Boolean. The field must also be specified as a bound DataFieldName. It is almost never useful to use "global" vari...
by jvierra
Thu Jan 06, 2022 8:17 pm
Forum: PowerShell GUIs
Topic: Display process output in real time inside TextBox for WPF
Replies: 3
Views: 403

Re: Display process output in real time inside TextBox for WPF

I can move anything, and it still works fine. Perhaps you have context related issues.
by jvierra
Tue Jan 04, 2022 11:49 am
Forum: PowerShell GUIs
Topic: Checked Items in ListBox lost after filtering
Replies: 6
Views: 536

Re: Checked Items in ListBox lost after filtering

You cannot lose data by filtering. You can only set or clear a filter. If you reassign a DataSource then you will clear all previous settings on the control to the current data source. If you want to keep the checks then you have to bind them to a binary field on the data source.