you can use child form or the tabpage
https://info.sapien.com/index.php/guis/ ... tabcontrol
Search found 103 matches
- Fri Dec 09, 2022 2:21 am
- Forum: PowerShell GUIs
- Topic: From Design / Form Size / Debug Info
- Replies: 2
- Views: 1155
- Tue Nov 29, 2022 11:48 pm
- Forum: PowerShell GUIs
- Topic: Add-JobTracker - how to measure time
- Replies: 3
- Views: 1661
Re: Add-JobTracker - how to measure time
that was also my first attempt but when i got multiple Jobs running I need to know when the last one stopped to get the overall time.
So at each job end have a datetime appended to a array and from that array take the oldest date but when do i know that every think is done?
So at each job end have a datetime appended to a array and from that array take the oldest date but when do i know that every think is done?
- Tue Nov 29, 2022 9:30 am
- Forum: PowerShell GUIs
- Topic: Add-JobTracker - how to measure time
- Replies: 3
- Views: 1661
Add-JobTracker - how to measure time
I want to measure how long time the job took to finish?
how do i do that when i use the Add-Jobtracker for my functions?
how do i do that when i use the Add-Jobtracker for my functions?
- Thu Nov 17, 2022 4:45 am
- Forum: PowerShell GUIs
- Topic: The NotifyIcon Control - how do i apply the icon?
- Replies: 3
- Views: 2307
Re: The NotifyIcon Control - how do i apply the icon?
so if i want to have different icon i have to create new tooltip*
- Wed Nov 16, 2022 11:30 pm
- Forum: PowerShell GUIs
- Topic: The NotifyIcon Control - how do i apply the icon?
- Replies: 3
- Views: 2307
The NotifyIcon Control - how do i apply the icon?
https://info.sapien.com/index.php/guis/gui-controls/spotlight-on-the-notifyicon-control I use this to set the tooltip text $tooltip1.SetToolTip($textbox_SoftwareTesting, "Tooltip text") How do i apply the info icon to above tooltip on the $textbox_SoftwareTesting button chrome_c0x4fQScc8.p...
- Tue Nov 15, 2022 11:58 pm
- Forum: PowerShell GUIs
- Topic: Visual bar - cpu usage and ram usage - better way?
- Replies: 0
- Views: 15344
Visual bar - cpu usage and ram usage - better way?
is there a better way to show usage without the flashing?
right now im using a progressbaroverlay_Live_CPU
right now im using a progressbaroverlay_Live_CPU
- Fri Nov 11, 2022 4:25 am
- Forum: PowerShell GUIs
- Topic: tabcontrol1 - how to change location and size?
- Replies: 2
- Views: 660
Re: tabcontrol1 - how to change location and size?
thanks
this did the trick
$tabControl1.Location = New-Object System.Drawing.Point(12, 93)
$tabControl1.Size = New-Object System.Drawing.Size(660, 560)
this did the trick
$tabControl1.Location = New-Object System.Drawing.Point(12, 93)
$tabControl1.Size = New-Object System.Drawing.Size(660, 560)
- Mon Oct 31, 2022 3:11 am
- Forum: PowerShell GUIs
- Topic: tabcontrol1 - how to change location and size?
- Replies: 2
- Views: 660
tabcontrol1 - how to change location and size?
I have a gui where i want to move the tabcontrol1 when a specific tab is selected and change the size to
How do i change the size?
tried this but doesnt work?
$tabcontrol1.Size = New-Object System.Drawing.Size (660, 633)
How do i change the size?
tried this but doesnt work?
$tabcontrol1.Size = New-Object System.Drawing.Size (660, 633)
- Fri Apr 22, 2022 5:19 am
- Forum: PowerShell GUIs
- Topic: Change formsize with button action
- Replies: 1
- Views: 924
Re: Change formsize with button action
found the way https://www.sapien.com/forums/viewtopic.php?t=1751 $button1_Click={ #TODO: Place custom script here if ($form1.Size.Height -eq 400) { $height = 300 } else { $height = 400 } $width = $form1.Size.Width $form1.Size = New-Object System.Drawing.Size ($width, $height) } mark as solved.
- Fri Apr 22, 2022 5:13 am
- Forum: PowerShell GUIs
- Topic: Change formsize with button action
- Replies: 1
- Views: 924
Change formsize with button action
Hi
How do i change the form size from a button press.
The form is 300,300
want to press a button and change the Height to 400 but nothing happen when i click?
$button1_Click={
#TODO: Place custom script here
$form1.Size.Height = "400"
}
How do i change the form size from a button press.
The form is 300,300
want to press a button and change the Height to 400 but nothing happen when i click?
$button1_Click={
#TODO: Place custom script here
$form1.Size.Height = "400"
}