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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 107,003
» Latest member: taisunwinapporg
» Forum threads: 2,438
» Forum posts: 11,403

Full Statistics

Online Users
There are currently 1990 online users.
» 2 Member(s) | 1985 Guest(s)
Applebot, Bing, Google, fp5app2, keonhacailaw

Latest Threads
Strict CSP Implementation
Forum: IntraWeb General Discussion
Last Post: Mario Villalba
10-29-2026, 06:32 PM
» Replies: 0
» Views: 59
Form doesn’t resize with ...
Forum: IntraWeb General Discussion
Last Post: BathDragonfly
10-29-2026, 09:48 AM
» Replies: 0
» Views: 53
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-29-2026, 07:38 AM
» Replies: 5
» Views: 486
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:31 AM
» Replies: 0
» Views: 136
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:30 AM
» Replies: 0
» Views: 128
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 156
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 727
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 282
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 724
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 411

 
  Delphi Rio 10.3.1
Posted by: davidbaxter - 02-16-2019, 04:45 AM - Forum: IntraWeb General Discussion - Replies (6)

Tried to update my bundled IntraWeb to version 14. Went through the process to get a key (it starts with +0010ABG...) and used it for the install. The install completed fine, as near as I can tell, but when I start up Rio, I get a message that my key is not valid for my version of Delphi. Could it be the recent 10.3 to 10.3.1 update that was just released?

Edit: After the error comes up - Error code 30 - Delphi will continue to load, but there are no IntraWeb components on the pallet. However, I can load some of the example projects and run them.

Print this item

  CreateAnonymousThread Usage?
Posted by: cpstevenc - 02-13-2019, 08:33 PM - Forum: IntraWeb General Discussion - Replies (4)

Greetings!
Using Tokyo 10.2.3
IW 14.2.7

I started a new "Test" object to do some proof of concept stuff work work.

Currently I have a REST server wrote that we use FMX iOS/Android apps talk to. Works great for past 2.5+ years.

I have code that works with XSuperJSON/XSuperObject and some custom code to wrap all communications
and to wrap up JSON into objects.  This works great too.


Sooooo... I took this existing code from my FMX app and put it into a VCL IW stand alone server program.

Since the calls may take upwards of 10-15 seconds to run while it hits up the REST server.. REST server hits up a database back end,
does its magic and sends back... I wanted to use a thread.

I have something that "works" but not 100% sure if this is the proper way.... or can be done better.

Code:
..
..
  private
    salesSearchRequest: TSalesSearchRequest;
  public
  end;

..
..
procedure TIWForm117.btnGoClick(Sender: TObject);
begin
  IWMemo1.Clear;

  salesSearchRequest := TsalesSearchRequest.create;
  salesSearchRequest.serveraddress := 'myserver.com';
  salesSearchRequest.username := '<username>';
  salesSearchRequest.password := '<password>;
  salesSearchRequest.VIN := e_VIN.text;   /// <---- on the form itself, user types in a vehicle VIN 

  tthread.CreateAnonymousThread(
    procedure
    begin
      salesSearchRequest.Execute; // this takes the request and sends it out the REST server and does the magic to take the JSON response and turn it into object code.
    end).Start; // start the AnonymousThread so not to stop the user interface.

  IWTimer1.Enabled := true; // kicks off an Async timer that checks every 500ms

end;

..
..

..



procedure TIWForm117.IWTimer1AsyncTimer(Sender: TObject; EventParams: TStringList);
var
  idx: integer;
begin
  if assigned(salesSearchRequest) then
  begin

    case salesSearchRequest.State of

      jRunning: IWMemo1.Lines.Add('Waiting...'); // the salesSearchRequest is still running... so spit something out to memo box

      jComplete: // the salesSearchRequest is "finished" running... so now do something.
        begin
          IWTimer1.Enabled := false; // turn off timer 
          for idx := 0 to salesSearchRequest.inventory.inventoryresults.Count - 1 do
          begin
            IWMemo1.Lines.Add(inttostr(idx + 1) + ' : ' + salesSearchRequest.inventory.inventoryresults[idx].guid + // inventory GUID / ID
              '   ' + salesSearchRequest.inventory.inventoryresults[idx].year + '   ' + // year of vehicle
              salesSearchRequest.inventory.inventoryresults[idx].model); // model of vehicle
          end;
         freeandnil(salesSearchRequest);
        end;
    end;
  end;
end;
So in this case... I kick of the anonymousthread and start an ASYNC timer to check the status of the salesSearchRequest object.

Not sure if using the timer is the "best" way... it works... but is there a better method?

After the salesSearchRequest.execute;     I can't do "iwtimer1.enabled:=true;"  ... as nothing happens... but if i hit F5 to refresh the page,
then the timer starts working.  I don't know how or if even, so i can do something like

Code:
 salesSearchRequest.execute; // do my REST call magic
 iwTimer1.enabled := true;
 webapplication.updatestuff;
).start;
or if there is way to something with tthread.Synchronize that will play happy with IW client and can get code to kick off then to update the screen via async?
Any ideas would help! Smile
As mentioned, what I have today works... but I figure better to check in to see if better/proper ways of doing this.

Print this item

  Tie in A .JS file to work along with Intraweb?
Posted by: cpstevenc - 02-13-2019, 03:24 PM - Forum: IntraWeb General Discussion - Replies (3)

Greetings!
Using Tokyo 10.2.3
IW 14.2.7

I found a nice JS project to do auto complete / dropdown combo box setup.

Demo @ https://leaverou.github.io/awesomplete/

Can download ZIP file with everything.

I have fiddled with this in a few ways but I just can't seem to get the JS too hook with the TIWEdit control?

I've added these to the extraheaders

Code:
     <link rel="stylesheet" href="awesomplete.css" />
     <script src="awesomplete.js"></script>



Which seem to work, as if i look at the source of the page and click them, they load, so feel they are loading properly in the browser then.

I tried to do the "Combobox Dropdown" example at the bottom of the above page to hook to my IWEdit control but not been able to.

I modified their javascript to be included under the "JavaScript" property of the form.

I modified the names of the controls to look for.. IWEDIT1 , IWEDIT1CSS, ect.. but not exactly working.


I haven't had to use IW much in past few years, as product we have, has worked very well but now to finally add some
new features, and they want an autocomplete dropdown that works similar to this.  So figured hey, why not try and get this
guy to work.

Any tips would help alot!

Print this item

  TIWTimeEdit
Posted by: pvanwyk - 02-12-2019, 12:21 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi 

Does anybody know how the TIWTimeEdit component works? I'm looking for something to enter a time value into.

I'm not able to find any documentation/samples using this component.

We are using IW 15.0.17



Regards, Pieter

Print this item

  Overlay Web App
Posted by: ShaneStump - 02-10-2019, 07:21 AM - Forum: IntraWeb General Discussion - Replies (5)

Howdy!

Has anyone here successfully overlayed an intraweb app onto a web page? That is, run the application on top of another web page (kind of like a modal dialog)?

I have seen this technique being used by several of my competitors and I am thinking about seeing if it is an option for me.

All the best,

Shane

Print this item

  Delphi 10.2.3
Posted by: free26 - 02-06-2019, 12:59 PM - Forum: Indy - Replies (1)

Hi,

How can i find the version of indy ?

Print this item

  Wait cursor
Posted by: geremiah - 02-05-2019, 08:25 PM - Forum: IntraWeb General Discussion - Replies (2)

Is there an easy way to show the wait cursor to the user while the app is making some short tasks ?
Thank you.

Print this item

  WinForm WPF
Posted by: MagnusH - 02-05-2019, 10:37 AM - Forum: CrossTalk General Discussion - Replies (1)

Hi,

I'm wondering if crosstalk can handle .net WinForm controls or .net WPF controls so I can use them in Delphi?

Thanks.

Print this item

  TIndyHTTPServer 505 error
Posted by: admctfdotcom - 02-04-2019, 07:41 AM - Forum: Indy - Replies (1)

I have to create an application that talks to TIdHTTPServer.

I am using client-side component that surely composes HTTP 1.1 compliant request, yet the server responses with Error 505 - HTTP version not supported.

Any ideas on what could potentially cause that?

Print this item

  IW15 SSL issue (StandaloneSSL demo)
Posted by: Filip Demuynck - 02-03-2019, 01:05 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi,

I've successfully installed the required : 
libeay32.dll
ssleay32.dll
so the StandaloneSSL demo compiles and runs.
However, when i click on the link to open the secured form i get the following error messages, depending on the used browser :
Firefox : SSL_ERROR_UNSUPPORTED_VERSION
edge : cannot make a secured connection with this page
                           This can be because the site uses an outdated or insecure TLS-securetysetting.  If this keeps happening, please contact the owner of the website

internet explorer : cannot make a secured connection with this page
                           This can be because the site uses an outdated or insecure TLS-securetysetting.  If this keeps happening, please contact the owner of the website
chrome : ERR_SSL_VERSION_OR_CIPHER_MISMATCH

This is the last hurdle to take before i can launch my new website, so any help would be much appreciated (using the latest IW version 15.0.17 on Delphi 10.3

Kind regards,

Filip Demuynck

Print this item