1 (edited by AD1408 2016-09-08 20:01:25)

Topic: Relative Linking

I was using free version of MVD.  Mostly trying to learn how to use the application. I wasn't going to buy it until at least treeview implemented.


Today I bought it. It didn't feel right asking questions here as a free user without supporting the developer.


I asked earlier about relative link script/settings but got no reply.


Dmitry, could you please add relative linking script and settings to sample project "Relative linking 2b" below. Completion of my first litlle project is waiting for this.


Further info on the form1 of the project file.

Post's attachments

Attachment icon File linking 2b.zip 3.78 kb, 342 downloads since 2016-09-08 

Adam
God... please help me become the person my dog thinks I am.

Re: Relative Linking

Hello AD1408


A simple...


procedure Form1_Button2_OnClick (Sender: string; var Cancel: boolean);
begin
    openfile('.\image.png');
end;

... should do the trick.


.\ is the root of your MVD folder. If your files are in a subdirectory, juste add .\<directory>\file.extension


Mathias

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor

Re: Relative Linking

Hi Mathias,


Thanks a lot..........


Indeed, it did the trick.

Adam
God... please help me become the person my dog thinks I am.