Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying controls _clipWhat
Message
From
27/02/2013 02:51:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Copying controls _clipWhat
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01567008
Message ID:
01567008
Views:
192
Dear All

When we do RightClick-Copy (or CTRL+C) in VFP form designer or report designer there is some clipboard content being created
(presumably containing scx table records) which VFP then uses to create copy of that control. Is there any way to get a hold of that content ?
If you do ctrl+c on some portion of some text we can read it using _cliptext variable. Is there anything in VFP environment
that we could use to access this information (copied label or textbox information) ?

Exactly the same question applies for Report Designer.

* * *

With some heavy lifting applied, it is perfectly doable making SCX2FRX() and FRX2SCX() converter utility. Both scx and frx are just vfp tables which we can read/write etc. So this is doable. Not easy, but definitely doable. (Anybody did it already by any chance ?)

However, what I would love to have is to be able to copy not entire forms or frx-es into each other but rather;
Copy one or more controls at the time between Report and Form and vice versa.

Million $ question is: Am I being humble ? :))

or in other words;
Is this doable at all, and if yes, what would it take ?
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Next
Reply
Map
View

Click here to load this message in the networking platform