Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDragDrop Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
OLEDragDrop Problem
Miscellaneous
Thread ID:
01040435
Message ID:
01040435
Views:
54
I have a form called Test1 in design mode.

On test1 I have a pageframe, and on page 1 I have a container.

On form2 is a commandbutton with OLEDragMode = 1.

When I run Form2 and drag the button onto Test1 (which is still
in design mode), on top of the container, if the container is in
Edit Mode, all works fine and the resulting label is in the container.

If the container is NOT in edit mode, the label is still in the container,
instead of on thge form, and ASELOBJ returns info about the form.

In the OLEDragComplete event of the button I have:
LOCAL aCtrlObj[1]
=ASELOBJ(aCtrlObj, 3)

? TRANSFORM(aCtrlObj[1].Name)
? TRANSFORM(aCtrlObj[2])
? TRANSFORM(aCtrlObj[3])
Element 1 is 'Form'1
Element 2 is 'test1.scx'

Anyone?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Reply
Map
View

Click here to load this message in the networking platform