| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 531 online users. » 2 Member(s) | 524 Guest(s) Applebot, Bing, DuckDuckGo, Google, Yandex, ameenji, eddsworldshop
|
| Latest Threads |
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
Yesterday, 06:27 AM
» Replies: 6
» Views: 750
|
Need Help Integrating Mic...
Forum: IntraWeb General Discussion
Last Post: capheny
07-07-2026, 06:43 AM
» Replies: 0
» Views: 121
|
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
07-05-2026, 02:41 PM
» Replies: 5
» Views: 418
|
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 171
|
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 105
|
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,357
|
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 150
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 907
|
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 166
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 71,252
|
|
|
| Weird session form overlay issue and memory leaks |
|
Posted by: bob9999 - 01-21-2020, 09:54 PM - Forum: IntraWeb General Discussion
- Replies (16)
|
 |
Hi there. I have a really weird thing occurring in my project (IW15.1.7) that I wanted to post here to see if there is something wrong in the way the session state is kept or something I need to use a different approach or command for.
The form that I have been able to replicate the issue with is an AsyncClick event off of a IWImageButton. The form blinks and is like the form is reloaded. Then when I click on the button again, the new form is loaded (that is all this button is doing is just loading a new form) but the old form stays on the screen and the new one displays as well. All components are active and needless to say this is all rather confusing. Then I click on the refresh button and then the new form reloads without the old form there.
The other situation that is occurring that I cannot recreate (user just keeps running into this and complaining) is that I am on an existing customer form and all seems OK. Then I click on a button the same way (except this button is just a IWButton) and the new form loads 100%. Then when I click on the new customer button, this original form loads but will keep fields filled in rather than being blank from the beginning form that was loaded that started this situation. I tried to initialize the fields programatically just in case and in design the fields are all blank of course. I have traced all logic paths and cannot seem to find the issue so I am thinking something is occurring in the session layer like the situation above.
Situation 1 is like the async event is uninterrupted and the same form is just stuck. Then when click the button again it then overlays over the previous form instead of loading sovereign.
Situation 2 seems to be that the form is not loading sovereign and has an image from the last time it was loaded. I am going to review the data feed just in case but why would the fields still be displaying data when they are loaded fresh like this?
The way I load new forms is:
TfAdminSettingsGeneral.Create(WebApplication).Show;
Release;
So the old form should be released from session and memory but somehow there is a shadow kept from before. By the way, I have not posted this issue yet but there seems to be some sort of memory leak over time and I suspect this release command is not 100% releasing forms from memory. Over time my service gets too high in RAM usage and I have to restart the service.
Cheers.
|
|
|
| TIWTreeView SelectedItemStyle |
|
Posted by: JuergenS - 01-19-2020, 05:16 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Hi,
I correctly set the background color and the font color in the SelectedItemStyle property in a TIWTreeView.
For active and passive nodes with different font colors, I set the different font colors in the TIWTreeViewItems and not globally in the TIWTreeView.
When selecting a node, however, only the background color of the selected node is switched, NOT the font color!
C++Builder 10.3.3
Intraweb 15.1.12
Best Regards
Juergen
|
|
|
| New demo: New IWDBLookupComboBox features |
|
Posted by: Alexandre Machado - 01-18-2020, 10:45 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
In IW 15.1.11 we introduced 2 new properties in IWDBLookupComboBox and IWDBLookupListBox controls.
From the release notes:
Quote:DBLookupComboBox and DBLookupListBox new feature AutoSetListSourceCursor.
Allows automatic refresh/sync of DBLookupComboBoxes/ListBoxes when lookup DataSets are part of Master/Detail relationship
Here is an online demo showing how it works:
http://intraweb.net.br/DBLookupCombo/
This is the "gigantic" amount of code required to make this demo work (source in our github repo, link in the demo):
Code: unit Unit61;
interface
uses
Classes, SysUtils, IWAppForm, IWApplication, IWColor, IWTypes, Data.DB,
IWCompLabel, Vcl.Controls, IWVCLBaseControl, IWBaseControl, IWBaseHTMLControl,
IWControl, IWCompListbox, IWDBStdCtrls, IWCompGrids, IWDBGrids, IWCompButton,
IWCompText, IWHTMLControls;
type
TIWForm61 = class(TIWAppForm)
cbCountry: TIWDBLookupComboBox;
lblCountry: TIWLabel;
cbState: TIWDBLookupComboBox;
lblState: TIWLabel;
cbCity: TIWDBLookupComboBox;
lblCity: TIWLabel;
IWText1: TIWText;
IWURL1: TIWURL;
private
public
end;
implementation
{$R *.dfm}
uses
UserSessionUnit;
initialization
TIWForm61.SetAsMainForm;
end.
yes, there is no code other than code created by IntraWeb application wizard itself when a new project is created.
Absolutely ZERO lines of code!
Enjoy
|
|
|
| TTIWMainMenu (a TMS Intraweb Components control) and IW 15.1.6 + |
|
Posted by: Fabrizio Conti - 01-17-2020, 03:21 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hi,
I have a problem with a TMS Software control (TTIWMainMenu)
Starting from IW 15.1.6 TTIWMainMenu doesn't work in my applications.
I usually place a TTIWMainMenu in a frame that I insert in a form whenever I need it. It is very convenient and easy to maintain.
What happens is that TTIWMainMenu lost all the display settings (font, color, etc) and doesn't fire the OnAsyncMenuClick event.
Creating a new clean project I found that TTIWMainMenu works as usual if placed directly in the form, but not in a frame.
TMS suggested to post the problem in the Intraweb Forum because they didn't change the control.
Thanks
Fabrizio
|
|
|
| Leap year coding issue (perhaps) |
|
Posted by: msgopala - 01-16-2020, 03:42 PM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Seattle10
Intraweb 15.0.23
FastReports 5.0
TMS Intraweb PRO Components
Raize 6.2.1
Has anybody encountered a leap year issue while using IncYear function for dates.
I have a problem where if the start date is 12/30/19 or 12/31/2019 and I use the IncYear function to auto populate the end date to 12/30/2020 or 12/31/2020 then the application does not submit. Dates before and after work fine i.e 12/29/2019 and 01/01/2020 get the end date and the application submits the users request.
I have tested it several times and end up with the same results. Appreciate any hekp I can get. For now we are handling these situations manually but I'm intrigued by this situationa dn the only thing I can think would cause this problem would be that 2020 is a leap year.
Thoughts?
Thanks
|
|
|
|