Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A Couple of Questions
Message
From
16/10/2007 09:57:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
A Couple of Questions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01261225
Message ID:
01261225
Views:
55
Hi All,

Question #1:

I'm writing an application that has some custom classes that can be dynamically added to a form via a button. I assume I'll use the addobject method of the form to add custom class to the form but I'd like button's click code to act the same as when I add the class from the controls menu... ie when the class is dragged to the form from the it's menu it dynamically creates the class and assigns the class name automatically.


Question #2:

The custom class has a container with several objects ( shape, label etc. ) contained within. I've set the oledragmode to 1 for the container so I can drag/drop it around the form. What I've noticed is that unless I click and drag the container the drag/drop doesn't work. How do I set it so if I click and drag anywhere on the object it works ?


thanks,
Next
Reply
Map
View

Click here to load this message in the networking platform