| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 274
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 209
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 223
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 530
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 279
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 703
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 258
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,332
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 397
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,047
|
|
|
| C++ FMX Ping function missing |
|
Posted by: scotty - 09-17-2021, 07:57 PM - Forum: Indy
- Replies (1)
|
 |
Hi All,
I saw a video of how to do a ping in an Embarcadero C++ builder VCL form. But when I try it on an FMX form, the PING function does not exist.
Is PING in FMX, in the works? or is there a work around or an upgrade maybe?
Thanks,
Scotty.
|
|
|
| After SendFile Exception GotoURL |
|
Posted by: matija - 09-17-2021, 10:03 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
My case:
Define IWServerControllerBaseConfig
with THandlers.Add('', 'main', TContentForm.Create(TMainForm)) do
begin
CanStartSession := true;
RequiresSessionStart := false;
end;
with THandlers.Add('', 'help', TContentForm.Create(THelpForm)) do
begin
CanStartSession := true;
RequiresSessionStart := false;
end;
I have in HelpForm Download Button for my PDF.
procedure DownloadButtonClick(Sender: TObject) ;
begin
WebApplication.SendFile('My.pdf', true, '','');
WebApplication.GotoURL('/main');
end;
OnClick -> ERROR Exception error raised, with message : Reply type already set.
|
|
|
| Refresh template |
|
Posted by: matija - 09-15-2021, 11:43 AM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
My case:
with THandlers.Add('', 'form1', TContentForm.Create(TForm1)) do
begin
CanStartSession := true;
RequiresSessionStart := false;
end;
with THandlers.Add('', 'form2', TContentForm.Create(TForm2)) do
begin
CanStartSession := true;
RequiresSessionStart := false;
end;
Both Forms have mastertemplate.html. I this template dynamic Javascript in div create Bootstrap mega menu depending of language user.
mastertemplate.html <div id="menu"></div>
WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA fill this div with timer in tform1 and tform2. This work. I can not refresh this template OnCreate or OnShow thats why timer in form.
<div id="menu">
<ul>
<li><a href="form1">Form1</a></li>
<li><a href="form2">Form2</a></li>
</ul>
</div>
RefreshTemplate function is define in UserSession and run in timer individual form.
If i have open Form1 and click again link to form1 then load mastertemplate empty div for menu!
Is a change only refresh mastertemplate for all forms?
|
|
|
| Terminate and Re-Login Page |
|
Posted by: matija - 09-14-2021, 06:52 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Terminate my session with
GGetWebApplicationThreadVar.Terminate('<!DOCTYPE html><html><head>...</head><body>... <a href="https://mypage.com">Re-Login</a> ...</body></html>');
I this command i have <a href> link for Re-Login my page
I dont want this https://... i my href! Is not flexible. If set href="#" i get https://mypage.com/$/temp/eehrtbdfiojgt when if terminate.
How set href?
|
|
|
|