on drag drop

Hi;

I have two MDI forms and I drag something from one onto the other.
When the object is dropped, I want the MDI form that the object is dropped on become the active form.

I wrote Self.Activate in the OnDragDrop event but it did not work.

What should i do?

Thanx.

Comments

  • : Hi;
    :
    : I have two MDI forms and I drag something from one onto the other.
    : When the object is dropped, I want the MDI form that the object is dropped on become the active form.
    :
    : I wrote Self.Activate in the OnDragDrop event but it did not work.
    :
    : What should i do?
    :
    : Thanx.
    :
    You could try the SetFocus() method or the Active property. Activate() only calls the OnActivate() event and does nothing else.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion