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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 99,687
» Latest member: clientdemositeco
» Forum threads: 2,426
» Forum posts: 11,373

Full Statistics

Online Users
There are currently 978 online users.
» 0 Member(s) | 974 Guest(s)
Applebot, Bing, DuckDuckGo, Google

Latest Threads
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 371
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 408
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 312
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 655
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 381
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 824
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 337
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,530
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 503
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,228

 
  Problem with Render at Intraweb 15.2.3
Posted by: Rolphy Reyes - 06-22-2020, 03:42 PM - Forum: IntraWeb General Discussion - Replies (13)

Hi!!

First, let me said that the new property RenderAsync and the method  RefreshAsyncRender are fabulous.

A lot method in the application pass from Sync to Async style.

Now, let me explain my problem. Is normal that the application has the Master/Detail relationship within.

Based on that, my form has the following:

- A TFrame serving as a header to indicate where the user is logged in and other information (align to Top).
- A TFrame with multiple buttons, to carry out the different operations of the CRUD and a TDataSource that serves to enable / disable depending on the state of the TDataSet associated with the TDatSource. All CRUD operations are done in the OnClick (submit) event (align to Top under the other frame).
- Several DB-controls in the form (TIWDBLookupComboBox, TTIWDBAdvEdit, TIWDBCheckBox, TTIWDBAdvDateEdit), those control are connected to the TQuery master.
- TTIWDBAdvWebGrid connected to the TQuery detail.
- TIWModalWindow
- IWregion with several controls Non-Db and an IWButton (for adding the record to the TQuery detail); which is call by the TIWModalWindow.


I think this is an standard way of a common Form with a Master/Detail relationship.

Now the process is as follows:
- The user clicks on the add button of the TFrame.
- The user fill all of the DB-Controls place on the TForm.
- The user clicks on the button that show the TIWModalWindow
- The user fill all of the non DB-Controls of the TIWModalWindow
- The user clicks on the save button of the TIWModalWindow, in that moment the TQuery master calls the Post method (saving the data directly in the database) and putting in Edit mode the TQuery master then the TQuery detail calls the Post method (getting the value of the primary key field of the TQuery master, saving the data directly in the database too).

After that, the user clicks on the Save button of the TFrame, this button have some validation of the data and generate other data then calls the Post method of the TQuery master. All this process of this button in on the OnClick event (submit); the previously stored data from the TQuery Master "disappears" from the DB-controls and the validations say that information is missing and therefore the call to the Post method fails.


All of this works perfectly on Intraweb 15.1.22 and fails on 15.2.3.

I don't have an example on hand where I can show this behavior but I do see this in the actual application in both my development and production environment.

Do you understand what I just said?

Many thanks!

Print this item

  É possível fazer master-detail entre dois IWDBGrid ou com o novo IWjQDBGrid
Posted by: willmom - 06-22-2020, 01:21 PM - Forum: IntraWeb Dúvidas Gerais - Replies (1)

Olá,

Por favor, algum pode me ajudar?

É possível fazer master-detail entre dois IWDBGrid ou com o novo IWjQDBGrid (Registros Pai e Filhos ) ?

Cada DBGrid está ligado a uma Query conectada no Banco de Dados.

O que eu queria é quando clicar em alguma linha do DBGrid Pai, os registros do DBGrid Filho são atualizados.


Obrigado,

Print this item

  Is it possible to master-detail between two IWDBGrid or with the new IWjQDBGrid (Pare
Posted by: willmom - 06-22-2020, 01:17 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi,

Please, can anybody help me?

Is it possible to master-detail between two IWDBGrid or with the new IWjQDBGrid (Parent and Child Records)?

Each DBGrid is linked to a Query connected to the Database.

What I wanted is when you click on any DBGrid Parent row, the DBGrid Child records will be updated.


Thank you,

Print this item

  TIWImage and EXIF tag
Posted by: valmeras - 06-19-2020, 07:48 PM - Forum: IntraWeb General Discussion - Replies (5)

I am using Intraweb 14.2.7 with C++ Builder Rad Studio 10.2.3
I have noticed a problem with the display of pictures in TIWImage specially with mobile devices.
When I upload a picture into TIWImage, it seems vertical as expected. But when I try to rotate it, it appears that in fact it was rotated -90 degrees.
It seems that the problem is related to pictures EXIF tag.
So, is there a parameter to setup with TIWImage so that it will upload all pictures vertically despite the EXIF tag ?

Print this item

  Options to Deploy IW 15 apps
Posted by: FAlvarado - 06-19-2020, 05:08 PM - Forum: IntraWeb General Discussion - Replies (7)

Hi All!

I used to develop a couple of IW 14 web apps in the past. They were deployed as Windows Services in an intranet, so no problem at all. Now, I'm evaluating the development of a IW 15 application hosted by a external service (like GoDaddy in Mexico). This application will use database (SQL-Server or MySQL)

My questions are:

What is the recommended option to use (stand alone, http.sys, service...) for a hosted IW application developed with IW 15?

What should I look for (or ask for) before purchasing a plan in the hosting service?

Is it possible to develop as a Windows Service and then change it to stand alone or http.sys?

Best Regards
Francisco Alvarado

Print this item

  Intraweb under load
Posted by: reallyethical - 06-19-2020, 02:41 PM - Forum: IntraWeb General Discussion - Replies (2)

We are looking at Intraweb and considering it for a Web App that will have around 1000 users per hour. 

This will be to complete simple forms with validation and AJAX callbacks on some checkboxes for validation and flow. 

The question is:

Can Intraweb native server as a windows service cope with significant usage

I have seen elsewhere people say that the Intraweb standalone server is not really for deployment but that is contradicted by the release notes. 

Please let me know your opinions, if it is not the right solution then I am happy to look at other options. 

Thank you all for your help and assistance in advance.

Print this item

  Strange (unexpected) OnAsyncExit behavior
Posted by: SorenJensen - 06-19-2020, 01:05 PM - Forum: IntraWeb General Discussion - Replies (5)

Hi All,

I'm experiencing a strange (read: unexpected) behavior using an IWEdits OnAsyncExit procedure, and it easy to recreate in a really simple test:

Create a simple form with two IWdit components, IWEdit1 and IWEdit2, having taborder 0 and 1. 
Use the FormShow event to IWEdit1.SetFocus.
Add the following line to the IWEdit1.OnAsyncExit event:

If IWEdit1.Text = 'AA' then IWEdit2.Text := 'BB';

Run the program and press tab when IWEdit1 has focus. The Text property of IWEdit2 is correctly selected.
Now, jump back to IWEdit1 and enter AA and press tab again.
Correctly the contents of IWEdit2.Text is set to BB, BUT instead of having BB as a selected text, it is not selected and the cursor is placed after the text.
Again, jump back to IWEdit1, still containing AA, and press TAB again.
Now IWEdit2 still has BB as contents, but it is selected as it should be.

It is ONLY wrong, when the contents of the text is changed AND the focus is shifted to the component at the same time.


Anybody know why and how I can avoid this ?

Further test: if I add another IWEdit (or other tababel component) in between IWEdit1 and IWEdit2,changing the tab order accordingly, the problem goes away and everything is as expected.

So: the problem is only when the contents of the IwEdit component being jumped to, is changed by the onasyncexit procedure of the Iwedit being jumped from. I suspect it has something to do with the order in which the events, OnExit, OnChange and OnEnter, is handled, but I admit I'm only guessing.

NB! I'm still on 10.3.2 with updates and 15.1.17.

Print this item

  TIdTCPClient on Android: Can't catch Exception Popup - Socket Error #107
Posted by: Peter_WB - 06-18-2020, 09:25 AM - Forum: Indy - Replies (4)

In our Application we offer connect to our server by in 2 ways - by URL (when we are in LTE network) or direct by IP (when we are in same WLAN network as the server).

The app tried to connect the URL first, an when not available (EIdSocketError occours) then we try to connect by direct IP address. On IOS this is working perfect.

On Android, the Indy 10 pop up with a Message Box 'Socket Error 107' when we try to connect to an URL which is not available yet.

We are not able to catch the exception in our code, so our app is not able to handle this.

How can we get the Socket Error 107 instead a popup to the user ??

Here are the relevant code segments. Thanks in advance.

Code:
private
  { Private declarations }
  FClient: TIdTCPClient;

// -----------------------------------------------------------------------------
// Erzeugen
constructor TAppComThread.Create(OnMsgEvent: TComEvent);
begin
  FClient := TIdTCPClient.Create(nil);
  FClient.OnStatus := OnStatus;
  FClient.OnConnected := OnConnected;

  FClient.ConnectTimeout  := c_TcpConnectTimeout;
  FClient.ReadTimeout    := c_TcpReadTimeout;

end;

//------------------------------------------------------------------------------
//  Ausführen
procedure TAppComThread.Execute;
var

begin

  while not Terminated do
  begin

    Sleep(10);

    // Connect now
    if bConnectFlag then
    begin
      bConnectFlag := false;
      Try
        FClient.Port := c_TcpPortPersonen;
        FClient.Connect;
      Except
        On E: EIdSocketError Do
        begin
          bConnectionFailed := true;
          ReplyMessage('167: No Socket at '+ FClient.Host);
        end;

        On E: Exception Do
        begin
          bConnectionFailed := true;
          ReplyMessage('172: No Connection to '+ FClient.Host);
        end;
      End;
    end;
  end;
end;

Print this item

  Can anyone indicate any example of how to implement CAPTCHA in IntraWeb?
Posted by: willmom - 06-17-2020, 06:12 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi,


Can anyone indicate any example of how to implement CAPTCHA in IntraWeb?


Thanks!

Print this item

  Alguém pode indicar algum exemplo de como implementar CAPTCHA no IntraWeb?
Posted by: willmom - 06-17-2020, 06:09 PM - Forum: IntraWeb Dúvidas Gerais - No Replies

Olá,


Alguém pode indicar algum exemplo de como implementar CAPTCHA no IntraWeb?



Agradeço!

Print this item