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.
Post Reply
User avatar
asidhu
Posts: 2
Joined: Thu Jul 07, 2016 7:28 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: 645
Joined: Thu Jun 01, 2017 7:20 am
Answers: 8
Been upvoted: 6 times

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

Post by brittneyr »

[Topic moved to PowerShell GUIs forum by moderator]
Brittney Ryn
SAPIEN Technologies, Inc.

Post Reply