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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 84,123
» Latest member: preventcovidu16
» Forum threads: 2,412
» Forum posts: 11,326

Full Statistics

Online Users
There are currently 511 online users.
» 3 Member(s) | 504 Guest(s)
Applebot, Bing, Google, Yandex, dashmedia, preventcovidu16

Latest Threads
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
Yesterday, 02:41 PM
» Replies: 5
» Views: 91
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 54
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 25
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:19 AM
» Replies: 4
» Views: 4,249
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:04 AM
» Replies: 4
» Views: 612
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 78
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 775
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 140
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,872
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 575

 
  Get value from Javascript to Label
Posted by: matija - 07-17-2019, 08:23 AM - Forum: IntraWeb General Discussion - Replies (3)

In javascript I have a function that returns ID. 
I want to read this value from HTML javascript and display it on the Label.

procedure TMainForm.IWAppFormCreate(Sender: TObject);
begin

AddToInitProc('function GetId() { return 5; }');

end;


procedure TMainForm.IWAppFormShow(Sender: TObject);
begin
IWLabel1.Caption:= Here This ID from function GetId -> 5
end;

Print this item

  Browser Back Button Again #999,332
Posted by: ShaneStump - 07-16-2019, 11:17 PM - Forum: IntraWeb General Discussion - Replies (6)

Howdy All,

One of my competitors overlays the current web page with their web application and any attempt to leave the page (back button, entering a new URL, etc) pops up a dialog asking if you are sure.

Any idea on how to implement such a feature? Even if the user tries to change the URL?

Most of the grievances I get from my customers is because their customers use the back button, etc and screw up the web reservation process.

Thanks,

Shane

Print this item

  Installing IW 15.0.24 under Delphi 10.3.1
Posted by: Davide - 07-15-2019, 08:28 AM - Forum: IntraWeb General Discussion - Replies (2)

Hello,

I am trying to install IW 15.0.24 under Delphi 10.3.1.
The installation went well but I Don't find any IW tab and components under the components palette.
The path in library is well defined.
Any advice about how to get the components and wizards in my IDE?

Thank you,
Davide

Print this item

  New version 15.1.0 is now available
Posted by: Alexandre Machado - 07-14-2019, 09:15 AM - Forum: IntraWeb General Discussion - Replies (23)

Hi guys,

There is a new IntraWeb version available, 15.1.0

This version introduces several new features and enhancements.

Download link here: https://www.atozed.com/2019/07/intraweb-15-1-0/

See what's new here: https://www.atozed.com/2019/07/15-1-0-h/

Soon we are going to publish new blog posts and demos showing new features of IW 15.1

Notes:

  • TMS library should be compatible, but the user must rebuild all TMS packages from source code

  • CG Dev Tools users will need a new version from CG, once some changes in source code will be necessary

Print this item

  New IntraWeb updates available
Posted by: Alexandre Machado - 07-12-2019, 11:57 AM - Forum: IntraWeb General Discussion - No Replies

New update for IW 15 branch:  https://www.atozed.com/2019/07/intraweb-15-0-24/


New update for IW 14 branch:  https://www.atozed.com/2019/07/intraweb-14-2-12/


Later today we are going to release a new release with several exciting new features, IW 15.1! Stay tuned!

Enjoy!   Smile

Print this item

  IW App with Bootstrap 4 Demo!
Posted by: ShaneStump - 07-12-2019, 04:56 AM - Forum: IntraWeb General Discussion - Replies (6)

Howdy All!

I finally (after 3 extra months of committee decisions) have my new web reservations up on our demo site (it is in beta and demo mode).

Please let me know what you think:

VTS Web Reservations Version 3 (Demo)

The web app is responsive and will work with mobile/tablet/desktop browsers!

All the best,

Shane

Print this item

  IdHTTP Post problem
Posted by: BartKindt - 07-11-2019, 10:46 PM - Forum: Indy - Replies (1)

I am trying to post weather data to the OpenWeatherMap API server.
They use a RESTful server (API 3.0).
The documentation on this is totally incomplete.

Using a third-party program called 'ARC' and a lot of research, I discovered that in addition to adding the KEY to the URL, it is also required that *before* the HTTP Request the same KEY is send, which in this ARC program is called an 'Action', with a 'Name' and a 'value'.
In another application reference on the Internet the same name+value where added in what was called the 'Params' of this application.

The only Params I have been able to find in the IdHTTP Client is here:

IdHTTP1.Request.Authentication.Params.AddValue('appid',APIKey);

But this cannot be done because the 'Authentication' is not created.
And when I try to create it manually, I get a
[dcc32 Warning] Unit1.pas(224): W1020 Constructing instance of 'TIdAuthentication' containing abstract method 'TIdAuthentication.DoNext'

I am not even sure if this is the right location for this 'name' + 'Key'.

The OpenWeatherMap API does not do any negotiation; When the HTTP Post is not excactly correct, it just gives a '400' and disconnects.

OnAuthorisation and OnSelectAuthorisation are never called.

How am I to add these values to the HTTP Post, *before* the body containing JSON data is send?

Print this item

  IW17 progress
Posted by: joelcc - 07-10-2019, 06:20 PM - Forum: IntraWeb 17 - Replies (6)

I was just wondering if there is an eta on when iw17 might be released.

Print this item

  Advice about where put a code to websocket
Posted by: cprmlao@hotmail.com - 07-10-2019, 03:08 PM - Forum: IntraWeb General Discussion - Replies (5)

Hi,
I have many iw forms, all inherited from a standard iwform(TIWFormStd).
I have a MasterTemplate html to all my IWForms.
I have my websocket server component in servercontroller module(I don´t know  if this is the better place)
I need the websocket client available in all forms, because my app has a chat to users.
In that MasterTemplate, I have the next script code to connect to websocket server:

Code:
<script>
   function wschat()
    {
        if (!ws || ws.state()!='open'){
          ws = new sgcWebSocket('ws://127.0.0.1:5414/auth/url/admin/1234');
        }

       ws.on('open', function(evt){
          console.log(ws.state())
        });   
        ws.on('message', function(evt){
          console.log(evt.message)
        })
       
   }
    wschat()
</script>

My problem is that when I open a new iwform, I allways release the old iwform. As the old form is released, the websocket connection in the frontend  is  destroyed as well and recreated when the new IWForm is active.

I´d like to know some suggestions about where I can put the websocket client code to avoid  it.

Regards, Luiz

Print this item

  IdDateTimeStamp gives strange result
Posted by: jollytall - 07-09-2019, 10:20 AM - Forum: Indy - Replies (1)

I might have missed something, but tried a very simple code:

procedure TForm1.Button1Click(Sender: TObject);
  begin
  IdDateTimeStamp1.SetFromTDateTime(Now);
  memo1.lines.add(DateTimeToStr(Now));
  memo1.lines.add(IdDateTimeStamp1.AsISO8601Calendar);
  end;


and got the result:

9-7-19 12:06:56
2020-8-10T12:06:56,

i.e. the Year, the Month and the Day are all +1 compared to the real one. I tried other dates and always this offset.

Any idea?

I use Debian 9, Gnome 3.22.2, Lazarus 2.0.2., FPC 3.0.4, on 64 bit.

Print this item