Fair enough.
Thanks for your input on the matter.
Search found 493 matches
- Tue May 03, 2022 2:52 am
- Forum: PowerShell GUIs
- Topic: Bring cursor to top in richtextbox after enter then
- Replies: 17
- Views: 2603
- Tue May 03, 2022 1:31 am
- Forum: PowerShell GUIs
- Topic: Have form in right bottom corner?
- Replies: 15
- Views: 3176
Re: Have form in right bottom corner?
Almost there. Found this and this: https://www.sapien.com/forums/viewtopic.php?t=15365 The code works $monitor = [System.Windows.Forms.Screen]::PrimaryScreen $widthFactor = 0.77 #$heightFactor = 0.0333333333333333 $heightFactor = 0.62 $MyForm.Location = New-Object System.Drawing.Point(($monitor.Work...
- Tue May 03, 2022 1:29 am
- Forum: PowerShell GUIs
- Topic: Have form in right bottom corner?
- Replies: 15
- Views: 3176
Re: Have form in right bottom corner?
Almost there. Found this and this code works $monitor = [System.Windows.Forms.Screen]::PrimaryScreen $widthFactor = 0.77 #$heightFactor = 0.0333333333333333 $heightFactor = 0.62 $formChatBot.Location = New-Object System.Drawing.Point(($monitor.WorkingArea.Width * $widthFactor), ($monitor.WorkingArea...
- Mon May 02, 2022 11:14 pm
- Forum: PowerShell GUIs
- Topic: Bring cursor to top in richtextbox after enter then
- Replies: 17
- Views: 2603
Re: Bring cursor to top in richtextbox after enter then
When enter is done, the textbox should be cleared to enter new text. It's a chatbot form I m making so once text is typed and entered, the textbox should be empty to enter new text.
- Mon May 02, 2022 11:12 pm
- Forum: PowerShell GUIs
- Topic: Have form in right bottom corner?
- Replies: 15
- Views: 3176
Re: Have form in right bottom corner?
Thanks but again no clue. Googled compute form location powershell and similar other terms but I have nothing to start with.
- Mon May 02, 2022 10:42 am
- Forum: PowerShell GUIs
- Topic: Have form in right bottom corner?
- Replies: 15
- Views: 3176
Re: Have form in right bottom corner?
Yes, that's what you said, but I have no clue howto do that besides entering what I did.
- Mon May 02, 2022 10:41 am
- Forum: PowerShell GUIs
- Topic: Bring cursor to top in richtextbox after enter then
- Replies: 17
- Views: 2603
Re: Bring cursor to top in richtextbox after enter then
Because that's the way I ask an enduser to enter data. The whole design of the form/project is build upon this input by running enter afer input.
- Mon May 02, 2022 7:34 am
- Forum: PowerShell GUIs
- Topic: Have form in right bottom corner?
- Replies: 15
- Views: 3176
Re: Have form in right bottom corner?
Did that, entered location 2760; 910 and have set startposition manual in form. That works for my screen but when I open the form/exe on another computer it is no visible (range problaby out of screen).
- Mon May 02, 2022 3:46 am
- Forum: PowerShell GUIs
- Topic: Bring cursor to top in richtextbox after enter then
- Replies: 17
- Views: 2603
Bring cursor to top in richtextbox after enter then
Hi, I have a richtextbox which I like to clear after entering. So I have an event which works fine $richtextbox.Clear(), but the cursor should be again at top of richtextbox and now is on a second line (because of the enter). Please advise howto correct that, a full reset of the RichTextbox somehow?...
- Sat Apr 30, 2022 1:41 pm
- Forum: PowerShell GUIs
- Topic: Have form in right bottom corner?
- Replies: 15
- Views: 3176
Re: Have form in right bottom corner?
Thanks, but how do I position the form in the right bottom corner above the systray?