>>Stephane,
>>
>>Are you trying to move these conrols at run time or design time?
>>
>>Mike
>>
>>>>Hi Steph,
>>>>
>>>>>No, in fact I want to be able to move a grid in a form with the mouse.
>>>>>I already do it with nearly all controls, but it doesn't work with a grid.
>>>>
>>>>It should work with the grid, too. Make sure that the grid is not in edit mode, that is, it doesn't have the thick green border. Otherwise you won't be able to move it around.
>>>>
>>>>--
>>>>Christof
>>>
>>>Christof,
>>>
>>>It works with all controls except grid control. I don't know why...
>>>If I put the grid in a container, it works...
>>>
>>>How to have a grid movable on a form ???
>>>
>>>Thanks
>
>
>At run time.
>Thanks
Just wonder why would you need to Drag the grid in the form at runtime?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison