| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 169
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 137
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 154
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 453
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 230
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 626
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 217
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,218
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 349
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 974
|
|
|
| TIdMessage.LoadFromStream: Missing fields |
|
Posted by: BartKindt - 03-06-2023, 10:29 PM - Forum: Indy
- Replies (10)
|
 |
I use the IMAP system to dowload an email.
MSG: TIdMessage;
IMAP: TIdIMAP4;
I then call IMAP.UIDRetrieve(IntToStr(IMAP.MailBox.SearchResult[i]), MSG);
I can now read all fields like From, Subject etc. fine.
Then the entire email is loaded into a Stream using
IMAP.UIDRetrieveNoDecodeToStream(IntToStr(IMAP.MailBox.SearchResult[i]), AStream);
This Stream is then saved to file, as an .eml file.
I can load this file with an email program fine, all data complete.
The same Stream is internally kept.
But when I afterwards use an IdMessage.LoadFromStream, all fields like From, Subject, etc. are all empty.
The LoadFromStream does not seem to initialize the fields.
It seems only the IMAP does this, during the call to IMAP.UIDRetrieve.
How do I get my data back in the TIdMessage after a LoadFromStream?
|
|
|
| TIWVideo slow to load |
|
Posted by: davidbaxter - 03-06-2023, 07:59 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
TIWVideo is a great component, but it seems to take a very long time to load before playing. In this case 'long time' is 20-30 seconds. Sometimes the circular hourglass will show for that time, sometimes it comes up and goes away after 2 seconds, which leaves the user not knowing what is happening, or if.
I know files must be in .mp4 format, but there are a lot of options within that format. What are the recommended settings for, say, converting a .m2ts such that it would load quickly? Or, in general, what are the 'best practices' for using TIWVideo?
Thank you.
|
|
|
| async query refresh |
|
Posted by: raulevm - 03-03-2023, 07:34 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
On intraweb, is there a way to refresh an FDSQLQuery asynchronously? That is, enter a record and that it can be viewed immediately without having to load the page to request the data set. It's possible?
|
|
|
| Force update of an TIWTabControl from Asynch event |
|
Posted by: Lenfors - 02-28-2023, 03:30 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hello!
From an Asynch event I want to update the Title of a TIWTabControPage belonging to a TIWTabControl.
When changing the Title the screen is not updated!?
How can I force the TIWTabControl to Refresh?
It works if I do a Self.AsyncReload(False) but is this the best way to do it?
Best regards, Mikael
unit Unit1;
Interface
uses
Classes, SysUtils, IWAppForm, IWApplication, IWColor, IWTypes, Vcl.Graphics,
IWVCLBaseControl, IWBaseControl, IWBaseHTMLControl, IWControl, IWCompExtCtrls,
IWDrawButtonUnit, IWCompTabControl, Vcl.Controls, Vcl.Forms,
IWVCLBaseContainer, IWContainer, IWHTMLContainer, IWHTML40Container, IWRegion,
IWCompButton;
type
TIWForm1 = class(TIWAppForm)
IWTabControl1: TIWTabControl;
IWTabControl1Page0: TIWTabPage;
IWTabControl1Page1: TIWTabPage;
IWTabControl1Page2: TIWTabPage;
IWButton1: TIWButton;
procedure IWButton1AsyncClick(Sender: TObject; EventParams: TStringList);
public
end;
implementation
{$R *.dfm}
procedure TIWForm1.IWButton1AsyncClick(Sender: TObject; EventParams: TStringList);
begin
IWTabControl1Page0.Title := formatDateTime('hh:nn s', Now);
// Self.AsyncReload(False); // Works
end;
initialization
TIWForm1.SetAsMainForm;
end.
object IWForm1: TIWForm1
Left = 0
Top = 0
Width = 1130
Height = 914
RenderInvisibleControls = True
AllowPageAccess = True
ConnectionMode = cmAny
Background.Fixed = False
HandleTabs = False
LeftToRight = True
LockUntilLoaded = True
LockOnSubmit = True
ShowHint = True
DesignLeft = 4
DesignTop = 4
object IWTabControl1: TIWTabControl
Left = 0
Top = 0
Width = 1130
Height = 914
RenderInvisibleControls = True
ActiveTabFont.Color = clWebWHITE
ActiveTabFont.FontFamily = 'Arial, Sans-Serif, Verdana'
ActiveTabFont.Size = 10
ActiveTabFont.Style = [fsBold]
ActiveTabFont.PxSize = 13
InactiveTabFont.Color = clWebBLACK
InactiveTabFont.FontFamily = 'Arial, Sans-Serif, Verdana'
InactiveTabFont.Size = 10
InactiveTabFont.Style = []
InactiveTabFont.PxSize = 13
ActiveTabColor = clWebDARKGRAY
InactiveTabColor = clWebLIGHTGRAY
ActivePage = 0
Align = alClient
BorderOptions.NumericWidth = 0
BorderOptions.Style = cbsNone
Color = clWebSILVER
ClipRegion = False
TabPadding = 0
ActiveTabBorder.Color = clWebBLACK
ActiveTabBorder.Width = 0
InactiveTabBorder.Color = clWebBLACK
InactiveTabBorder.Width = 0
ExplicitLeft = 88
ExplicitTop = 80
ExplicitWidth = 60
ExplicitHeight = 60
DesignSize = (
1130
914)
object IWTabControl1Page1: TIWTabPage
Left = 0
Top = 20
Width = 1130
Height = 894
RenderInvisibleControls = True
TabOrder = 1
Title = 'Page1'
BorderOptions.NumericWidth = 0
BorderOptions.Style = cbsNone
Color = clWebWHITE
end
object IWTabControl1Page2: TIWTabPage
Left = 0
Top = 20
Width = 1130
Height = 894
RenderInvisibleControls = True
TabOrder = 2
Title = 'Page2'
BorderOptions.NumericWidth = 0
BorderOptions.Style = cbsNone
Color = clWebWHITE
end
object IWTabControl1Page0: TIWTabPage
Left = 0
Top = 20
Width = 1130
Height = 894
RenderInvisibleControls = True
Title = 'Page0'
BorderOptions.NumericWidth = 0
BorderOptions.Style = cbsNone
Color = clWebWHITE
object IWButton1: TIWButton
Left = 184
Top = 184
Width = 120
Height = 30
Caption = 'IWButton1'
Color = clBtnFace
FriendlyName = 'IWButton1'
OnAsyncClick = IWButton1AsyncClick
end
end
end
end
|
|
|
| TIWAudio not playing |
|
Posted by: Lenfors - 02-28-2023, 12:37 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Hello!
Tried the TIWAudio component with no luck.
If I paste the following in Chrome it plays nicely: file://server/SoundFiles/RadioRing.wav
But if I put a TIWAudio on a form and set AudioFile.URL (or AudioFile.FileName) to "file://server/SoundFiles/RadioRing.wav" it does not play.
The player show on screen but it's dimmed and length is indicated as 0.
How to play a soundfile?
Best regards, Mikael
|
|
|
|