>Hi Cetin,
>
>>with thisform.myGrid.Columns(1)
>> .Addobject('myControl','myControlClass')
>> .CurrentControl = 'myControl'
>> .Sparse = .f.
>> .myControl.Visible = .t.
>>endwith
>
>Can I use this code for drag and drop class, Actually what I want to do is to autosize my grid class (not a drag and drop class) and this autosize.vcx is a drag and drop class. In my grid class I put codes for the grid in the INIT methode so I thought I could put a code to call the autosize class in this methode but I don't know the codes.
>
>I'm sorry if my previous words confusing you.
>
>regards,
>
>Budianto
Budianto,
Sorry but I don't understand. Especially I didn't understand what is a 'drag and drop' class.
Cetin