1

(54 replies, posted in General)

Hi everyone,
sorry if I'm only writing now but with a lot of work I forgot.
Thanks to your help my son Tommaso surprised his teachers with this original project.
I really don't know how to thank you, you are always kind and decisive.

2

(54 replies, posted in General)

I had to delete graphics.dll because it tell me it's too large.

3

(54 replies, posted in General)

It's not possibile!
This one it should be right one.

4

(54 replies, posted in General)

Yes you're right, I'm completely out of it now. This should be right.
Now I've discovered that the more I put Label2 in the center or on the right, the more it returns to the left by itself.

5

(54 replies, posted in General)

Truly? Maybe I uploaded a copy of the copy, the one I attach now is correct. Among other things, I added "Label2" in frmRingraziamenti. If I put it justified on the right as it is now it's fine, but if I put it in the center it doesn't want to go there.

6

(54 replies, posted in General)

Now I have another problem that I can't understand: the title "RINGRAZIAMENTI" of the frmRingraziamenti form doesn't want to go to the center. It may certainly be a trivial thing but now I'm completely at a loss. I've been experimenting for half an hour to understand why.

7

(54 replies, posted in General)

Yes it works. Thank you so much sparrow!!!!!!!

8

(54 replies, posted in General)

Yes sparrow, I looked at the example but I don't understand what I need to change or add.
In the meantime I'm working on the small touches and the final lines, I'm more or less almost finished.

9

(54 replies, posted in General)

Yes sparrow,
the idea was truly exceptional.
Forgive me but I still haven't figured out how to keep the program from crashing when I close it if I don't complete the effects in each window.

10

(54 replies, posted in General)

the idea of advancing the writing one at a time or all together is fantastic. Unfortunately, however, I will never be able to understand how to do it and implement them for tomorrow morning. Still, it was wonderful. Thank you.

11

(54 replies, posted in General)

Hi Derek and thanks for the reply. Unfortunately I didn't understand. I removed the bNext button, now the forms each open with their own frmSummary button. In this new version, which I attach, I have included the sparrow changes.

12

(54 replies, posted in General)

Thanks sparrow,
I'll take a look at it now. In the meantime I have continued the program but I find myself in two situations that I cannot resolve.
The discussion is tomorrow morning sad

1) frmItaliano and frmStoria open without being colored blue like all the other windows

2) if I open any window and close it before the effects finish, then the main program (frmSommario) does not close. You have to close it with the task manager.

A thousand thanks.

13

(54 replies, posted in General)

Hi sparrow,
I'm sorry, I'm only replying now but I had to work all day. Thank you very much, I understood the concept and I also thank you very much for the embellishments in the entry of the writings which I really appreciated.
Thank you so much, without you on the forum I wouldn't know what to do.

14

(54 replies, posted in General)

Good morning everyone,
I'm moving forward with this project for my son's thesis. For work reasons I had to slow down the project a bit but now time is running out.
In the attachment I put the project as far as I have arrived.
What I would like to understand is how I could make a loop that continues until a certain control reaches a certain distance from the edge.
If you look in the project, just click on the first button in the first form (frmSummary), I put some writing with a slide effect. The problem is that by changing the length of the writing you have to do many tests to understand how many times the cycle must be repeated. I'm afraid that this way I won't be able to finish in time, the rehearsals take up a lot of time.
I tried to do something like this but it doesn't work:

begin
vi := 0;    
for vi := 250  do
      begin
        frmStoria.label5.Visible := True;
        frmStoria.label5.left := frmStoria.label5.left - 5;
        application.processmessages;
      end;
    until frmStoria.label5.left := 5;
   end;

Thanks to all and bye

15

(54 replies, posted in General)

Hello Derek and everyone else,
derek, your inspiration has given me new ideas. Thanks to your help, the essay will not only be original but also beautiful.
Thank you so much.

16

(54 replies, posted in General)

Hi Derek and Sparrow,
my confusion arises from the fact that at the beginning the animations are started by the "form_onshow" event. Now it is clear that I must subsequently give the instructions using another control otherwise the animations start before the window opens. Thank you very much not only for the corrections but also for the explanations which I hope I will treasure.
I really don't know how to thank you. Now I proceed by continuing to add forms and buttons, hoping that I have understood correctly but I doubt that I will have to come back to ask you something else.

17

(54 replies, posted in General)

Hi everyone, I'm here again asking for help.
in the Italian subject window, you can get there by clicking on the "Avanti" button at the bottom right of the main window (frmSommario), I wanted to set the title with the letters that entered one at a time according to Derek's second (staccato) project.
I basically wrote:

procedure frmItaliano_OnShow (Sender: TObject; Action: string);
var  vi: integer;
frmItaliano.doublebuffered := true;
begin
  for vi:= 0 to frmItaliano.ComponentCount -1 do
    begin
      if frmItaliano.components[vi] is tdblabel then tdblabel(frmItaliano.components[vi]).styleelements := 0;
      application.processmessages;
      Tlabel(frmItaliano.Components[vi]).visible := true;
      sleep(400);
    end;
  application.processmessages;
end;

As always derek's one works, mine not, yet I seem to have written everything correctly but this is clearly not the case.

18

(54 replies, posted in General)

Hi Derek, Domenico and Sparrow,
I thank you immensely for all the suggestions and corrections which are always very welcome and which I will apply with great dedication.
Thanks derek for the idea of the titles remaining fixed. Indeed, without making them disappear, they always remain visible and can be read better. And for regars to Tommaso (Tommy).
Grazie Domenico per le icone, un tocco originale.
Thanks sparrow for the flicker reduction, that was another thing I would have asked for.

19

(54 replies, posted in General)

Oh, what a simple mistake! Thank you so much sparrow, without you all on the forum I wouldn't know what to do.

20

(54 replies, posted in General)

I understood, thanks!
In the meantime I tried to add a second label to scroll after the first. In this case the second does not slide but starts already fixed. As you can see from the project that I am attaching again.

21

(54 replies, posted in General)

Hi sparrow,
A thousand thanks! So it does what I liked it done. As you suggested I also added:

frmSummary.doublebuffered := true;

In Derek's example I read the comment "stop the gif from flickering".
There isn't a gif in mine, what do I need this instruction for? It's a couriosity.
Thank you!

22

(54 replies, posted in General)

Hi everyone,
Thanks to Derek's precious suggestions I managed to do something, at least what I wanted the program to do, at least for the initial part.
Then I got stuck on a problem that I can't solve: in a window I wanted labels to scroll, like the credits of a film. Let's say that the label scrolls but I don't see it scroll, that is, when the window opens the label is already in the position indicated without seeing the scrolling effect.
To do this I wrote:

procedure fmrRingraziamenti_OnShow (Sender: TObject; Action: string);
var vi: integer;

begin
  for vi := 1 to 100 do
    begin
      fmrRingraziamenti.lbFabio.top := fmrRingraziamenti.lbFabio.top -1;
      application.processmessages;
      sleep(10);
    end;
end;

The window is called "frmThanks". To open it I put a temporary button (Button1) in "frmSummary" which is also the opening form of the program.
Thanks to all.

23

(24 replies, posted in General)

domebil wrote:

Fabio
attenzione ai software per ospedali in Italia le norme sono molto severe!
un abbraccio!

Ciao Domenico,
tanto la mia era solo una curiosità nel vedere come funzionava il programma. Immagino comunque quanti aspetti bisognerà considerare in Italia.
Un abbraccio anche a te.

24

(24 replies, posted in General)

Hi sparrow,
If I understand correctly, the program is used in a hospital to find out which antibiotic has been prescribed to the patient, I don't think it is used to carry out tests.

25

(24 replies, posted in General)

Hi sparrow,
It's definitely not a trivial task. What I thought was that perhaps there is the possibility of adding or removing a drug to the same patient unless it is a patient for whom a treatment is prescribed only once.