Did you try ThisForm.Text1.Format='K' ?
>hi,
>my textbox already =ThisForm.Text1.SelectOnEntry = .t.
>when the cursoure at mylist i try to press 1 i get at my text1 number 10.
>i need to see just 1. if i press10 i get 10....this is what i need to do.
>any way if you have any idea it welcome ,and thank you,
>if you miss undersatand what i need ,thank you and forget.
>best regards.
>m.qasem
>
>>Mohammed, when the textbox got the focus all symbols are selected. When the user click all selected symbols are replaced with the clicked symbol.
>>
Do you set the property ThisForm.Text1.SelectOnEntry = .t.>>
>>
>>>hi,
>>>still if i press at mylist 1 i get the same 10 another press i get 11...
>>>
>>>
>>>>Mohammed,
>>>>
>>>>IN Text1.GotFocus put
>>>>
TEXTBOX::GotFocus
>>>>
>>>>and set the property SelectOnEntry = .t.