void EditField::GotFocus() { if(autoformat && IsEditable() && !IsNull(text) && inactive_convert) { Value v = convert->Scan(text); if(!v.IsError()) { WString s = convert->Format(v); if(s != text) text = s; } } if(!keep_selection) { anchor = 0; cursor = text.GetLength(); } Finish(); SyncEdge(); }
Report message to a moderator