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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,359
» Latest member: Elysiabrown
» Forum threads: 2,154
» Forum posts: 10,484

Full Statistics

Online Users
There are currently 237 online users.
» 0 Member(s) | 234 Guest(s)
Bing, Facebook, Google

Latest Threads
Call TPicture.Assign in a...
Forum: IntraWeb General Discussion
Last Post: lmengyew
04-26-2024, 09:48 AM
» Replies: 0
» Views: 58
Http.sys application prom...
Forum: IntraWeb General Discussion
Last Post: lmengyew
04-26-2024, 08:25 AM
» Replies: 2
» Views: 745
IntraWeb Bootstrap4 - dem...
Forum: IntraWeb General Discussion
Last Post: jindrich.volek
04-25-2024, 03:16 PM
» Replies: 0
» Views: 94
Dummy div in a IWRegion
Forum: IntraWeb General Discussion
Last Post: StephB
04-24-2024, 03:58 PM
» Replies: 2
» Views: 170
Create components at runt...
Forum: IntraWeb General Discussion
Last Post: PaulWeem
04-23-2024, 10:27 PM
» Replies: 1
» Views: 159
message when added TIWDBN...
Forum: IntraWeb General Discussion
Last Post: Mike_A
04-22-2024, 02:09 PM
» Replies: 6
» Views: 1,318
303 Redirect and Response...
Forum: IntraWeb General Discussion
Last Post: ALW2019
04-22-2024, 01:25 PM
» Replies: 3
» Views: 576
IW 15.5.9 IWChart
Forum: IntraWeb General Discussion
Last Post: PaulWeem
04-22-2024, 07:16 AM
» Replies: 2
» Views: 277
Data Decimation in ChartJ...
Forum: IntraWeb General Discussion
Last Post: iwuser
04-22-2024, 06:51 AM
» Replies: 8
» Views: 1,663
ClassicRegionDraw
Forum: IntraWeb General Discussion
Last Post: JuergenS
04-17-2024, 05:35 PM
» Replies: 0
» Views: 170

 
  Call TPicture.Assign in an IntraWeb application is much slower
Posted by: lmengyew - 04-26-2024, 09:48 AM - Forum: IntraWeb General Discussion - No Replies

Hello guys,

I'm using Delphi 12 and IntraWeb 15.6.0. I encountered an issue where calling TPicture.Assign in an IntraWeb application is much slower (2 to 3 times) than in a VCL application. Any idea what the cause might be?

I have attached a sample project for your reference. Thank you.



Attached Files Thumbnail(s)
   

.zip   d29.iw-picture.assign.zip (Size: 18.17 KB / Downloads: 1)
Print this item

  IntraWeb Bootstrap4 - demos, examples and booklets
Posted by: jindrich.volek - 04-25-2024, 03:16 PM - Forum: IntraWeb General Discussion - No Replies

Hello
do any IWBS4 demos, examples and booklets exist, please?
Thanks Jindrich

Print this item

  Dummy div in a IWRegion
Posted by: StephB - 04-24-2024, 12:30 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi all,
In my application, I have a blank IWRegion that I fill with a set of IWRadioButtons programmatically.
This is my code to create the buttons (I'm looping in a dataset to create several buttons).
[Image: btn_creation_fsysym.jpg]

And here is my HTML Template, that contains only one region for the moment, with some Bootstrap classes to display my buttons as a list.
[Image: template_yk1fgs.jpg]

When I open my form without any button created, everything is normal in my HTML source code.
[Image: empty_region_dsf4fb.jpg]

But when I create my set of buttons, a dummy div is added inside my region to encapsulate my buttons.
[Image: filled_region_gfh46x.jpg]

This dummy div breaks my render because the flex-direction assigned to my region is not applied to my buttons, and I'm looking for a way to avoid a CCS rule like

Code:
#IWREGIONRELATIONSMGR_FRAMEADMINPANEL div {
  display: flex;
  flex-direction : column;
}

Any idea or explanation about how to avoid this dummy div ?

Many thanks for your help.

Print this item

  Create components at runtime
Posted by: ramiroflores - 04-23-2024, 02:36 AM - Forum: IntraWeb General Discussion - Replies (1)

Hello,

I'm playing a bit with IntraWeb from Atozed software. I encountered a problem (maybe just my misunderstanding). For example, I can create a TIWLabel in the TIWForm.OnCreate event. Here it works the same as in Delphi, which is great. However, if I just want to create a TIWLabel when a button is pressed (AsyncClick event), the label is created but I can't force it to show.

Is there any way to do this? I just generate some text after the data is loaded from the database, and what is specifically loaded will be affected by the user. Pressing the button will then begin creating.

Thank!

Print this item

  ClassicRegionDraw
Posted by: JuergenS - 04-17-2024, 05:35 PM - Forum: IntraWeb General Discussion - No Replies

Hi Alexandre,

IW15.6.0
Registry entry ClassicRegionDraw

The entry must be of type REG_DWORD otherwise an error message will appear and it will not work.

I also don't remember entering the entries there by hand.

But no matter how it is set up, in my opinion the display is overall more confusing than in previous versions.

Regards
JuergenS

Print this item

  CompressorImplementation
Posted by: JuergenS - 04-17-2024, 05:27 PM - Forum: IntraWeb General Discussion - No Replies

Hi, Alexandre,

IW15.6.0
ServerController.Compression.CompressorImplementation:

The comp LibDeflate method is now activated by default and causes an access violation right at startup without further informations.
After switching to compZLib it works again


Regards
JuergenS

Print this item

Question How to manage forms and variable
Posted by: David1 - 04-17-2024, 10:37 AM - Forum: IntraWeb General Discussion - No Replies

Hello,

in my IW application each form has its own logic (procedure) to navigate to other forms based on user interaction.
Among other features the app manage an order entry procedure and many forms share the order infos.

I would like to manage the navigation between forms and the variable they share in a better and centralized way.
Is there some samples about how to control the app navigation in one "controller" class?

Is creating the copy of one object on the form to show a good practice to pass variables between forms (something like REACT immutable object) ?

Thank you,
Davide

Print this item

  iwjqdbgrid button example
Posted by: joelcc - 04-16-2024, 09:07 PM - Forum: IntraWeb General Discussion - No Replies

Does anyone have an example of how to insert an button into a column in an iwjqdbgrid?

Print this item

  New demo available
Posted by: Alexandre Machado - 04-16-2024, 03:54 AM - Forum: IntraWeb General Discussion - No Replies

There is a new demo showing how to use the new "template as resource" feature introduced in IW 15.6.0:

https://github.com/Atozed/IntraWeb/tree/...AsResource

In this demo all template and associated files (both .js and .css types) are linked directly into the executable as normal resources.

It is very interesting because you have a self-contained binary file which has everything that your application needs. For some specific scenarios this application has several "pros" like enhanced security (templates and files can't be easily changed without tampering with the executable itself) and simplified deployment (to be honest, deployment can't be easier than this).

I wouldn't say that this is for everyone but it definitely has its use.

Enjoy!  Big Grin

Print this item

  IntraWeb 15.6.0 is out!
Posted by: Alexandre Machado - 04-16-2024, 01:49 AM - Forum: IntraWeb General Discussion - Replies (11)

Hi guys,

another new and exciting IntraWeb release 15.6.0 is avaialble for download.

https://www.atozed.com/2024/04/intraweb-15-6-0/

This version brings the new libdeflate compressor for Delphi, which is 2 to 3 times faster than the standard Delphi zlib implementation and also faster than our previous zLib Cloudflare branch. On my development machine it is exactly 2.6 times faster than zlib when built with Delphi 11.3 or Delphi 12 and 12.1   Cool

Remember that HTTP(S) compression is an important part of most IW applications (SA, Indy and Http.sys) and just by compiling your application with the new 15.6.0 it will have an instant performance boost.

Enjoy!  Big Grin

Print this item