That'll Great Cetin!
>Hidy Kamal,
>Good morning (good night ?). Hey why would I hate someone faithfully deserving time to help me, I just feel appreciation.
>Kamal, I couldn't make it clear. This is a generic grid class and I don't have a chance to change PEM of indiviual controls. It will populate later, maybe on your form (yeah, will send to UT files\classes). If I could, all I want to do there, is to "poke" this.value = this.value to their interactivechange. I only have grid at my hand now, no controls yet :( Today I'll try to send a copy of class to you. Now working :) I was trying to optimize the code more (working smooth and fast though).
>Cetin
>
>>Cetin,
>>
>>>Unfortunately activecontrol applies to form, page, toolbar, _screen not grid. form.activecontrol return the grid, not current active control of it. Thanks.
>>
>>Thats very true. You'd probably hate me for this but the way out would be to store the column's currentcontrol's object reference to a property on the form from the GotFocus() event of each control in each column.
>>
>>thisform.oLastControl = this
>>or
>>thisform.cLastControlPath = SYS(1272, this)
>>