>Hi Terence;
>
>Thanks for your repli;
>
>At Report Designer, Data Env. Window show me what Table is added. But in my VFP application .EXE, we can not use properties windows and other environment resources, that allow us set orders, set the initialselectedalias and others..
>
>To solve that kind of problem I´ve been created one FORM that has 3 objects on it:
>
>1.TREEVIEW WITH THE ALL ALIAS OPENED
>2.LISTBOX WITH THE STRUCTURE OF THE TABLE SELECTED ON TREEVIEW
>3.LISTVIEW WITH THE POSSIBLES ORDER OF .CDX RELATED TO THE TABLE SELECTED ON TREEVIEW
>
>That form is started together using something like this:
>
>oMyform_environment=creatobject("ddddd...")
>MODIFY REPORT (cFOO) WINDOW (cMYwindow) SAVE
>oMyform_environment.show
>
>All of this is working fine and has solving the deal, but I want to give to the user the possibilitie of perform DRAG&DROP operations between the listbox and the REPORT´s maintenance.
>
>Thanks for your help;
>
>CLAUDIO
>
>--------------------------------------------------------------------------------
Oh, really out of my imagine.
There is a Dbl-List selection class download in file section, which you can learn how to handle DRAG&DROP
I only know the basic thing, before drag, you need to code which is carried.
Then, there is a object which waiting you to drop it (receiver) and add code how it handle drop.
But I still think you can DRAG&DROP field from table in data environment in report designer!!
(No need make a form on field list selection.)
At Run-Time,
MODIFY REPORT (cFOO) WINDOW (cMYwindow) SAVE
You can see 1-2
Tool bar window,
Try to RightClick the
Tool bar and try to show up all toolbar
2nd Green Icon with picture like 8= is Data Environment.
Click it and you will see the Data Env. Window and you also see some tables inside.
Try to drag some selected field from table into report...
What I agree is: even you rightclick the Table in Data Env. Window and select "property"
There WILL NOT show any property window for you.
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.