Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEDragDrop Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
OLEDragDrop Problem
Divers
Thread ID:
01040435
Message ID:
01040435
Vues:
53
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
Répondre
Fil
Voir

Click here to load this message in the networking platform