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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 107,585
» Latest member: lodeonlinezcom
» Forum threads: 2,440
» Forum posts: 11,408

Full Statistics

Online Users
There are currently 1221 online users.
» 5 Member(s) | 1212 Guest(s)
Applebot, Bing, Google, Yandex, 888toponlinevn, da88maxcom, lc88bond, lodeonlinezcom, realtyassistant

Latest Threads
issue with migrate delph ...
Forum: IntraWeb General Discussion
Last Post: PDSBILL
8 hours ago
» Replies: 1
» Views: 23
Sendig email form isapi d...
Forum: IntraWeb General Discussion
Last Post: lfeliz
Yesterday, 07:15 PM
» Replies: 0
» Views: 22
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
Yesterday, 10:17 AM
» Replies: 1
» Views: 692
Strict CSP Implementation
Forum: IntraWeb General Discussion
Last Post: joelcc
11-02-2026, 08:28 PM
» Replies: 1
» Views: 171
Form doesn’t resize with ...
Forum: IntraWeb General Discussion
Last Post: BathDragonfly
10-29-2026, 09:48 AM
» Replies: 0
» Views: 132
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-29-2026, 07:38 AM
» Replies: 5
» Views: 645
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:31 AM
» Replies: 0
» Views: 206
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:30 AM
» Replies: 0
» Views: 189
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 217
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 835

 
  Error in IWDBLookupComboBox when not in html template
Posted by: cprmlao@hotmail.com - 09-19-2019, 12:30 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi, I have a IWDBLookupComboBox and I have noted an error in chrome console in "setprocessAjaxExecute" when "evaluating: setEnabled".

I have this IWDBLookupComboBox in the form but I don´t include it into html template of the form.

If I include it into html template the error disappears.

So, Is it a bug?

I have attached the image error.


Regard, Luiz

Code:
object ESTADO: TIWDBLookupComboBox [30]
    Left = 169
    Top = 261
    Width = 121
    Height = 21
    Css = 'form-control'
    RenderSize = False
    StyleRenderOptions.RenderSize = False
    StyleRenderOptions.RenderPosition = False
    StyleRenderOptions.RenderFont = False
    StyleRenderOptions.RenderVisibility = False
    StyleRenderOptions.RenderStatus = False
    StyleRenderOptions.RenderAbsolute = False
    StyleRenderOptions.RenderPadding = False
    StyleRenderOptions.RenderBorder = False
    Font.Color = clNone
    Font.Size = 10
    Font.Style = []
    TabOrder = 28
    AutoEditable = True
    DataField = 'ESTADO'
    DataSource = dsClientesCad
    FriendlyName = 'Sem sele'#231#227'o'
    KeyField = 'SIGLA'
    ListField = 'NOME'
    ListSource = dsEstados
    DisableWhenEmpty = False
    NoSelectionText = '-- Sem Sele'#231#227'o --'
  end



Attached Files Thumbnail(s)
   
Print this item

  ServerController.SecurityOptions.CheckWindowId
Posted by: JuergenS - 09-19-2019, 09:45 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi,

C++Builder 10.3.2
IW 15.1.5 ULT

I have set the parameter and can still clone any application tab in Mozilla Firefox or create a new tab with the same URL.
With each session copy of the application, I can perform different functions.
Have I misunderstood something or is it not working as described?

Regards
Juergen

Print this item

  can i add text to rawtobytedata ?
Posted by: Madammar - 09-19-2019, 09:13 AM - Forum: Indy - Replies (7)

i have the following code 

Code:
procedure Tform1.rData(Sender: TObject; const Buffer: Pointer;
  BufferSize: Cardinal; var FreeIt: Boolean);
var
Bytes: TIdBytes;
begin


if (Buffer <> nil) and (BufferSize > 0) And (udpreciver.Active) then
begin
udpsender.SendBuffer(ip, port, RawToBytes(Buffer^, Buffersize));
end;

end;

i want to add a text identification to each audio sent and then remove that text when its received 


like following as example 


Code:
if (Buffer <> nil) and (BufferSize > 0) And (udpreciver.Active) then
begin
udpsender.SendBuffer(ip, port, RawToBytes('Audio1'+Buffer^, Buffersize));
end;

how to do this in correct way

Print this item

  Session Timeout intercept.
Posted by: OronzoConte - 09-18-2019, 04:57 PM - Forum: IntraWeb General Discussion - Replies (4)

Hallo,
How is it possible, in "IWUserSessionBaseDestroy" to know if the procedure is activated by a Session Timeout?
Thank you for your time.

Print this item

  component property check ?
Posted by: SorenJensen - 09-18-2019, 06:01 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi All,

Having the component loop working for a form, I want to use it to change some properties for individual components, based on user prefs.

How can I check for the presence of a certain property, like font, which is not something all components have ?

Using "if (selv.Components[i] as TIWCustomControl) is TIWLabel ..." requires IWCompLabel to be present in the Uses clause. 

If I want to check if the component has a font property, how can I do that without refering to the component type ?

And will it be possible to set, say font.size, for all IWLabels, IWButtons and IWEdits on the form, without having to include all the types in the uses clause ?

I'm trying to create a general procedure I can call in each forms create event, to avoid having to put all the code in every form.

Advises and examples are gracefully accepted

Regards
Soren

Print this item

  Loop components questions
Posted by: SorenJensen - 09-18-2019, 05:42 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi All,

Maybe my understanding of IWForms versus VCL forms lacks a lot, but could anyone please explain why it is that

"for i := 0 to self.componentcount -1 do" compiles ok and
"for i := 0 to TIWForm1.componentcount -1 do" fails with: Componentcount "inaccessible" here

Isn't self and tiwform1 one and the same in this case ?

Regards
Soren

Print this item

  Question regarding general stylesheet
Posted by: SorenJensen - 09-17-2019, 11:01 AM - Forum: IntraWeb General Discussion - Replies (5)

Hi All,

I'm trying to implement a general style sheet, so that all elements have the same font family and font size, and wonder if it is sufficient to define which style sheet to use, in ServerController. If style sheet is not defined for other forms, will they all  forms in the projct use the sheet defined for ServerController ?

OR.. is it necessary to specifically define a style sheet for each form ?

Regards
Soren

Print this item

  IW 15.1.5 with source code, file(s) not found
Posted by: aimpera - 09-17-2019, 08:56 AM - Forum: IntraWeb General Discussion - Replies (3)

Hi,
1) Installed IW 15.1.5 ( iw15.1.5.exe )
2) Copy source code ( content of IWSource15.1.5_20190914.zip ) on same directory, now I have this structure:
   

With Delphi RIO 10.3.2,
Open Design\Intraweb_15_D10_3.dproj, build => OK

Open Design\dclIntraweb_15_D10_3.dproj, build => KO, error:

"[dcc32 Fatal Error] dclIntraweb_15_D10_3.dpk(65): F1026 File not found: '..\..\private\design\IWDsnFormWebsite.pas'"
dclIntraweb_15_D10_3.dpk(65): Unit 'IWDsnFormWebsite' is used by 'IWRegister'error 


And I see that all \private\design\*.* file are missing...

What's wrong?

Best Regards, Alfredo.

Print this item

  How to have more than one modal dialog?
Posted by: magosk - 09-16-2019, 11:31 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi,

in one of our web applications we have a base frame we use for showing modal dialogs. The base frame contains a TIWModalWindow component with IWFrameRegion as its ContentElement, as well as common code for logging and language support. In descendant frames we add visual elements, decide which buttons to use (e.g. OK & Cancel), add code to the ModalWindow.OnAsyncClick event handler etc. A using form creates such a frame (at runtime) when it wants to show it and calls a method ShowModal() of the frame (which sets Visible = True and calls ModalWindow.Show()). This has worked nicely.

Now we have a form where we want to be able to show more than one modal dialog (although not at the same time). You should be able to change data in the GUI of dialog 1, close it, open dialog 2, do some changes, close it and reopen dialog 1 with your earlier changes retained, etc. However, the rendering fails as soon as I try to open the second dialog. I have attached a simplified example project that demonstrates this. I have tried various things in the OnAsyncClose event handler such as setting Parent to nil for the frame, setting ModalDialog.ContentElement to nil, calling ModalWindow.Reset() etc. but with no luck.

Is there a way of having more than one modal dialog "in memory" like we want here? Has it something to do with multiple instances of the TIWModalWindow component? Please advice on what we need to change in order to solve this problem.

Best regards

Magnus Oskarsson



Attached Files
.zip   ModalDialogTest.zip (Size: 5.75 KB / Downloads: 3)
Print this item

  Is there ntlm/kerberos authentication for Indy Http Server?
Posted by: X-Cite! - 09-16-2019, 07:04 AM - Forum: Indy - Replies (1)

Is there ntlm/kerberos authentication for Indy Http Server?

Print this item