[email protected] schrieb: > Hi everyone. > I need to enter numeric data into a previously formatted text field. > The format is 99-9999999999-9, where 9s are any number. > I need to display just the scores so the operator just enters the > numbers. > Please help!! > Thanks in advance. > Pablo. > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user hi, i think you want make one single textbox to display some sections of numbers e.g. like a serial numbern, with some - between the sections?? or what do you mean? if this is the case, you may implement a TextBox_KeyPress() event to handle each keypress and if one section is complete, insert your separator (e.g. "-"), this way you also may prevent the insertion of chars which shouldn't be part of the pattern.
regards, tobi ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
