>Hi Fred,
>
>>You'll have to choose the object name since you'll be using thisform.AddObject()
>
>What happens when you drag a class from the class menu ? Is there a class file in the FCC directory where I can see some code ? I quess I can store in a file or property somewhere a value used in the naming.
I've only way I've ever done it visually is from the Class Browser. When you do it that way, the naming would be automatic. I've dynamically added objects to a form with thisform.AddObject(), but you have to choose the object name that way.
>
>
>>Since when you click on an object that's in the container and try to start the drag, the short answer is you can't, you're not on the container, you're on the object in the container. You'll have to put some sort of transparent shape over the object to trap the click, and pass the information down to the container itself. I've never tried doing that through the shape on top for drag/drop, but I guess it could be done. Maybe you can do it in each of the objects in the container to pass the click down to the container.
>
>
>What if when dragging starts happening and you set focus on the container ? Not a big deal anyways... the dragging feature in this app will be intended for a developer person's maintenance.
I don't know, I've never tried that. I'd think you have to capture the MouseDown on the other objects and then you could manually start the drag for the container. I don't think setting focus will buy you anything.
>
>thanks for the input,