| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 97,320
» Latest member: hlv88toop
» Forum threads: 2,426
» Forum posts: 11,371
Full Statistics
|
| Online Users |
There are currently 944 online users. » 2 Member(s) | 938 Guest(s) Applebot, Bing, Google, Yandex, hlv88toop, jikepeptidebio
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
3 hours ago
» Replies: 1
» Views: 101
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 99
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 111
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 389
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 199
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 562
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 189
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,131
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 323
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 922
|
|
|
| IntraWeb 15.5.8 TIWRegion Showing as white |
|
Posted by: CharCoil - 03-09-2024, 07:26 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
IntraWeb 15.5.8 TIWRegion Showing as white even when set to other color. This issue only effecting design as the color does take effect for actual application but the designer always showing the background as white. I just upgrade from 1.5.3.1 to 15.5.8 and ran into this issue. This issue even applies with creating a new project and placing IWRegion on the form and changing color.
I try this in Delphi 11.3 but also test it in Delphi EX2 and the same thing.
|
|
|
| Multipage websocket communication |
|
Posted by: davidbaxter - 03-08-2024, 09:31 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
I've a Delphi 12 VCL app that I'm using Intraweb and sgcWebsockets to develop a web page based remote control for. Use a browser to control the app as you would as if you were at the computer sort of thing. To make the web pages nice for iPhones and such, it requires 2 pages. I put a websocket server in the VCL app and a client on the first page of the Intraweb app. Works great. Buttons work, data flows back and forth. The problem comes when the web app is switched to the second page. The client on the first page disconnects. Adding a second client to the second page doesn't connect either. Tried adding a second server with diffferent port numbers on the VCL without success. I'm using the two page design outlined in the Intraweb 15 example "MultiPageAPP". How can I get both pages to 'talk'?
|
|
|
| IPPeerCommon was compiled with a different version |
|
Posted by: joceravolo - 03-05-2024, 09:02 PM - Forum: Indy
- No Replies
|
 |
Hi All,
After updating Indy I am getting this error.
[dcc32 Fatal Error] Unit1.pas(9): F2051 Unit IPPeerCommon was compiled with a different version of IdIOHandlerStack.TIdIOHandlerStack.CheckForDisconnect.
Any clues on how to fix this?
Thanks!
|
|
|
| what's triggered on page resize, using TemplateProcessor? |
|
Posted by: iwuser - 02-27-2024, 11:20 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
I'm using Templates, the page is responsive, but I have a control that is not. So, I have placed it on a Region, and so my region is now responsive and I was hoping to either have that control auto-resize with AlignClient, which it does not, or set that control's width to Region's width in some event - but now for the life of me, I cannot find any event that is triggered around that time that I can use.
Form events do not matter with Templates. Region's OnRender still has the original design sizes, so it's of no use. OnAlignPosition is never triggered.
Has anyone done that before?
|
|
|
| Bootstrap 5 integration |
|
Posted by: Ronald Krause - 02-27-2024, 11:16 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
We have a nice app in IW15 with Boostrap 4.6.2 running.
Now we are asked, for security reasons, to upgrade to the latest Bootstrap version (currently 5.5.3).
I cannot discuss if this makes sense, its a public institution, its in thier standards.
Is there any support for Bootstrap5 planned, in sight? Does anybody know if BS5 is compatible? Can I just replace the JS-files and continue with the BS4 Delphi components?
Any help appreciated.
|
|
|
| Data Decimation in ChartJS |
|
Posted by: iwuser - 02-26-2024, 11:32 PM - Forum: IntraWeb General Discussion
- Replies (10)
|
 |
The provided example is very simplistic: you give the chart 10 values and 10 / matching number of labels and that's it.
What do I do if I have a very long list of frequent readings for a small number of hours or days? - how can I stuff all these values into the chart and only have 24 hour labels? Or 7 days worth of labels? And possibly decimate it as well? My "X" values for the data points is in Unix time format - seconds from something in the past, or I can make it TDateTime instead, but I would want the few shown labels to refer to around the current time / date.
Also, if I have gaps in this data, I want it shown as a broken line - - - - - or something. Hopefully automatically, without actually looking for any gaps in the Delphi code.
It looks like ChartJS supports both, but I could not figure out how to feed this into the TIWChartJS component, hope you can help...
|
|
|
| TIWEdit format mask |
|
Posted by: troberts - 02-26-2024, 04:51 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Hi,
I need a control that the user can enter 20 digits into in 4 blocks of 5 separated by hyphens (ie 00000-00000-00000-00000)
Is it possible to use the DataTypeOptions.Pattern property to achieve this? If not are there any other suggestions?
Thanks,
Tim
|
|
|
| Things to be aware in Delphi 12 (where EMB broke lots of code out there) |
|
Posted by: Alexandre Machado - 02-14-2024, 01:04 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
After some more time playing with Delphi 12 and supporting different applications
1) Indexes in lists are now NativeInt. It means that in 32 bits, nothing changes, but in 64 bits it becomes a Int64.
Whatever TList, TStringList, TObjectList, etc. descendants that you have in your code where you have new Get() and Put() methods for the list you will need to rewrite and (the worst part) probably declare a new alias for the NativeInt type if you need to code to keep compatibility with older Delphi versions.
Warning: The compiler doesn't give you clear messages for this case.
I have really no idea why Embarcadero decided to do that, really. I asked Marco Cantu on his blog but seems that he didn't like/approve my question. Funny. 
2) OnCreate/OnDestroy events of Forms are triggered from AfterContruction/BeforeDestruction methods, not from Create/Destroy as before. It means that code where you override the contructor of the form and then initializes data inside OnCreate may start failing. Check this example:
Code: type
TMyForm = class(TForm)
procedure FormCreate(Sender: TObject);
private
FMyList: TStringList;
public
constructor CreateEx(AOwner: TComponent; aSomeItem: string);
end;
implementation
constructor TMyForm.CreateEx(aOwner: TComponent; aSomeItem: string);
begin
inherited Create(aOwner);
FMyList.Add(aSomeItem);
end;
procedure Tv6LayerEditor.FormCreate(Sender: TObject);
begin
inherited;
FMyList := TStringList.Create;
end;
The code above works perfectly fine since Delphi 1 but now on Delphi 12 it fails with an AV inside the CreateEx() constructor. This happens because FMyList is created only inside Form's OnCreate event (FormCreate above) which will only happen after the AfterConstruction has been executed. Until Delphi 11, the event would fire when calling the inherited Create() constructor.
Although I believe that this is "correct", especially because exceptions inside OnCreate event wouldn't cause the constructor to fail, the fact that there is no way to keep the old behavior is problematic.
There is no simple way to detect this problem unless through code inspection. In a huge code base it can take a long time and it's very error prone.
This is another change that I see no reason for and don't know how it got approved...
|
|
|
|