Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and drop a grid in a form
Message
From
13/05/2004 10:39:39
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
13/05/2004 09:20:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00903504
Message ID:
00903595
Views:
19
>>Stephane,
>>
>>Are you trying to move these conrols at run time or design time?
>>
>>Mike

>
>At run time.
>Thanks

You didn't make that clear in your original post and I think a lot of the replies that you received assumed that the problem was at design time.

I did something like what you are trying to accomplish. I allowed users to drag and drop from a list of fields onto a form at runtime. A specific control had to be used depending on the field type (dropdownlist for foreign keys, spinners for numeric, etc.) I, however, never had to do this for a grid control since I was only allowing the users to select individual fields. The grid would be used for records no?

Anyway, my control classes were all based on a container. If your grid works within a container, why not keep it there?

Good luck.

Regards,

Mike.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform