Examples for How to Use the MaskedTextBox Class in Python Eto

Hi there!
I was trying to create a masked text box that only takes a decimal or whole numbers for my custom Eto form. I was looking at the provided Eto API documentation and also at the same type of object class on microsoft.learn, but I couldn’t figure out how to actually set the mask. Would it be possible to get an example of this? I know it has something to do with the masked text provider property, but that’s as far as I’ve gotten.

I’m so glad you guys created this tool for creating custom forms. It really expands the possibilities for creating new plugins.

Thanks,

Josh

Hi @jodanvids,

Here is help for the mask string:

TestDialog.py (2.4 KB)

– Dale

Hi Dale,
Very cool!

Thanks,

Josh