Hello Leo,
Unfortunately, we don't have a sample with the editor inherited from the BaseSpinEdit control. However, you can use the sources of the SpinEdit class as a sample. A common approach to creating a custom editor is described in the How to register a custom editor for use in the XtraGrid article.
The sample on how to create your own mask manager is given in the How to auto-complete the text being entered with a custom string article.
Thank you,
Paul
Hello,
Thank you for your answer.
Unfortunatly, code examples of the SpinEdit and (even more relevant) DateEdit as well as TimeEdit hints that one of the major tasks will be implementing MaskManager class. Since neither of its abstract methods is documented, it is really hard to understand what should do each of its methods. If you don't have any manual, reference or code samples then write a sentence or two for each abstract methods of the MaskManager. I hope it will be enough. Regarding unclear moments I will ask a separate question.
Thank you, Leo.
Hello Leo,
Sorry, but we don't have a description of the methods of the MaskManager class. I believe that the best way to understand how they work is to see how they are implemented in our editors. I also recommend that you refer to the MaskManagerCommon issue that contains a sample of implementing the custom MaskManager by our customer Simon Hewitt. Please feel free to ask us if you have any difficulties while implementing a particular method.
Thank you,
Paul
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+