Search found 49 matches

by DrewEaston
Thu Sep 05, 2024 9:24 am
Forum: PowerShell GUIs
Topic: Using the LocationChange event in PowerShell
Replies: 0
Views: 1186

Using the LocationChange event in PowerShell

Hi Everyone, Can anyone point me to or give me an example of the needed logic for the *_LocationChange event for a form itself. I have first tried to have it show me a messagebox to tell me that the form location has changed BUT even moving a few pixels (about 8 or so) fires the event. How to I chec...
by DrewEaston
Wed Aug 21, 2019 2:35 am
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 4237

Re: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

Hi Alex, Good to hear from you again. I only put the $dataTableObject.Count into the Watch panel because I was having this display problem when I was Debugging a script. I was NOT having the problem all the time. I did NOT know that it would cause that problem. Now I know the real cause and I will o...
by DrewEaston
Tue Aug 20, 2019 1:39 pm
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 4237

Re: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

I do hope you can find something.
It is a bummer that even .GetType() causes this to happen.
If that would work without breaking anything then you guys/gals could do something.
I hope you have more tricks up your sleeves. :)
by DrewEaston
Mon Aug 19, 2019 10:34 pm
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 4237

Re: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

Hi Brittney,

OK, are you trying to say that there is nothing SAPIEN can do about this?

If so then this is just informational for those who also experience this effect.
by DrewEaston
Mon Aug 19, 2019 1:00 pm
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 4237

Re: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

For anyone who is wondering what OK looks like and what broken looks like:

This is OK:
DataTable Display is as expected
DataTable Display is as expected
2019.08.19_DataTable_Display_OK.png (49.02 KiB) Viewed 4219 times

This is broken:
DataTable Display broken
DataTable Display broken
2019.08.19_DataTable_Display_Broken.png (33.68 KiB) Viewed 4219 times
by DrewEaston
Mon Aug 19, 2019 11:21 am
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 4237

Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

Product, version and build: PowerShell Studio 2019, 5.6.167 (and earlier versions) 32 or 64 bit version of product: 64bit Operating system: Windows 7 Home Premium and Windows 10 Enterprise 32 or 64 bit OS: both 64bit Hi all, When I first saw this happening I had NO idea what was causing it. Now that...
by DrewEaston
Thu Aug 08, 2019 9:49 am
Forum: PowerShell GUIs
Topic: Formatting cells of a DataGridView best place for the code?
Replies: 12
Views: 5767

Re: Formatting cells of a DataGridView best place for the code?

Hi jvierra,

Thanks again that experience that you are share is the value of GOLD.
I will use that, that a somewhat of a habit coming from VBS I have not programmed in C# and I have not programmed in C since 2002. Mainly java and other languages.
by DrewEaston
Wed Aug 07, 2019 11:04 am
Forum: PowerShell GUIs
Topic: Formatting cells of a DataGridView best place for the code?
Replies: 12
Views: 5767

Re: Formatting cells of a DataGridView best place for the code?

Hi jvierra, SUPER thanks for the help and tips. This will make me a MORE effective programmer with Windows Forms. Using your examples I was able to get the formatting working as I need it. In case others are looking for an example as I was, here is what I build based on your example and the MSDN hel...
by DrewEaston
Wed Jul 17, 2019 1:43 pm
Forum: PowerShell GUIs
Topic: Problem getting the current BackColor of a textbox object
Replies: 17
Views: 8985

Re: Problem getting the current BackColor of a textbox object

Hi Everyone, Thanks for all the info. The reason why I opened this incident was because when I tried the call: $previousBackColor = $textbox1.BackColor in a specific form at work I was getting an error with the assignment and again when I tried to reassign it back. (shame on me I did NOT make a note...
by DrewEaston
Wed Jul 17, 2019 1:11 pm
Forum: PowerShell GUIs
Topic: Problem getting the current BackColor of a textbox object
Replies: 17
Views: 8985

Re: Problem getting the current BackColor of a textbox object

Is it even possible to get windows to give us this value back?