Search found 20 matches

by JaimeBou
Tue Mar 31, 2020 7:31 am
Forum: PowerShell GUIs
Topic: checkedlistbox itemHeight
Replies: 6
Views: 431

Re: checkedlistbox itemHeight

Got it.

Thank you sir.
by JaimeBou
Tue Mar 31, 2020 7:23 am
Forum: PowerShell GUIs
Topic: checkedlistbox itemHeight
Replies: 6
Views: 431

Re: checkedlistbox itemHeight

Thank you for your suggestion.
Although it may be the only option, it's really not a good one.
It would save a lot of time if you have a suggested font with more spacing.
As it stands, I would have to go through the list of each font and see if the spacing would work.

Thanks again.
by JaimeBou
Tue Mar 31, 2020 7:09 am
Forum: PowerShell GUIs
Topic: checkedlistbox itemHeight
Replies: 6
Views: 431

Re: checkedlistbox itemHeight

I have several items in the checkedlistbox and would like to change the vertical spacing between the items.
by JaimeBou
Tue Mar 31, 2020 6:14 am
Forum: PowerShell GUIs
Topic: checkedlistbox itemHeight
Replies: 6
Views: 431

checkedlistbox itemHeight

I am using a checkedlistbox and would like to space out the items and seemingly can't make it work. I did some reading and from what I found this should have worked: $checkedlistboxHM_DC1.DrawMode = 'OwnerDrawVariable' $checkedlistboxHM_DC1.ItemHeight = 40 It's not working and I can't seem find anyt...
by JaimeBou
Wed Feb 12, 2020 9:27 am
Forum: PowerShell GUIs
Topic: WebBrowser Control
Replies: 1
Views: 1062

WebBrowser Control

I have a webbrowser control working fine but wanted to create a multi-tab base web page. I dug into the code and see New-Object New-Object 'System.Windows.Forms.WebBrowser'. So prior to me starting to use Designer, I built out a multi-tab web browser but I used "New-Object -com internetexplorer.appl...
by JaimeBou
Mon Dec 30, 2019 11:54 am
Forum: PowerShell GUIs
Topic: Adding a new form to an existing TabControl Form via Designer
Replies: 0
Views: 1884

Adding a new form to an existing TabControl Form via Designer

I used Designer to build a tabcontrol form. Everything is working fine, but I am adding a button to open a 2nd form that will have a treeview control on it. I did not see a form object in the toolbox? How do I create/add the form (so that I can add the treeview controls on it)? Or, is there another ...
by JaimeBou
Mon Nov 18, 2019 11:28 am
Forum: PowerShell GUIs
Topic: TreeView Control - managing aftercheck event
Replies: 4
Views: 488

Re: TreeView Control - managing aftercheck event

I tried the beforechecked but that didn't seem to work.

To me, it seemed to make things worse.

You mentioned that the treeview was not designed to work the way I wanted.

Can you suggest a better control? Should I just go with checkboxes? That just seems like more coding?
by JaimeBou
Mon Nov 18, 2019 9:24 am
Forum: PowerShell GUIs
Topic: TreeView Control - managing aftercheck event
Replies: 4
Views: 488

TreeView Control - managing aftercheck event

I have three treeview controls on a form and would like to manage the checkboxes. So when a certain checkbox is checked, I would like to turn off others. I have an event working, but when I add the second event, they both seem to step on each other. I test them separately and for the most part they ...
by JaimeBou
Fri Jun 21, 2019 9:56 am
Forum: PowerShell
Topic: TreeView Node Selection
Replies: 10
Views: 4657

Re: TreeView Node Selection

I am still learning PSS. I am trying to get there. I do have another question. I ran the debugger on your demo app and noticed that when I run the debugger on my app that the "System.Windows.Forms.TreeNodeMouseClickEventHandler" does not seem to trigger. I added a Write-Host "EventHander Triggered."...
by JaimeBou
Fri Jun 21, 2019 6:19 am
Forum: PowerShell
Topic: TreeView Node Selection
Replies: 10
Views: 4657

Re: TreeView Node Selection

I will review the documentation.

But I wanted to answer your question.

The code that I am working on was never started in PSS or coded in Designer.

Thanks.