>>
>>You can't add code to a method at runtime. You'll have to wither manually add this code to each textbox in the grid, or create a textbox class that has this code in it, and loop through the columns at runtime, adding this subclassed textbox and removing the stock textbox.
>
>How about the .setall ?
>
>You can change back color and other things with it. It compiles and does not error in the init for the grid. It just does not work when the dblclick takes place.
>
>ceffect1= "ThisForm.pgfBizObj.ActivePage = ThisForm.nGoToPageOnEdit"
>this.SetAll("dblclick", ceffect1 , "text")
>
>
>Thanks.
My guess is that it may stick the text in but the code that runs in a form is precompiled and loaded in the Objcode field of the scx. I believe this compiled code is what executes.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.