2009/6/26 Roberto Padovani <[email protected]>:
> 2009/6/26 Vincent Snijders <[email protected]>:
>>
>> This works on windows (form with on button):
>> procedure TForm1.Button1Click(Sender: TObject);
>> begin
>>  Application.Title:='New Name';
>> end;
>>
>> Maybe you don't give windows time to make that change, because you are
>> processing. (one long event handler without processing message)
>>
>> Vincent
>>
>>
>
> Right, I tried it in one of the buttons I have and it works: it
> changes the taskbar title, but not the form caption (which I can
> change through the property).
> But I cannot see it work during the calculations, even if I call the
> Application.ProcessMessages that was already there to update a
> progress bar.
> However, it must be an update problem, because the ShowMessage dialogs
> that appear between the steps of the calculations are use the correct
> Application.Title.
>
> R#
>

The taskbar is update much less frequently than the other graphics;
does anyone know if I can send a message to windows to have it
refreshed every once in a while ?

Thanks,

  Roberto

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to