[Wix] 在UI中使用text限制用户输入数字(ID)

I then created a new dialog which would accept the product ID and hooked all the action's and conditions up. Without to much trouble I had the installer calling the native DLL and doing pretty much what I wanted.

The only snag I had was how to restrict he number of characters that can be entered into a textbox. The secret is to have the number of chars you want to allow in curly brackets at the front of the text to be displayed, etc: <text>{5}{font type etc... } </text>

原文:
Wix Installer

原文地址:https://www.cnblogs.com/huqingyu/p/55821.html