Link to home
Start Free TrialLog in
Avatar of zxw
zxw

asked on

How to modify a form of InfoPower2000

I have InfoPower2000 with source codes, now I make some modification to a *.dfm file of the source codes(such as change a caption of a label), how can I let DELPHI know the modification?
Avatar of shenqw
shenqw

Re-Install the Modified InfoPower2000 Components.
Compile the unit of the infoPower form you had change and rebuild your application.
Avatar of zxw

ASKER

I have compiled the unit of the infoPower form I had changed and replaced the old unit and rebuilded my application, but there is nothing changed in my app.
Did you change the DCU??
you must rebuild and compile the packages or units of infopower, not the ones from your app.

NetoMan :)
I think there are two ways.

1.  Fisrt Uninstall your InfoPower2000,then Install the Package again. and Rebuild your app also.

2.  Your can copy your modified InfoPower200's Units into you app directory. and Use Delphi IDE Project|Add to project....  to add the modified units into your app project. and then re-build you project.

That's all.Good Luck.

shenqw   {B-)

Avatar of zxw

ASKER

Mr. Shenqw,

I want to modify the Wwfltdlg in InfoPower2000.

I DO have replaced the original DCU file(Wwfltdlg.dcu) in InfoPower2000\lib where is the place Delphi use to link my app I think, but my app still shows the original dialog(Wwfltdlg) , not the modified dialog(I only changed a caption of a label). I wonder if the DCU file contain the dialog resource?

I also tried to copy these three files : Wwfltdlg.dfm,Wwfltdlg.pas,wwifdef.pas into my app dir, and Use Delphi IDE Project|Add to project....,  and modified the Wwfltdlg.dfm file(a caption of a label), and then re-build you project. But STILL nothing changed! While on delphi's IDE,Wwfltdlg.dfm show what I want it to show.  


Help me pease.
Avatar of kretzschmar
hi zxw,

you have to recompile the package

just go to menu
-Component|Install Packages

-select the package 'Woll2Woll Infopwer 2000'

-push edit

-push compile

ready

meikl
Avatar of zxw

ASKER

I installed InfoPower2000 with the source code.

Can anyone explain to me how to modify the caption of a label in Wwfltdlg.dfm in the source code dir and how to to make my app see the result I want STEP BY STEP (I droped a TwwFilterDialog control in the form of my app)?

To  kretzschmar :
   Thanx for your comment , but still nothing changed!
Avatar of zxw

ASKER

Adjusted points from 100 to 200
zxw: I Have Infopower 2000 with full source for delphi 4. I will install tomorrow this components and try to do this job to see whats wrong...

NetoMan :)
Avatar of zxw

ASKER

Help me please.
zxw,
I'm not sure, but i've worked with InfoPower to delphi 2 and they have a component just to do what you are want to do, like a component with the text of which InfoPower form, doesn't ImfoPower 2000 has it???

NetBeto.
Avatar of zxw

ASKER

TO NetBeto:

I don't know what you mean.Can a component change all the caption of another component in InfoPower to delphi 2?
Avatar of zxw

ASKER

Adjusted points from 200 to 300
ASKER CERTIFIED SOLUTION
Avatar of netbeto
netbeto

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zxw

ASKER

Thank you again, NetBeto.