Re: What to implement first?

Wow
MVD all the way
I really love this project.

@thezimguy

102 (edited by thezimguy 2018-11-24 18:25:39)

Re: What to implement first?

https://www.howtogeek.com/wp-content/uploads/2017/02/01_notification_on_desktop.png

Please is it possible to use the windows 10 Notification Center in MVD.
If not then I think it will be a nice feature in MVD.
Let me know if it is possible to do that in MVD.
Regards

@thezimguy

Re: What to implement first?

I use Delphi XE3, which don't support this feature (TNotificationCenter).

Dmitry.

Re: What to implement first?

Thank you very much Dmitry,
I have another question
Please can you add a search in the functions and classes panel for easy search?
https://s6.postimg.cc/hf1d67yox/fx_Search.png
Regards

@thezimguy

Re: What to implement first?

thezimguy wrote:

Thank you very much Dmitry,
I have another question
Please can you add a search in the functions and classes panel for easy search?
https://s6.postimg.cc/hf1d67yox/fx_Search.png
Regards

Done.


Please download latest beta version
https://www.dropbox.com/s/wutj7mnux7f3a … a.zip?dl=0

Dmitry.

Re: What to implement first?

Great, so fast
Thank you Dmitry

@thezimguy

Re: What to implement first?

The same with the calendar object, power between several designs of it. I think you could add within the properties of the button a call "Styleicon" or something similar, where you can change the design of the button icon ie Material etc.

Re: What to implement first?

Imagine that this hard to implement, but when downloading a file or a even a page, sometimes the application freezes. This is because the main thread is waiting for the download to complete and Application.ProcessMessages is of no use in that case.
But if you can not implement thread management, could you had the Work, WorkbBegin and WorkEnd Indy HTTP properties?

Re: What to implement first?

Almach wrote:

Imagine that this hard to implement, but when downloading a file or a even a page, sometimes the application freezes. This is because the main thread is waiting for the download to complete and Application.ProcessMessages is of no use in that case.
But if you can not implement thread management, could you had the Work, WorkbBegin and WorkEnd Indy HTTP properties?

Unfortunately script not support threads.

Dmitry.

Re: What to implement first?

navigation ie - "First Next Previous Last"

Re: What to implement first?

Xerus66 wrote:

navigation ie - "First Next Previous Last"

http://myvisualdatabase.com/forum/viewtopic.php?id=4454

@thezimguy

Re: What to implement first?

Hello xerus66

Another method to navigate in you tablegrid :

procedure Affichage_Button8_OnClick (Sender: string; var Cancel: boolean);
begin
      Form1.MaGrille.SelectedRow := Form1.MaGrille.RowCount - 1;        // Aller au premier enregistrement
end;

procedure Affichage_Button7_OnClick (Sender: string; var Cancel: boolean);
begin
     Form1.MaGrille.SelectedRow := Form1.MaGrille.SelectedRow +1;      // Aller sur l'enregistrement suivant
end;

procedure Affichage_Button6_OnClick (Sender: string; var Cancel: boolean);
begin
    Form1.MaGrille.SelectedRow := Form1.MaGrille.SelectedRow -1;       // Aller sur l'enregistrement précédent
end;

procedure Affichage_Button5_OnClick (Sender: string; var Cancel: boolean);     // Aller sur le premier enregistrement                                                                                 
begin
     Form1.MaGrille.SelectedRow := 0;

Regards

JB

Re: What to implement first?

It will be nice to have a navigation control for the tableGrid. I wish it will be implemented soon.
Thanks

@thezimguy

Re: What to implement first?

Hello Dmitry,
Please would it be possible to add a function to restart the app after a user makes some changes.

Example

ShowMessage('The app will restart to apply changes');
RestartApp;

Thank you in advance

@thezimguy

Re: What to implement first?

thezimguy wrote:

Hello Dmitry,
Please would it be possible to add a function to restart the app after a user makes some changes.

Example

ShowMessage('The app will restart to apply changes');
RestartApp;

Thank you in advance


You can create bat file and place them to the project folder

@echo off
timeout /t 2 /nobreak
start "" "filename.exe"

how to restart

procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
begin
    OpenFile('restart.bat');
    Form1.Close;
end;
Dmitry.

116

Re: What to implement first?

Hello,

I would like to see an easier way to use our own images as buttons (i do not mean changing the icon of a button but just use an image that has the same kind of properties/possibilities like you drag a button to the form) so you could possibly make the GUI looking more modern like you see in today's apps.

117 (edited by thezimguy 2018-11-29 12:21:55)

Re: What to implement first?

DriveSoft wrote:
thezimguy wrote:

Hello Dmitry,
Please would it be possible to add a function to restart the app after a user makes some changes.

Example

ShowMessage('The app will restart to apply changes');
RestartApp;

Thank you in advance

You can create bat file and place them to the project folder

@echo off
timeout /t 2 /nobreak
start "" "filename.exe"

how to restart

procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
begin
    OpenFile('restart.bat');
    Form1.Close;
end;

Thank you so much Dmitry

@thezimguy

118 (edited by derek 2018-11-29 12:35:03)

Re: What to implement first?

Hi DBK,
Please have a look at the attached.  I find it the easiest way of using images as buttons.
I simply associate an image with a hidden button.  Then in the script, you just click the associated button when the image is clicked;
You can make it a bit slicker if you want by 'moving' the image slightly to make it look like it's been clicked (I've done this on the 'calendar' image).
Perhaps this gives you some ideas.
Regards,
Derek.

Post's attachments

Attachment icon imageasbutton.zip 382.61 kb, 483 downloads since 2018-11-29 

119

Re: What to implement first?

derek wrote:

Hi DBK,
Please have a look at the attached.  I find it the easiest way of using images as buttons.
I simply associate an image with a hidden button.  Then in the script, you just click the associated button when the image is clicked;
You can make it a bit slicker if you want by 'moving' the image slightly to make it look like it's been clicked (I've done this on the 'calendar' image).
Perhaps this gives you some ideas.
Regards,
Derek.

Hello Derek,
Thank you very much for the example!
This is a really clever solution, as usual!
I am going to use this solution while i wait until Dmitry could add this feature smile
I feel that it would still be much faster if we could have a draggable 'toolbar' action to make these kind of buttons without scripting a clever workaround.

Re: What to implement first?

Thank you once again Dmitry,
Based on your response I have been able to achieve restarting of the app with the following block of code

procedure Form1_btnRestart_OnClick(Sender: TObject; var Cancel: boolean);
begin
    Form1.Close;
    OpenFile(Application.ExeName);
end;

I think it may be useful to others.
Regards

@thezimguy

Re: What to implement first?

Hi Dimitry it is possible to modify the excel export to another software like libre office ?
maybe a script can do that ?
best regards.

Re: What to implement first?

farfadet46 wrote:

Hi Dimitry it is possible to modify the excel export to another software like libre office ?
maybe a script can do that ?
best regards.

Hello.


I will try for the next version.

Dmitry.

Re: What to implement first?

farfadet46 wrote:

Hi Dimitry it is possible to modify the excel export to another software like libre office ?
maybe a script can do that ?
best regards.

Done. Please download latest beta version, now a button with action "Open in Excel" support Open/Libre Office calc and auto mode
https://www.dropbox.com/s/mb8hyuevvu8x5 … a.zip?dl=0

Dmitry.

Re: What to implement first?

Wow big thanks ! your are so fast smile

Re: What to implement first?

Hi Drivesoft, great work.

Is there a chance that you could add the possibility to call DLL's ???

Thank you

Lupo