>An Edit Box on my form is programatically auto-populated with some text prior to getting focus.
>
>I need to be able to allow the user to append text in the edit box, but not delete or modify the initial text. I cannot figure out how to accomplish this. Any code I place in the Keypress event method or the InteractiveChange event method seems to be ignored.
>
>Anyone????
Not tested:
thisform.EditBox.Tag = TRANSFORM(LEN(thisform.EditBox.Value))
LPARAMETERS nKeyCode, nShift
IF this.SelStart <= VAL(this.Tag)
NODEFAULT
RETURN
ENDIF
Again. that is not tested at all.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.