Search found 5 matches

by ShengPAN
Wed Aug 31, 2022 5:01 am
Forum: PowerShell GUIs
Topic: The label object with the event “click” does not passthrough the current form value while button objects do
Replies: 7
Views: 1672

Re: The label object with the event “click” does not passthrough the current form value while button objects do

I found the solution. My circumstances seem to be by design like this, in windows forms that the label and button works like I described in my problem. I realized that the button object does not require the validation of the changes made in datagridview -> checkbox and label does. I used the “Commit...
by ShengPAN
Thu Aug 18, 2022 6:42 am
Forum: PowerShell GUIs
Topic: The label object with the event “click” does not passthrough the current form value while button objects do
Replies: 7
Views: 1672

Re: The label object with the event “click” does not passthrough the current form value while button objects do

Both objects, the button and the labe use the event "click". When clicking the button the value passes through the current value of that checkbox. 3.png 1. I uncheck the checkbox 2. I click the button 3. Debugconsole to show the current value that goes through the event to update the Resul...
by ShengPAN
Thu Aug 18, 2022 6:37 am
Forum: PowerShell GUIs
Topic: The label object with the event “click” does not passthrough the current form value while button objects do
Replies: 7
Views: 1672

Re: The label object with the event “click” does not passthrough the current form value while button objects do

I split the example in to 2 replies because I can only attach 3 files at the same time. So, I recreated the scenario in a simpler form. With 1 form and 4 toolbox objects. - 1 click label - 1 button - 1 label to show the result - 1 datagridview with checkboxes Screenshot 1 1.png 1. I checked the chec...
by ShengPAN
Fri Aug 12, 2022 6:11 am
Forum: PowerShell GUIs
Topic: The label object with the event “click” does not passthrough the current form value while button objects do
Replies: 7
Views: 1672

The label object with the event “click” does not passthrough the current form value while button objects do

This is my firs t post no clue if this is the correct way of doing this. But I think there might be a bug on how the form stocks its values or how it passes it during an event. The label object with the event “click” does not passthrough the current form value while button objects do. Symptoms: -if ...