976

(32 replies, posted in General)

Hi Mathias,


I got it compiling  all 3 calcs without errors. However, transforming math formulas into code formulas is difficult at present for me.


Could you please check and correct them if possible?
Pivot calc's math formulas put in the code as comments in Pivot section of the code.
Implementation of CAGR calc formula by me is definitely wrong. Again math formula source is included in CAGR section of the code as comment.


Also, I couldn't get Divisior working (showing error message when 1 or more input field/s contains a value zero


Please see the attached latest project.

977

(32 replies, posted in General)

Hi Mathias,


Thank you so much for the info above. I love your instructions. You are a great teacher.


I got pivots calc compiled.


Working on CAGR calc... Once finished I'll upload it for your inspection - hopefully without bugs.

978

(10 replies, posted in General)

Great.. Thanks a lot  Dmitry.........

979

(10 replies, posted in General)

Is it possible to have a Modeless window in MVD, if so how?

980

(32 replies, posted in General)

Hi Mathias,


I have tried to add other calculators with your code guidance but couldn't get it work. Please see, if you can get around to make them work. Btw, Your commenting on code is great. They help me a lot.

981

(32 replies, posted in General)

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


Another useful and simple approach from you. Good stuff.


I'm collecting all the valuable info I get from you guys in a RTF editor with my understanding notes under the name "Rough guide to MVD" Once I get enough and useful info I'll share it here. It may help other starter users of MVD.


I haven't looked at Sqlite browser yet. Is there a topic/s about it, explaining how and where we use it?

982

(32 replies, posted in General)

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


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


Mathias,
GREAT Work!!!
First I didn't notice division by zero warning message but it was there staring at me.. All good atm.


Derek,
Nice and simple approach. Unless, I'm getting things wrong, it doesn't check all fields values are bigger than zero to perform the calculation.
Feeling bit dumb for not being able to find your required fields message text to edit.


Once again, thank you so much guys...........

983

(32 replies, posted in General)

Hi Mathias,


Thanks a million....... Excellent work...........


I have simplified it further by taking out some field and commenting out code refers to deleted fields.
Also tuned in bit more of currency fields display and tab-order. Pasted a code to hide menus.


mathmathou wrote:

The main structure of the program is there, but keep in mind that there is not data control in the script. For example, what should happen if one or more of the fields are left empty --> should the calculations be performed or should the user receive a warning ?


User need to fill all required fields, otherwise produces an error dialog as it does currently. Only thing, we need to change the error dialog message from "Invalid floating point operation" to "All fields marked with an asterisk (*) are required."


Updated sample project is attached.

984

(32 replies, posted in General)

I'm trying to do some basic calculators.


All on one form with the use of tab control. I like to add calc values in input part and when I click on calculate button, results are shown on output part of the same form. Please see the attached sample project.

985

(4 replies, posted in General)

Hi JB,


Thanks a lot......

986

(4 replies, posted in General)

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

It works fine.

987

(4 replies, posted in General)

How do I load a plain text file text into a memo field from MVD project root and sub folders?


Sample text file included in the project folder.

988

(2 replies, posted in General)

Hi Mathias,


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


Indeed, it did the trick.

989

(2 replies, posted in General)

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.

990

(4 replies, posted in General)

Thanks a lot guys......

991

(4 replies, posted in General)

Could somebody answer questions in above post please?

992

(6 replies, posted in General)

Hi JB,


Thanks for the info...


Yes, I'm grateful to Derek for his kind help on many occasions.


I have attached sample work project which Derek done hard linking settings and script. We'd also need relative linking. Need to link for files put in MVD compiled project folders relative links as end user may put app folder in a different location on his computer. Can you do this JB or anybody else?


JB, if you also could add "...file in a folder via function OpenDialog" to project would be nice.

993

(6 replies, posted in General)

Thanks a million Derek..... You're a life saver.


Yep, one z was missing on folder name.. it's all good now.


Also thanks for putting the code together and uploading. It helps me further my understanding.

994

(4 replies, posted in General)

As far as I understand compiled MVD project passed to end user as a portable application. Therefore, I'd pass to end user compiled version of the MVD project folder.


1. Which files I can delete from complied project folder before passing to enduser? In another word which files end user needs at bare minimum to ran the compiled application?


2. Is my understanding of End User can only use 1 database file, he cannot create a second database file within same application correct, unless he copies app to another folder and run it as a second copy?

995

(6 replies, posted in General)

Hi Derek,


Many thanks for quick reply.


Done the c/p of the code you supplied but couldn't make it work. Please see the sample project attached.


Ps/. I only have hide menu code on my project Script tab as below. Please put linking code with hide menu one altogether so that all works

begin
     Form1.mniFile.Visible := False;
     Form1.mniOptions.Visible := False;
     Form1.mniAbout.Visible := False;
end.

begin
end.

996

(6 replies, posted in General)

How do I link a label text or button to a file within project folder?


For instance:
- If I put an image into folder within project folder, on click it opens the image on users default image browser
- If I put a .txt file into folder within project folder, on click it opens the text file on users notepad
- If I put a excel file into folder within project folder, on click it opens the file on users excel app if they have it
and so on...

997

(27 replies, posted in General)

Thanks a lot Derek.......

998

(27 replies, posted in General)

I couldn't get get hide menu working properly and I couldn't get url weblink working too.

Could somebody fix and upload it please..........

999

(0 replies, posted in General)

Is it possible to create and display thumb db image and on click display larger version in another larger img object on same page?


https://s13.postimg.org/79jhxzgiv/img_display.png


If the above not possible, then is it possible, on click of thumb full size displayed on pop up window.


For both option image need to be saved in original size and thumb created.

1,000

(27 replies, posted in General)

Hi JB,


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