Search found 194 matches
- Fri Mar 17, 2023 8:54 am
- Forum: PowerShell GUIs
- Topic: Using DateTimePicker value with StartJob button
- Replies: 2
- Views: 1784
Using DateTimePicker value with StartJob button
My form has a Start-Job button to call an API If I statically set the date within the job, everything works as expected "Attribute": "Timestamp", "Operator": ">=", "Value": "$((Get-Date).AddDays(-1).ToString('yyyy-MM-ddT00:00:00.0000Z'))" W...
- Thu Mar 17, 2022 4:45 pm
- Forum: PowerShell GUIs
- Topic: Invoke $datagridview1_CellClick
- Replies: 17
- Views: 2257
Re: Invoke $datagridview1_CellClick
I got it working. I know it’s not best design practices so will allow the users if they want to search as normal, or one the OneClick solution.
Thanks J
Thanks J
- Wed Mar 16, 2022 9:45 am
- Forum: PowerShell GUIs
- Topic: Invoke $datagridview1_CellClick
- Replies: 17
- Views: 2257
Re: Invoke $datagridview1_CellClick
That also didn’t work
Clearly even my experiment isn’t meant to be. Thanks friend.
Clearly even my experiment isn’t meant to be. Thanks friend.
- Tue Mar 15, 2022 9:21 am
- Forum: PowerShell GUIs
- Topic: Invoke $datagridview1_CellClick
- Replies: 17
- Views: 2257
Re: Invoke $datagridview1_CellClick
ERROR: Cannot find an overload for "invoke" and the argument count: "0". MainForm.psf (327, 3): ERROR: At Line: 327 char: 3 ERROR: + $datagridview1_CellClick.invoke() ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR: + CategoryInfo : NotSpecified: (:) [], MethodException ERROR: +...
- Mon Mar 14, 2022 8:31 am
- Forum: PowerShell GUIs
- Topic: Invoke $datagridview1_CellClick
- Replies: 17
- Views: 2257
Re: Invoke $datagridview1_CellClick
Hi, this doesn't appear to be a method of the [System.Windows.Forms.DataGridViewCellMouseEventHandler]
- Sun Mar 13, 2022 5:14 pm
- Forum: PowerShell GUIs
- Topic: Invoke $datagridview1_CellClick
- Replies: 17
- Views: 2257
Re: Invoke $datagridview1_CellClick
This is a valid point that I didn’t consider because we don’t use the combo box that way. We always search last name or scan a QR code. Even if there is an accidental click, the code only takes 2 seconds to execute I’m only adding wanting to add one more click event. I’m in no way dismissing your ca...
- Sun Mar 13, 2022 12:13 pm
- Forum: PowerShell GUIs
- Topic: Invoke $datagridview1_CellClick
- Replies: 17
- Views: 2257
Re: Invoke $datagridview1_CellClick
Hi, kinda
If there is only one row, programmatically script the click of the cell
If there are more, ignore
I’m thinking if ($datagridview1.row.count -eq 1){$datagridview1.add_click($datagridview1.selectedrow[1])}
That doesn’t seem to work
If there is only one row, programmatically script the click of the cell
If there are more, ignore
I’m thinking if ($datagridview1.row.count -eq 1){$datagridview1.add_click($datagridview1.selectedrow[1])}
That doesn’t seem to work
- Sun Mar 13, 2022 9:49 am
- Forum: PowerShell GUIs
- Topic: Invoke $datagridview1_CellClick
- Replies: 17
- Views: 2257
Invoke $datagridview1_CellClick
I have a form which utilizes a combobox, a datagridview a textbox The combobox are names, the datagridview displays a collection of their PCs and I have an associated $datagridview1_CellClick event that does some things and returns the results to my textbox. I have an idea to save a mouse click if t...
- Fri Aug 13, 2021 3:06 pm
- Forum: PowerShell GUIs
- Topic: Tooltip on Cell in DGV
- Replies: 5
- Views: 5056
Re: Tooltip on Cell in DGV
Thank you, I don't have this implemented quite yet but you gave me the blocks and really appreciate the two other files.
- Fri Aug 06, 2021 5:14 pm
- Forum: PowerShell GUIs
- Topic: Tooltip on Cell in DGV
- Replies: 5
- Views: 5056
Re: Tooltip on Cell in DGV
This statement is incorrect For example, I have a CSV with PCs,ModelTypes and PC Numbers It’s ModelTypes, Total counts, PCs of each type Sorry Thanks for the example, that’s the article that’s over my head :? I know it’s a rare ask, I have another ask specific to you Do you still have these files fr...