| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 886 online users. » 1 Member(s) | 882 Guest(s) Applebot, Bing, Google, abigailredford
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 03:02 AM
» Replies: 0
» Views: 79
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 77
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 90
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 350
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 180
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 529
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 173
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,078
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 306
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 871
|
|
|
| SendFile inside a TIWCallbackProc3 |
|
Posted by: giorgio_c - 05-30-2023, 03:47 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
How can I have a WebApplication.SendFile(..) response into the TIWCallbackProc3 = reference to procedure (aParams: TStrings; out aResult: string; out aHandled: Boolean) callback?
I test for the request.
In some cases, I only have to assign aResult.
But in others, I have to run a download attachment.
The IW command is WebApplication.SendFile() / SendStream().
I assigned aHandled := true but I get "Uninitialized response" and no download starts.
So I added WebApplication.Response.Code := 200 so the error messages do not appears anymore, but no download starts.
Thank you.
|
|
|
| TBeforeExecuteHandler definition |
|
Posted by: giorgio_c - 05-26-2023, 09:23 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
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>
|
|
|
| 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
|
|
|
|