Welcome, Guest |
You have to register before you can post on our site.
|
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
|
|
|
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>
|
|
|
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
/js/qr-scanner.min.js
/js/qr-scanner-worker.min.js
and added to ContentFiles
/js/qr-scanner.min.js
/js/qr-scanner-worker.min.js
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:
<video></video>
How to do this in IW ?
|
|
|
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!
Error:
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.
C:\Users\PUBLIC\Documents\Embarcadero\Studio\22.0\Bpl\dclIntraweb_15_D11.bpl
I hope that'll help someone else.
|
|
|
How to change the value on the fly? |
Posted by: baxing - 05-18-2023, 06:14 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Hello,
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:
Code: for I := 0 to 100 do
begin
for J:= 0 to 10000000 do
//--DO something
begin
end;
//-- 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 + ';');
end;
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
|
|
|
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.
TIA
|
|
|
|