Masked Textboxt hightlight and start at beginning?


i building powershell form , have 2 maskedtextboxes , 1 textbox.  on tabing textboxes maskedtextboxes cursor @ end , want @ beginning , if box needs updated (basically starts typing in it) clear box , put new information in.

i have mouseclick events working in these boxes example:

$maskedtextboxtelephonenumber_mouseclick = [system.windows.forms.mouseeventhandler]{
#event argument: $_ = [system.windows.forms.mouseeventargs]
#todo: place custom script here
$maskedtextboxtelephonenumber.selectall()
}

i tried setting tabindexedchanged not working... missing?


here agood place start learn how use powershell , how sue forms: https://www.sapien.com/blog/topics/user-interface-design-for-administrators/

the blog has many articles useful new , advanced users.

for how sue controls start here , read how control works: https://msdn.microsoft.com/en-us/library/system.windows.forms.textbox(v=vs.110).aspx

the question ae asking not have simple answer because unclear asking , because trying use control in non-standard way.  recommend using controls designed until understand how forms controls work.


\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group