1 (edited by Rahan57 2021-10-18 13:41:45)

Topic: "Add" button

Hello, what are the procedures for the "Add", "Edit", "delete" and "display" buttons for the Scrip .

Rahan57

Post's attachments

Attachment icon Barre boutons.jpg 6.55 kb, 100 downloads since 2021-10-18 

Rahan57

Re: "Add" button

No scripts are required for the buttons for adding, editing and deleting records. You just need to configure the Action property

Визуальное программирование: блог и телеграм-канал.

3 (edited by Rahan57 2021-10-19 07:23:06)

Re: "Add" button

Yes I know but I would like to create my own buttons and I think it is with a procedure that I could use them.

Rahan57

4 (edited by derek 2021-10-19 10:20:41)

Re: "Add" button

Rahan,
There are different ways to do this, with many examples on the forum.
The easiest way is probably to:
1.  place standard buttons on your form (for ADD, EDIT, DELETE etc) but make them invisible.
2.  place images for ADD, EDIT, DELETE etc on your form.
3.  use an 'onclick' event for each image and write a line of script to 'click' the relevant button.
Have a look at the attachment for a simple example.
Derek.

Post's attachments

Attachment icon own buttons.zip 404.02 kb, 208 downloads since 2021-10-19 

Re: "Add" button

Great, I'll be able to put my own icons.
Thanks a lot Derek.

Rahan57

Rahan57

Re: "Add" button

Rahan57 wrote:

Hello, I would like to calculate the difference between two mileage, one starting km and one arrival km.
What's the best way to go.

Rahan57

look for a solution on this forum or at least create a separate topic for a new question...

Визуальное программирование: блог и телеграм-канал.