Home › Forums › General XMetaL Discussion › Xmetal to check numeric value and alphanumeric value › Reply To: Xmetal to check numeric value and alphanumeric value
Reply to: Xmetal to check numeric value and alphanumeric valueNovember 28, 2012 at 6:25 am
I'm not sure I completely understand your bold text requirement but the EditBox doesn't allow you to control how portions of the text inside it appear. For that you will need to use another control. Have a look at Microsoft RichEdit control. You can turn bold/italic/underline and also use colours inside it for different portions as it supports “rich text” (essentially the RTF format).
You should be able to change the size of the EditBox on the fly. How big to make it will be tricky to figure out though, unless you use a fixed-width font. You should be able change the top,bottom,left,right properties to do that. THat seems like it would make for an odd UI though. Perhaps what you should look at in this case is the MultiEditBox control. It supports multiple lines, line wrapping and has a scrollbar.