Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 106,398
» Latest member: gg88chat
» Forum threads: 2,434
» Forum posts: 11,394

Full Statistics

Online Users
There are currently 1814 online users.
» 0 Member(s) | 1811 Guest(s)
Applebot, Bing, Google

Latest Threads
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 68
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 612
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 248
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 05:21 PM
» Replies: 0
» Views: 232
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 663
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 381
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-06-2026, 09:31 PM
» Replies: 6
» Views: 1,434
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 884
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 541
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 918

 
  TIWEdit in a TIWGrid
Posted by: dave@corplogistics.co.nz - 10-23-2018, 09:14 PM - Forum: IntraWeb General Discussion - Replies (6)

IntraWeb v14.2.3 newbie.


I add an edit into a grid:

{Grid: TIWGrid}

var
  Edit: TIWEdit ;

begin
  Edit := TIWEdit.Create(Self) ;
  Edit.Parent := Self ;
  Edit.Alignment := taRightJustify ;
  Edit.Editable := True ;
  Edit.Text := '1' ;
  Edit.OnAsyncExit := edtAsyncExit ;
  Grid.Cell[1,2].Control := Edit ;
end ;

This puts the edit in the grid in the (sort of) correct place, I then edit the value in the grid (change 1 to 2), if I then add a new row the edit goes back to it's original value (1). How do I get this to work?

Print this item

  CGI Runner Demo
Posted by: Alexandre Machado - 10-23-2018, 09:32 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi guys,

there is a new demo which shows how to use the new TIWCGIRunner class (available in IW 15): 

https://github.com/Atozed/IntraWeb/tree/.../CGIRunner

You will find 2 projects there as part of CGIRunnerDemo project group:

CGIRunnerReport: A stand alone IW application which executes a CGI application

CGIReport: A std CGI application, WebBroker based, also created with Delphi, which generates a sample PDF report.

CGI applications can be used in several situations:
 
- you already have a working CGI application and want to call it from your new or existing IW application;
- You have a complex report which can't be easily ported to a multi-threaded application (have in mind that a CGI application behaves like a normal desktop application regarding multi-thread, i.e, a CGI application is basically a single-threaded console application). 
- You want to use and/or integrate 3rd party components - including report generators - which are not multi-thread friendly.

Print this item

  Bundled edition
Posted by: rhcarpenter - 10-22-2018, 02:35 AM - Forum: IntraWeb General Discussion - Replies (1)

I want to upgrade my bundled edition of Intraweb.  I have Delphi 10.2.  I wanted to upgrade to Intraweb v15.  However, the Bundled key generator sent me a new license key stating it would work with Intraweb 12 and 14.  Is there a way to get a free license key for Intraweb v15 in Delphi 10.2?

Randall H. Carpenter

Print this item

  IW15.0.14 error/change creating forms
Posted by: jeroen.rottink - 10-20-2018, 11:12 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi,

I updated from IW15.0.13 to IW15.0.14 and saw the following error.

My application uses cookies to support autologin. The first form, TDlgLogin, checks a cookie and if it's ok, bypasses the login form by creating the next application form.
In IW15.0.14 the TDlgLogin form is showed instead of the next application form.

Very simplified the testcase is this:


Code:
type
  TIWForm1 = class(TIWAppForm)
    IWLabel1: TIWLabel;
  public
    constructor Create(aOwner: TComponent); override;
  end;

implementation

uses Unit2;

{$R *.dfm}

{ TIWForm1 }

constructor TIWForm1.Create(aOwner: TComponent);
begin
  inherited;
  // start form2
  TIWForm2.Create(WebApplication).Show;
  Release;
end;

initialization
  TIWForm1.SetAsMainForm;

end.

This testcase doesn't show TIWForm2 in IW15.0.14 while it does work in IW15.0.13

Using Delphi 10.1 Berlin

Print this item

  [SOLVED] Error compiling Indy 10 in FPC and patch applied
Posted by: capslock - 10-18-2018, 11:58 PM - Forum: Indy - Replies (2)

I presume there is a little problem in Indy for FPC 3.0.4, Lazarus 1.8.4, Debian x86_64:

Compile package indylaz 10.6.2: Exit code 256, Errors: 2, Hints: 4
IdSSLOpenSSLHeaders.pas(17956,49) Hint: C arrays are passed by reference
IdSSLOpenSSLHeaders.pas(17958,64) Hint: C arrays are passed by reference
IdSSLOpenSSLHeaders.pas(17963,68) Hint: C arrays are passed by reference
IdSSLOpenSSLHeaders.pas(19230,65) Hint: Local variable "LLen" does not seem to be initialized
IdSSLOpenSSLHeaders.pas(19571,10) Error: function header doesn't match the previous declaration "GetCryptLibHandle:Int64;"
IdSSLOpenSSLHeaders.pas(18191,10) Error: Found declaration: GetCryptLibHandle:QWord;

The following patch avoid this error:

Index: trunk/Lib/Protocols/IdSSLOpenSSLHeaders.pas
===================================================================
--- trunk/Lib/Protocols/IdSSLOpenSSLHeaders.pas    (revision 5478)
+++ trunk/Lib/Protocols/IdSSLOpenSSLHeaders.pas    (working copy)
@@ -832,6 +832,9 @@
   sockets,
   {$ENDIF}
   SysUtils,
+  {$IFDEF FPC}
+  DynLibs,  // better add DynLibs only for fpc
+  {$ENDIF}
   IdCTypes;
 
 //temp for compile tests
@@ -18901,10 +18904,7 @@
   IdGlobalProtocols,
   IdResourceStringsProtocols,
   IdResourceStringsOpenSSL,
-  IdStack
-  {$IFDEF FPC}
-    , DynLibs  // better add DynLibs only for fpc
-  {$ENDIF};
+  IdStack;
 
 {$IFNDEF OPENSSL_NO_HMAC}
 procedure HMAC_Init_ex(ctx : PHMAC_CTX; key : Pointer; len : TIdC_INT;


I'd like to suggest it to Atozed Team. Maybe will be useful to commit in trunk.


Thanks,

G.A. Moennich

Print this item

  Bootstrap 4 Progress
Posted by: LorenSzendre - 10-17-2018, 11:39 AM - Forum: IntraWeb General Discussion - Replies (4)

Cards are finished. Had to add 8 new region types to make all the magic work!

Also finished component badges. Component badges were created because of the deep nesting of divs and other tags that is needed by Bootstrap. They are a little "in your face", so I'll probably have an option to disable them. But I have already gotten used to them.

I have included an image of the design-time IntraWeb page as well as the output, so you can see both badges and cards.

Cheers

   

   

Print this item

  IntraWeb 15.0.14 is out!
Posted by: Alexandre Machado - 10-17-2018, 09:23 AM - Forum: IntraWeb General Discussion - No Replies

Hi guys,

there is a new update for IntraWeb 15 branch, version 15.0.14:

https://www.atozed.com/2018/10/15-0-14/

version history here: https://www.atozed.com/2018/10/15-0-14-h/

Enjoy! :-)

Print this item

  Compression problems
Posted by: BartKindt - 10-16-2018, 08:34 PM - Forum: Indy - Replies (2)

I need to compress-decompress streams just before Indy transmits them.

There is a reason I want to do this manually, instead of using the Indy IdCompressionIntercept, but I still use the Indy functions:

CompressStreamEx(InStream, OutStream, clMax, zsGZip);
and
DecompressStream(InStream, OutStream);.

The problem is, the compression works perfectly, and I can save the Stream to disk, and a 3th party unzip program correctly detect the zip format, and can decompress it.

But when I call DecompressStream(InStream, OutStream), I get a "ZLib Error (-5)" in

IdZLib:

class procedure EZlibError.RaiseException(const AError: Integer);
var
  LException: EZlibError;
begin
  LException := CreateFmt(sZLibError, [AError]);
  LException.FErrorCode := AError;
  raise LException;
end;

I tried 3 different IdZLibHeaders but no difference.
I cannot find any documentation on the error, and it also does not show where it actually occurs.

Why is the Decompression not working?

Delphy 10.2.3

Bart

Print this item

  http.sys & ssl on ssllabs get C rating (vulnerable)
Posted by: ioan - 10-16-2018, 07:40 AM - Forum: IntraWeb General Discussion - Replies (7)

After changing one of my applications to use http.sys, the ssllabs rating went from A to C (vulnerable). Any idea why is this and what settings I have to make to get a better rating?

Well, it seems that I always find the answer after I post my question here :-)

This article explains what changes need to be made to get an A rating. You can also run the Powershell script from the article and it does all the changes. Now the mission for A+ rating begins.

Print this item

  IW Bootstrap 4
Posted by: LorenSzendre - 10-16-2018, 12:40 AM - Forum: IntraWeb General Discussion - Replies (3)

Just wanted to give everyone a heads up about the progress on the conversion of Kattunga's IWBootstrap3 components to IWBootstrap4.

I spent enough time in the code to realize where most of the "missing" elements were hiding. For instance, the anchor tag is simply part of the button component. And the DropDown component serves a lot of purposes.

Thus some of my early proposed changes to the IWBS3 code will not be needed. But there are some reasons to have some "stand-alone" versions of certain components, because as a component writer you cannot predict all the ways that users will use your components.

Anyway, here is a sneak preview of IWBoostrap 4.

Enjoy!

   

Print this item