The native behavior of text boxes with numeric data leaves something to be desired. There are several enhanced text box classes in the UT files section that make things work a little more like we would want them to. I posted one of them, it is called textnum3.zip and is specifically designed for numeric data. You might want to try it out. If you cannot access the UT files section, the file is also available on the Fox developers' page of my website at
http://www.prairienet.org/ita/foxpage.htm.
>VFP 5. Trying to figure out what an existing form is doing. The field is defined is numeric 15.
>It has an inputmask of 999,999,999,999,999. alignment is set to right. No format property.
>The strange behavior is ths. When ever the cursor enter's the textbox it is in the middle of the
>textbox. If data is in the text box it does not seem possible to insert digits. For example if textbox
>displays 1,234 then type at start of cursor 53 1,234 becomes 531,234. put cursor at 3
>typeing 78 gives 1,278 instead of 1,237,834. What property am I missing? Removing the
>imputmast does not seem to make any difference. Is it possible to get cursor to be at the start of
>data and more importantly to insert digits instead of overwriting then?
Rick Borup, MCSD
recursion (rE-kur'-shun) n.
see recursion.