Is it possible to change WebApplication.ShowNotification background color?
I know that the background color changes accordingly the AType parameter (2nd parameter passed to the function).
Is it possible to override this?
I feel stupid to have to ask this after all these years programming, but I never got this properly sorted out.
I have a Form which is opened with ShowModal.
There is a Cancel button and an OK button.
The Modalresult Cancel button is set at design time to mrCancel.
But the Modalresult of the OK botton cannot be set to mrOK because I need to be able to break out of it, and let the user correct all invalid settings on the form.
So:
OkBtn.Modelresult = mrNone;
Form.OkBtnClick();
begin
if SomethingWrong then
begin
ShowMessage(Fix it!);
OkBtn.Modelresult := mrNone;
exit; // Form should NOT close
end else
begin
All okay, Close Form with Modalresult mrOK;
OkBtn.Modelresult := mrOK; // Nothing happens...
Form.Modalresult := mrOK; // has no effect
CLose; // Does NOT close with mrOK.
end;
This does not work.
What is the correct way to deal with a Modal form in such a way that the final Modalresult is mrOK but while still working it is possible to intercept the OKBtn from closing the form?
I am getting lots of attemps to login to my server. I have the IP address, but would like to display in the Debug Log the reverse DNS name of the offending IP.
I just found the IdDNSResolver, but cannot seem to find an example of a reverse DNS looklup (IP4).
When using TIWButton.Image.WebFontClass to create icon button, adjusting some property of the button (Css, Visible, Enabled) asynchronously will make the icon disappear.
To replay, create a IW project
1) In IWAppForm, add font awesome to contentFile (https://cdnjs.cloudflare.com/ajax/libs/f...me.min.css).
2) Add 2 TIWbutton.
3) 1st button set TIWButton.Image.WebFontClass to 'fa fa-plus'.
4) 2nd button create OnAsyncClick Event.
Code:
procedure TIWForm1.btnBugAsyncClick(Sender: TObject; EventParams: TStringList);
begin
// TIWControlImage for icon button break if change any of the below one in async
btnIcon.Css := 'test';
// btnIcon.Visible := not btnIcon.Visible;
// btnIcon.Enabled := not btnIcon.Enabled;
end;
- For sample attached (IWButtonBug.zip), click on bug button to replay the issue
Além disso, o novo servidor Indy foi ajustado para o IntraWeb, e apresentou aumento de desempenho de 20 a 25% em relação à versão anterior
Excepcionalmente, por um período de 30 dias, ofereceremos a todos os clientes IntraWeb com licença IntraWeb paga o mesmo desconto que oferecemos para renovação de assinatura, independente da data de vencimento da assinatura anterior. Nós realmente queremos que todos os clientes IntraWeb atualizem seus aplicativos IW e comecem a usar HTTPS/TLS 1.3 e, como bônus, obtenham um aumento de desempenho de 25%
Se precisar de qualquer outra informação, basta me enviar um e-mail (alexandre at atozed . com)
Besides that, the new Indy server has been tweaked for IntraWeb, and showed 20 to 25% performance increase compared to previous version
Exceptionally, for a period of 30 days, we will be offering to all IntraWeb customers with a paid IntraWeb license the same discount that we offer for subscription renewal, regardless of the subscription expiration date. We really want that all existing IntraWeb customers update their IW applications and start using HTTPS/TLS 1.3 and, as a bonus, get a 25% performance increase
If you need any other information, just drop me an email (alexandre at atozed dot com)