Masked text box Key press for "." period IP address

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 3 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
asidhu
Posts: 3
Last visit: Tue Sep 12, 2023 8:49 am

Masked text box Key press for "." period IP address

Post by asidhu »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: Sapien Powershell Studio 2020
Operating system: win 10
PowerShell version(s): *** Please add details and screenshots as needed below. ***
I have created a masked textbox for inputting IP address. How can I do Key press on a masked text box for a period "." . I would like the cursor to jump to next octet when a period is pressed on a keyboard and if the digit in the first octet is 1 change it to 001 or if it's 10 change it to 010.
User avatar
brittneyr
Site Admin
Posts: 1669
Last visit: Fri Apr 12, 2024 2:35 pm
Answers: 39
Been upvoted: 31 times

Re: Masked text box Key press for "." period IP address

Post by brittneyr »

[Topic moved to PowerShell GUIs forum by moderator]
Brittney
SAPIEN Technologies, Inc.
This topic is 3 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked