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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,447
» Latest member: tunnelwash
» Forum threads: 1,911
» Forum posts: 9,426

Full Statistics

Online Users
There are currently 157 online users.
» 1 Member(s) | 152 Guest(s)
Applebot, Bing, Google, Yandex, Ashish_Mehra

Latest Threads
Final thoughts on IW docu...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
Yesterday, 08:40 PM
» Replies: 4
» Views: 320
TBeforeExecuteHandler de...
Forum: IntraWeb General Discussion
Last Post: giorgio_c
05-26-2023, 09:23 PM
» Replies: 0
» Views: 53
IWRadioGroup to HTML
Forum: IntraWeb General Discussion
Last Post: matija
05-25-2023, 09:08 AM
» Replies: 0
» Views: 54
Best practice regarding S...
Forum: IntraWeb General Discussion
Last Post: jimmy11
05-25-2023, 03:11 AM
» Replies: 23
» Views: 25,728
connecting to a JavaScrip...
Forum: IntraWeb General Discussion
Last Post: Сергей Александрович
05-25-2023, 02:33 AM
» Replies: 0
» Views: 60
IW OAuth2 Question
Forum: IntraWeb General Discussion
Last Post: ioan
05-24-2023, 08:57 PM
» Replies: 4
» Views: 280
How to change the value o...
Forum: IntraWeb General Discussion
Last Post: baxing
05-24-2023, 10:06 AM
» Replies: 4
» Views: 233
Set property to auto (Pri...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
05-24-2023, 08:26 AM
» Replies: 1
» Views: 120
IW 15.3.6 & C++Builder 11...
Forum: IntraWeb General Discussion
Last Post: StephanM
05-23-2023, 02:44 PM
» Replies: 2
» Views: 190
ProgressBar while FTP ret...
Forum: Indy General Discussion
Last Post: zsleo
05-22-2023, 06:04 AM
» Replies: 4
» Views: 228

  TBeforeExecuteHandler definition
Posted by: giorgio_c - 05-26-2023, 09:23 PM - Forum: IntraWeb General Discussion - No Replies

Hello, I cannot find anywhere the TBeforeExecuteHandlerProc definition.
I'm trying to use the TContentForm.Create(aFormClass: TIWAppFormClass; DoBeforeExecuteCallback: TBeforeExecuteHandlerProc = nil); reintroduce; overload;
I guess if I can use the DoBeforeExecuteCallback in order to invoke an action immediately after my TContentForm is created. I can use a different approach for my needs of course, but I would like to examine the TContentForm.Create methods in depth.
Thank you

Print this item

  IWRadioGroup to HTML
Posted by: matija - 05-25-2023, 09:08 AM - Forum: IntraWeb General Discussion - No Replies

How IWRadioGroup translate to input in HTML Bootstrap template

Name of IWRadioGroup is eLang with two options

Now in HTML template define {%eLang%}

I woudl work: 

<input type="radio" id="radio-one" name="ELANG" value="yes" checked/>
<label for="radio-one">English</label>
<input type="radio" id="radio-two" name="ELANG" value="no" />
<label for="radio-two">German</label>

Print this item

  connecting to a JavaScript scanner project
Posted by: Сергей Александрович - 05-25-2023, 02:33 AM - Forum: IntraWeb General Discussion - No Replies

Good afternoon! I have no experience with JS.

I need to connect a QR code scanner to my project. (https://github.com/nimiq/qr-scanner)

I copied the files to my project directory

and added to ContentFiles

As far as I understand, this is how I connected the scanner to my project.

And now the question arises how to use it.

The description indicates a Webcam scan
1. Create HTML
Create a <video> element that should display the video stream from the webcam:


How to do this in IW ?

Print this item

  Set property to auto (Priority support)
Posted by: valmeras - 05-19-2023, 07:39 PM - Forum: IntraWeb General Discussion - Replies (1)

I am using C++ Builder 10.2.3 with Intraweb 15.3.6
Is there a way to set the width or the height of a component to 'auto'?
Even with components like TIWImage which has autosize property, I would like to be able to set one property fixed and the other one auto?

Print this item

  IW 15.3.6 & C++Builder 11.3
Posted by: StephanM - 05-19-2023, 03:33 PM - Forum: IntraWeb General Discussion - Replies (2)

I just upgraded to C++Builder 11.3. 
Got the latest IW 15.3.6 and installed it. No problem during install, but C++Builder won't load it when launching!
  Can't load C:\Users\smahaux\Documents\Embarcadero\Studio\22.0\Bpl\dclIntraweb_15_D11.bpl
  The specified module could not be found.
  Do you want to attempt to load this package next time?

BUT, when I look in that folder the BPL is there!

So I don't know what to do about it. Any advice?

UPDATE: I moved the dclIntraweb_15_D11.bpl to a public documents folder, and now it can load.

I hope that'll help someone else.

Print this item

  New OAuth demo
Posted by: Alexandre Machado - 05-18-2023, 08:41 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi guys,

Following version 15.3.6 release, we took some time to create a comprehensive demo showing some of the OAuth features:


This demo shows:

1) How to obtain the access token from one of the supported APIs (Google, MS Azure, Facebook)
2) How to save this information to the databased and how to use it to validate subsequent visits from the same user
3) How to create a browser side token (linked to the access token) and use it as a cookie to identify returning users
4) How to refresh/revalidate the access token

You will find a bit of code and information in the UserSessionUnit.pas unit file.

Remember that the demo won't work straight away if you just download and run it, because each IntraWeb application needs to use it's own Google/Azure/Facebook credentials, meaning that the IW developer needs to create and register an application with one or more of the supported APIs and use that information when configuring your IW application. See the instructions on the main form of the application and also check the code in ServerController.

Hope you guys find it useful.  Big Grin

PS: This demo requires version 15.3.6 (or later): https://www.atozed.com/2023/05/intraweb-15-3-6/

Print this item

  How to change the value on the fly?
Posted by: baxing - 05-18-2023, 06:14 AM - Forum: IntraWeb General Discussion - Replies (4)


Is there a way? If when done use the command JavaScript (may be calling a JS function or changing a variable in JS) with Dephi and let that command run. without having to wait for the end of that Event

I would like to expand on the above message as follows. :

Because of that from which I tested for example
Inside the event of IWBTN1AsyncClick
I have a loop, or a Delphi subcommand loop, to do something. And in the meantime I want to change JS variable values or call JS functions with Delphi.
Let me give you a simple example:

for I := 0 to 100 do
  for J:= 0 to 10000000 do
  //--DO something
  //-- Call JS function to update progress value :
  WebApplication.CallBackResponse.AddJavaScriptToExecute('UpdateProgress("Processing..", "' + I.tostring +'");');
  // WebApplication.ExecuteJS('UpdateProgress("Processing..", "' + I.tostring +'");');
  // AddToInitProc('UpdateProgress("Processing..", "' + I.tostring +'");');
  // IWBTN1.AddJavaScriptToExecute('UpdateProgress("Processing..", "' + I.tostring +'");');

  //-- or Maybe Update JS value :
  WebApplication.CallBackResponse.AddJavaScriptToExecute('MyPlVar = ' + I.tostring + ';');
  // WebApplication.ExecuteJS('MyPlVar = ' + I.tostring + ';');
  // AddToInitProc('MyPlVar = ' + I.tostring + ';');

Or to give a clearer example, let's say I have a JS Plugins to display the Cricle Pregress Loader and show the value as a percentage. while some operations are in progress This will prevent the user from clicking anywhere and knowing that the process is in progress.

But the result is not what I want.
That is, the value that I want to change or the function that I want to call. It wasn't immediately called. But only to be called at the end of the event of IWBTN1 being clicked.

Please suggest me what should I do or use.

Thank you  Huh

Print this item

  ProgressBar while FTP retreive
Posted by: zsleo - 05-18-2023, 03:51 AM - Forum: Indy General Discussion - Replies (4)

I need users to download large files (up to 800 MB)  using Indy FTP.

I am able to update the progress bar using TTask for some other lengthy processes but as soon as I start the FTP get file the procress bar stops updating.

Does anyone have a soultion for this issue.


Print this item

  IW 15.3.6 is out
Posted by: Alexandre Machado - 05-17-2023, 06:02 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi guys,

there is a new update available:


This version brings integration with Facebook OAuth API, extensions to the OAuth infrastructure, and some fixes as well.

New OAuth demo is being uploaded to our github repo 

Enjoy!  Big Grin

Print this item

  Prepopulate TIWFileUploader
Posted by: StephanM - 05-12-2023, 07:12 PM - Forum: IntraWeb General Discussion - No Replies

Is there a way to assign a file to a TIWFileUploader?
Let's say the user goes back to a page and I want to show what was uploaded last time they were on that page.

Print this item