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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 85,668
» Latest member: tradorugcoa1984
» Forum threads: 2,413
» Forum posts: 11,328

Full Statistics

Online Users
There are currently 345 online users.
» 0 Member(s) | 341 Guest(s)
Applebot, Bing, Google, Yandex

Latest Threads
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
4 hours ago
» Replies: 5
» Views: 713
Need Help Integrating Mic...
Forum: IntraWeb General Discussion
Last Post: capheny
07-07-2026, 06:43 AM
» Replies: 0
» Views: 110
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
07-05-2026, 02:41 PM
» Replies: 5
» Views: 388
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 155
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 97
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,344
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 141
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 886
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 162
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 71,177

 
  Scrolling IWregion contents
Posted by: davidbaxter - 01-30-2020, 02:30 PM - Forum: IntraWeb General Discussion - Replies (2)

Is there a way within a program to scroll the contents of an IWregion? If I have a region populated with, say, 20 labels and there's only room for 10, on the screen you can swipe up and down and scroll to see them all. How do you make that happen from within the program, by maybe an up or down button elsewhere on the screen? Thanks.

Print this item

  Tricky OnExit and SetFocus problem.
Posted by: SorenJensen - 01-29-2020, 04:24 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi All,

I have a very tricky problem I'm unsure how to solve.

I have two IWEdits, IwEdit1 and IWdit2. Each has an OnExit event. The events are similar:

in IwEdit1.onExit: if IwEdit1.text = '' then IwEdit1.SetFocus; and
in IwEdit2.onExit: if IwEdit2.text = '' then IwEdit2.SetFocus;.

IWEdit2 is next logical field after IWEdit1 in the Taborder, and when both IwEdits are empty, and I tab out of IWEdit1, then the cursor starts an endless jump between the two IwEdits, because:

When exiting IwEdit1, the cursor is first moved to IwEdit2. Then the code realizes IwEdit1 is empty, and Setfocus moves it back to IwEdit1. However, as the Cursor already was in IwEdit2, IwEdit2.OnExit realizes the Cursor has left, and as IwEdit2 is empty, IwEdit2's SetFocus, moves it back to IwEdit2. And so IwEdit1.OnExit takes over again and so on and on and on....

How can I break this ?

In VCL, in Edit1.OnExit, I would disable Edit2's OnExit event before executing Edit1.Setfocus, and enable it again after, so that when Edit1.Setfocus pulls it out of Edit2, Edit2's OnExit event is not fired. How can I do something similar in InterWeb with IwEdits ?

Regards
Soren

Print this item

  Usersession and procedure question
Posted by: SorenJensen - 01-29-2020, 08:38 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi All,

I have a number of vars defined in UserSession, which I use over and over again in many of the forms, and I need to initialize then at the creation of the form. Currently I do that, for every var, in the create or show of every form.

Is it possible to define a procedure in UserSession, to be called from the forms instead ?

NB! the forms don't have UserSession in the Uses clause. Only the ServerController.

If not, would anyone have other proposals of how to archive the same functionallity ?

Regards
Soren

Print this item

  IWResourceStrings
Posted by: Lorbass - 01-28-2020, 07:27 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi @all,

this question has probably already been asked. But I didn't find a solution.
How can the Texts from "IWResourceStrings" be modified?
Thanks for appropriate advice!

Print this item

  Template and Components at Runtime
Posted by: Rolphy Reyes - 01-28-2020, 02:49 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi

I'm using Delphi Seattle and Intraweb 14.0.47.

I am trying to achieve the following, in a template I put a tag like this {%varmenu%} in runtime I generate the HTML tags like this:

Example
<li>{%myFrame.button1%}</li>
<li>{%myFrame.button2%}</li>

Of course I use the event OnUnknownTag from the TIWTemplateProcessorHTML component to replace the tag {%varmenu%}.

When running the application I was expecting to see the components but instead what I see is the name of the tags like this:
{%myFrame.button1%}
{%myFrame.button2%}

What am I missing?

Can someone help me out?

TIA

Print this item

  Delphi OSX64 changes broken FPC compilation
Posted by: zpeterson - 01-24-2020, 07:57 PM - Forum: Indy - Replies (3)

The changes to IdCompilerDefines.inc in SVN revs 5500-5505 broke compiling Indy for 64-bit OS X under Free Pascal.  Prior to those changes, THANDLE was set to THANDLE_32 for both 32-bit and 64-bit OS X builds, but Embarcadero's patch and subsequent changes switched it to THANDLE_CPUBITS.  Compiling IdGlobal.pas with Free Pascal 3.3.1 now fails in InterlockedExchangeTHandle, line 4487 with the error "Typecast has different size (4 -> 8) in assignment" on the VTarget cast.

EDIT: Since it dropped the "$ELSE" clause, it looks like it's also undefined for any non-Apple BSD variants, but we don't compile for those so I'm not sure.

Print this item

  IWURL ability to select caption
Posted by: bob9999 - 01-23-2020, 08:43 PM - Forum: IntraWeb General Discussion - Replies (4)

Hi there.  I am using the IWURL component and all works well.  Is there a way to be able to select the caption at run-time?  Whenever I try to select the caption, the field tries to drag or the URL activates.  If there is no way to do this perhaps this would be a nice addition for a future release.  I am used to be able to select a URL and copy the caption to the clipboard or just click on it to activate and go wherever designed and now I have a client asking about this since he is used to the same.  Cheers.

Print this item

  Tab order issues mixing CG and IW components
Posted by: bob9999 - 01-22-2020, 04:25 PM - Forum: IntraWeb General Discussion - Replies (13)

Hi there.  I searched through and found other threads on this subject but nothing that really assists my situation.

I have Delphi 10.2.3 and IW15.1.7 installed.  In the designer I set the CG and IW tabs to the order I want but at run-time, there seems to be an order of CG and an order of IW that can be a bit random at times and pressing the tab at run time jumps around on the screen depending on the mix of field types.

In the designer or IDE, when I go into tab order, only CG fields are listed in this and never IW.  This appears to be the issue.  Is there a way to turn on the tab order in the designer for IW components so then the mix of components at run-time are rendered in the correct order?

If I have a region that is only CG or only IW, then all is fine at run-time and I can tab from field to field in the order I have set in tab order.  Only in a mix of field types does this odd issue surface.

I am just questioning here in this forum since I cannot get the IW components to list in the taborder tool in the IDE suggesting an IW issue.  I have worked around the issue for a while but the client noticed now for an area that I cannot work around and have to resolve this issue now.

Cheers.

Print this item

  Manual Delphi Bundled Registration
Posted by: jack.k.rappold.civ@mail.mil - 01-22-2020, 01:11 PM - Forum: IntraWeb General Discussion - Replies (5)

I have tried to run the app you provide for getting a Delphi Ent Bundled Intraweb registration but my computer is locked down and won't let me.

It seems to need some sort of code or information from the local Delphi Installation that if I don't run it on the Delphi computer, it can't see.

Is there a manual workaround? Huh

Print this item

  Intraweb Service and EurekaLog
Posted by: tinygoldwing - 01-21-2020, 10:48 PM - Forum: IntraWeb General Discussion - Replies (2)

I have an Intraweb standalone app.  I followed the instructions to get Eurekalog to work.    When I run the app on the desktop I actually get the lines where I created a AV:

(00B42D78){Project1.exe} [00F43D78] Unit1.Tfrm_Main.IWButton12Click (Line 668, "Unit1.pas" + 3) + $8

But when I run it as a service it only gives me:

(00550487){WebApp.exe  } [00951487] Unknown function at TMethodImplementationIntercept + $4E3BBB

Does anyone know what I missed.  I know there is a special setup.  I did ask Eurekalog but I haven't received a reply.

Thank You,

Ed

Print this item