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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 83,860
» Latest member: fantangonet
» Forum threads: 2,412
» Forum posts: 11,323

Full Statistics

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

Latest Threads
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
Today, 03:30 AM
» Replies: 2
» Views: 35
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
Yesterday, 06:51 PM
» Replies: 0
» Views: 27
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
Yesterday, 06:35 PM
» Replies: 0
» Views: 12
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,225
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:04 AM
» Replies: 4
» Views: 591
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 55
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 761
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 132
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,787
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 570

 
  JavaScript Insertion Place
Posted by: ShaneStump - 03-15-2019, 02:13 AM - Forum: IntraWeb General Discussion - Replies (4)

Howdy All!

I have a region that is visible for the user to add some notes. If the user clicks outside the region, I want to close it. I have found the following code example:

https://jsfiddle.net/kym2rvyL/1/



I have tried adding a modified version of the function below to my form's Javascript property but it doesn't get called.

window.addEventListener('click', function(e){


if (document.getElementById('clickbox').contains(e.target)){
  alert("Clicked in Box");
  } else{
  alert("Clicked outside Box");
  }
})




Any idea what I am doing WRONG?

Thanks,

Shane

Print this item

  Can't load package dclIndyCore120.bpl
Posted by: didier.cabale - 03-12-2019, 04:43 PM - Forum: Indy - Replies (2)

Hi all,

on the installation on the dclIndyCore120.bpl, I get the following error message:

bds.exe - Entry Point Not Found
---------------------------
The procedure entry point @Idstack@TIdStackLocalAddressList@GetAddress$qqri could not be located in the dynamic link library C:\Users\Public\Documents\RAD Studio\6.0\Bpl\dclIndyCore120.bpl.

Note1: I successfully compiled all the required run-time and design-time package, and in the right order
Note2: I checked that no other dclIndyCore120.bpl library was already installed on the PC:
cmd run "where dclIndyCore120.bpl" gives me the path where the bpl has been sent by Note1
Note3: this problem occurs with Delphi2009 +Windows10

Thanks for your help

Print this item

  Array memory bounds issue
Posted by: bob9999 - 03-11-2019, 10:21 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi there.  I had an interesting situation in IntraWeb 15.0.17 in a 64bit Delphi 10.2.3 stand alone application.  I have the following array declarations in the user session unit.

    bTabOpenBottom : array [0..1] of boolean;
    bTabOpenTop : array [0..4] of boolean;

I had a bug in my program where I was attempting to read UserSession.bTabOpenBottom[2] from another form and the system merrily accepted the command and instead accessed the first element of the next array.  At least that is what the IW system looked like it did.  Took me a while to figure out why I was getting such odd results and when I changed the array declarations around and then my program behaviour would change.  Rather interesting when I figured out that the system allowed access to unknown memory outside of the array bounds.

The system should have actually have thrown an exception since bTabOpenBottom only has up to 1.  I just wanted to report this since I am used to applications crashing when this occurs or throwing some sort of exception.  This could lead to a IW crash on the server since who knows what memory is being accessed and windows may not like it.  Better to catch in testing with an exception or crash.

Cheers!

Print this item

  Unstable connection
Posted by: mhammady - 03-11-2019, 08:06 PM - Forum: IntraWeb General Discussion - Replies (2)

Some of our customers has unstable connection. This affect the AJAX callings and sometime caused unpleasant experience. Is there is a way i can check for such instability and lost AJAX callings and warn the user about it instead of blaming our system?

Thank you
Mohamed

Print this item

  Incorrect size and position of region in IW15
Posted by: v.lasquibar@telefonica.net - 03-11-2019, 06:32 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi
I have Delphi 10.2 Tokyo, and until past week I've used IW 14.2.8 to create an app. I've bought and installed IW 15.0.28 and reinstalled TMS Intraweb controls. Then, my application started to do strange things.  I'm going to describe one.
My application has a welcome form and, when the user chooses an option in a menu, moves to Form 1. This form is fully divided into 6 regions. Region 3 have some data I want to hide or to show, region 4 has a button hide/show, and region 5 has a grid. Region 6 is a footer band. When the user press button in region 4, region 3 hides (visible := False), and region 4 and 5 moves up. Region 4 fills all the remaining space. When user press again the button, Region3 is shown and Region 5 size is recalculated to fill the remaining space. That's the expected behaviour.
When the user clicks in a row in the grid, application opens a new form (so-called Form2, Detail) in same explorer page. This form has read-only information, and the user can only press a button to close this form. Then, Form1 is shown with the same data as before opening Form2. The question is:

  • If Region3 is visible when user opens Form2, when Form2 closes Form1 is shown correctly
  • If Region4 is hidden when user opens Form2, when Form2 closes the layout is:
          - Regions 1, 2 and 6 in its place (OK)
          - Region 4 just after Region 2 (OK)
          - An empty blank band with size aprox. equal to Region 3 height (bad), between Region4 and Region5
          - Region 5 just after the band, as if Region 3 was visible (bad)
I found a way of solve, but not programmatically. If I press button in region 4 (show Region 3) and press it again (hide Region 3) the page layout is corrected, every region is in its place with its corresponding size.
I've tried to execute the code associated to the "hide/show" button when I return from Form2, but doesn't work.

Obviously, I've observed this behaviour since I've installed new versions of both softwares (Intraweb and TMS controls); with the previous versions, the form worked fine.
Am I doing something wrong or, on the other hand, is a bug of Intraweb? Could you please help me with this problem?

 Best regards,

                     Venancio Lasquibar

Print this item

  IWDBNavigator Repainting
Posted by: geremiah - 03-11-2019, 05:37 PM - Forum: IntraWeb General Discussion - No Replies

I'm using a IWDBnavigator on a form. Pushing the insert button is showed an IWRegion linked to a iwmodalwindow with some data fields on it. The user would decide to cancel the data entry pushing one of the modalwindow buttons, so, from the code i cancel the dataset insert, but, i'm not able to update the navigator buttons. Is there a way to force the navigator to be repainted ?
Thank you.

Print this item

  Reconnect TIWimer
Posted by: Rassamaha78 - 03-09-2019, 04:46 AM - Forum: IntraWeb General Discussion - Replies (13)

If the connection is lost ( bad Internet ), the timer does not recover when the connection reappears. How to resume the timer when the connection is active again ?

The timer is triggered 1 time per second. I use the method OnAsyncTimer.

Print this item

Exclamation Intraweb blank page error
Posted by: jcmferreira - 03-07-2019, 06:49 PM - Forum: IntraWeb General Discussion - Replies (1)

Hello, good afternoon!

I represent RH3 Software and our license is active for Intraweb in version 14.0.31. We have developed a web portal with this technology, a legacy product of our company.

Recently some of our customers have complained about a problem that is taking our sleep: at some point, not specific, the use of the portal, the browser simply displays a blank page and it is as if the service had been deleted and just restarted the IIS. the portal returns to normal.

We have already activated the "ExceptionLogger" log of the ServerController and set the output to a file, in the same directory as the DLL. The place is allowed to read and write. But absolutely nothing is recorded. Not even the file is actually created.

This same portal runs on our internal structure and nothing goes wrong. But in these clients, "failure" persists.

Does anyone with a similar problem or with any one say so we can debug or find fault?

Print this item

  XE7 64-bit not working
Posted by: denville - 03-07-2019, 03:59 PM - Forum: IntraWeb General Discussion - Replies (32)

Forgive me for opening another thread but it is essential here that I get this going - I have staked my reputation on IntraWeb against almost irresistable opposition from the VS dot crap camp - so to recap ...

I have a clean install of XE7 on a 64-bit W7 PC with the latest IntraWeb release freshly downloaded and installed according to the instructions including removing the bundled edition.  On 32-bit platform an app builds and runs perfectly just like I am used to.

I start a new project in a new and completely different directory, adding 64-bit platform and removing 32-bit platform, I put a button on the IW form and build...

[ilink64 Error] Error: Unresolved external 'WinMain' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\15.0\LIB\WIN64\RELEASE\C0W64.O

I open Project | View Source where I know the main is located, there I see...

#if _WIN64
int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
#elif __WIN32__
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
#endif
{

So, I try renaming _tWinMain to just WinMain and rebuild - success !

Then I run the app, which immediately crashes out with "The application was unable to start correctly (0x0000007b)."

So there was obviously a reason why WinMain was renamed.  Now I am stumpped and need to make progress...

Help Alexandre my hero !!!

PS I should have said - I'm using C++ Builder not Delphi.

PPS...
Since the whole rational behind this new project is to add a Web form to the 64-vit VCL app....

I tried adding IW to a VCL application using the technique I developed last year (and which was so successful I published it in the then C++ Builder Journal) thinking this would navigate around the Linker error - which it did.  But unfortunately the program still crashed out on start-up with the same Unable to start correctly ... error as above.

I am quite willing to pay for support and a solution !


Denville.



Attached Files
.doc   IntraWeb - add a web page.doc (Size: 29.5 KB / Downloads: 0)
Print this item

  IWRegion/IWBSRegion in HTML template
Posted by: matija - 03-07-2019, 10:39 AM - Forum: IntraWeb General Discussion - Replies (17)

I use Delphi xe8 in combination with Intraweb 14.1.13. In my intraweb application I use HTML templates after bootstrap mode.
 
How do I have to insert (settting) a TIWBSRegion/TIWRegion into an HTML template that has some elements inside it?
 
Elements (TIWLabel/TIWBSLabel, …) lose their format!  But if they are not within TIWBSRegion/TIWRegion, the form is OK.
  
I also tried to use IWBootstrap elements, but not help.
 
Part of HTML template:
 
<div class="container-fluid">
     <div class="row">
          {%MyIWBSRegion%}
            <div class="col">
                  <h1><span class="badge badge-info">{% MyIWBSLabel0%}</span></h1>
                  <h2>{%MyIWBSLabel1%}</h2>
                  <h2>{% MyIWBSLabel2%}</h2>
             </div>
        </div>
</div>

Print this item