Search found 34 matches

by derhoeppi
Fri Jan 04, 2019 6:00 am
Forum: PowerShell GUIs
Topic: Combobobox SelectedIndexChanged does not work correct
Replies: 2
Views: 292

Re: Combobobox SelectedIndexChanged does not work correct

Okay i find out that i have to use the TextUpdate event. Is it possible to insert a delay for that action, so i have a change to type in more than one character?
by derhoeppi
Fri Jan 04, 2019 5:17 am
Forum: PowerShell GUIs
Topic: Combobobox SelectedIndexChanged does not work correct
Replies: 2
Views: 292

Combobobox SelectedIndexChanged does not work correct

I'm using a combox as droptdown element to show the user some possible values. The user is able to write a new value into the combobox. One action of the combobox is to trigger something after the index of the selected combobox has changed. My problem is, that the event is triggered if i change the ...
by derhoeppi
Mon Dec 10, 2018 11:24 pm
Forum: PowerShell Studio
Topic: View functions and events collapsed at project startup
Replies: 2
Views: 1006

Re: View functions and events collapsed at project startup

Hi,

thanks for your response. It's very useful for a lot of events and functions.
by derhoeppi
Mon Dec 10, 2018 2:01 am
Forum: PowerShell Studio
Topic: View functions and events collapsed at project startup
Replies: 2
Views: 1006

View functions and events collapsed at project startup

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: Powershell Studio ...
by derhoeppi
Sun Nov 11, 2018 11:53 am
Forum: PowerShell GUIs
Topic: Datagridview datasource
Replies: 19
Views: 1684

Re: Datagridview datasource

Hi,

this file is internal linked to a New-PersonForm.ps1. After them it will create a new row but i want to update an existing row.
by derhoeppi
Sun Nov 11, 2018 11:41 am
Forum: PowerShell GUIs
Topic: Datagridview datasource
Replies: 19
Views: 1684

Re: Datagridview datasource

Hi, maybe it's difficult to understand what i mean but i created a little part of my project. If i click on the edit button then i get the values of the selected row in the datagridview. No i want to Change the permission role and write them back to the datagridview / datatable as source. Later i wa...
by derhoeppi
Sun Nov 11, 2018 9:34 am
Forum: PowerShell GUIs
Topic: Datagridview datasource
Replies: 19
Views: 1684

Re: Datagridview datasource

Hi, i don't no what you mean. I have a datatable as datasource of the datagridview. When the project starts is it emtpy. I have several textboxes /comboboxes which values would be add new rows. If i add a new row to the datatable i can see that the datagridview update the new entry. Now i want to ed...
by derhoeppi
Sun Nov 11, 2018 8:43 am
Forum: PowerShell GUIs
Topic: Datagridview datasource
Replies: 19
Views: 1684

Re: Datagridview datasource

Hi, i tried to use the select method to update a value. But it says, that the value of the textbox is not a column name. Here is what i'm doing: #Initialize datatable $dtProjectUser = New-Object System.Data.DataTable $dtProjectUser.Columns.Add('Given Name', [string]) $dtProjectUser.Columns.Add('Surn...
by derhoeppi
Sun Nov 11, 2018 4:32 am
Forum: PowerShell GUIs
Topic: Datagridview datasource
Replies: 19
Views: 1684

Re: Datagridview datasource

Hi jvierra, is it possible to create some "hidden" columns in a datatable, so the datagridview doesn't show all columns? My second question belongs to edit the datagridview rows. In my project is set the datagridview in read only mode. A button reads out the selected row from the datagridview and pu...
by derhoeppi
Fri Nov 09, 2018 11:17 am
Forum: PowerShell GUIs
Topic: Datagridview datasource
Replies: 19
Views: 1684

Re: Datagridview datasource

Hi jvierra,

thanks for this example. I will test it with a datatable. Does the datagridview automatical updated when the datatable get or lost a row?