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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 87,206
» Latest member: abc8ibet1
» Forum threads: 2,414
» Forum posts: 11,338

Full Statistics

Online Users
There are currently 925 online users.
» 5 Member(s) | 916 Guest(s)
Applebot, Bing, DuckDuckGo, Google, abc8ibet1, albushra, aun_digital, raynexsolar, tylekeonhanhcom

Latest Threads
Intraweb components missi...
Forum: IntraWeb General Discussion
Last Post: valmeras
07-20-2026, 08:29 PM
» Replies: 0
» Views: 24
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-17-2026, 05:18 PM
» Replies: 6
» Views: 4,470
IW 16.1.9 Invalid propert...
Forum: IntraWeb General Discussion
Last Post: Blanca80
07-17-2026, 08:06 AM
» Replies: 7
» Views: 2,096
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-17-2026, 03:38 AM
» Replies: 2
» Views: 554
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-17-2026, 03:14 AM
» Replies: 1
» Views: 195
Need Help Integrating Mic...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-17-2026, 02:38 AM
» Replies: 1
» Views: 180
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-17-2026, 02:12 AM
» Replies: 1
» Views: 253
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-17-2026, 02:11 AM
» Replies: 7
» Views: 934
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
07-05-2026, 02:41 PM
» Replies: 5
» Views: 549
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 123

 
  TIWMemo displayed with wrong margins
Posted by: Lorbass - 05-23-2024, 11:31 AM - Forum: IntraWeb General Discussion - No Replies

For example the following settings:

IWMemo.Align := alTop;
IWMemo.AlignWithMargins := True;
IWMemo.Margins.Left := 16;
IWMemo.Margins.Right := 16;

In design mode it works correctly.

At runtime the memo will displayed  with left margin 0 and right margin 32!


BTW:
The cursor is not visible if no text has been entered yet.

Version 15.6.0

Please correct these bugs.

Thanks!

Print this item

  TIWDBEdit with DataType = stNumber weird behavior
Posted by: RenSword - 05-23-2024, 06:29 AM - Forum: IntraWeb General Discussion - Replies (4)

when TIWDBEdit with DataType = stNumber is in non editable mode (browse mode), the value disappear. Am I missing some settings or is it bug?
For attached sample below, hit the toggle button to toggle between browse state and edit state.

.zip   IWDBEditBug.zip (Size: 7.94 KB / Downloads: 3)        

Print this item

  IW15 Demos - GridControlsDemo
Posted by: lfeliz - 05-22-2024, 09:01 PM - Forum: IntraWeb General Discussion - Replies (2)

I was going through a few of the demos and the Delphi IW15 Controlgrid demo references   IWDBAsyncNavigator 

Is there a component missing ?

Delphi 10.1
IW 15.6.1

Print this item

  reading assession.request.pathinfo error
Posted by: lfeliz - 05-22-2024, 12:33 AM - Forum: IntraWeb General Discussion - Replies (3)

Hello
I am migrating a couple  apps from 

IW 14.2.7 to IW 15.2.55.  both use 3rd party CGDevtools components.

First app recompiled and works great.  Second app has an app violation and I have isolated it down to a a line that of code not in first app.

TIWServerController.IWServerControllerBaseBrowserCheck(  aSession: TIWApplication; var rBrowser: TBrowser);
var s0 :  String;
begin
  s0 := asession.Request.PathInfo;
.......

This code works and allows me to check path info in IW14 no problem.  

In IW15 any idea as to what I am doing wrong here.  I check browser and client info as part of security and also use as part of process to ignore load balancer health checks and closed.

I tried this on a test VM with latest IW 15 version and same. Throws access violation. So what is best way to access the request information when new session is created?

Thanks.

Print this item

  IWBSTabControl orientation
Posted by: Comograma - 05-20-2024, 03:36 PM - Forum: IntraWeb General Discussion - Replies (1)

How can I achieve vertical tab positioning, like on the attached image?
I'm using Boostrap 3.



Attached Files Thumbnail(s)
   
Print this item

  Form with required fields
Posted by: Comograma - 05-20-2024, 10:04 AM - Forum: IntraWeb General Discussion - Replies (3)

Hi have a form with several fields (TIWBSInputs) which are mandatory/required.
So, I set required property to true for those fields.
When I submit the form, it should receive messages on the inputs that are empty, but no go.
Can anyone give a simple example on how this should be? I'm using Bootstrap 3.

Print this item

  [dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch
Posted by: Mikael Nilsson - 05-16-2024, 06:08 PM - Forum: IntraWeb General Discussion - No Replies

Hi 

I installed IW  15.6.1
And again I get [dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch.
why is this not corrected.

Anyone know how to correct the error?

function BitScanLast(aValue: NativeInt): NativeUInt;
asm
{$IFDEF CPU386}
  BSR AX, aValue;                                        <================= incorrect
{$ELSE} .NOFRAME
  BSR RAX, aValue;
{$ENDIF}
end;

Print this item

  Using Template Variables
Posted by: jeroen.rottink - 05-14-2024, 02:42 PM - Forum: IntraWeb General Discussion - No Replies

Reading https://www.atozed.com/2024/05/whats-new...traweb-15/ is noticed Template Variables. They were added in IW15.5.4
There is no demo available but the source helps me out a bit.

Currently I use something similar I created using TIWTemplateProcessorHTML.OnAfterProgress etc. This works but I would like to migrate to this IW offered feature.
There is one part I can't solve yet. I use variables in HTML and javascript.


Code:
<div class="value">{%dbProject%}</div>

<script>
function updateProjectInfo() {
  var projectName = "{%dbProject_escaped%}";
  // ...
}

</script>


'_escaped' is a modifier that tells my template processor to escape the value that is returned according to the javascript rules.
Is it possible to use Template Variables and achieve the same effect.

Print this item

  IW 15.5.10 Sendfile
Posted by: Mikael Nilsson - 05-13-2024, 12:33 PM - Forum: IntraWeb General Discussion - Replies (7)

Hi,

After installing Delphi 12 Version 29.0.51511.6924 and IW 15.5.10


I has written a csv file like this: 
  { Create file }
  xFileName:=UserSession.UserId + '_1' + ExtractFileName('SaveAs') + '.csv';
  xPath:=gServerController.ContentPath  + 'Files\XIBFiles\' + xFileName;
  UserSession.ViewThisFile:=xPath;
  DeleteFile(UserSession.ViewThisFile);
  ZnfStreamW := TStreamWriter.Create(UserSession.ViewThisFile, False, TEncoding.Default);

.....
.....
.....

      ZnfStreamW.WriteLine(Line);
      dm.FDQrySaveAs.Next;
    end;
    dm.FDQrySaveAs.Close;
    WebApplication.SendFile(UserSession.ViewThisFile, False, '', ExtractFileName(UserSession.ViewThisFile));
  finally
    FreeAndNil(ZnfStreamW);    { Close and Free the writer }
  end;

This has worked perfectly before, but now the file is mysterious converted to a html fil

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>XIB - Web Watch Dog: WWD (OpusCapita Solutions)</title>
<meta name="generator" content="IntraWeb v15.5.10 Serial 202440434">



<link href="/wwd/isapixibwwd.dll/$/css/IWBase__2933165573.css" rel="stylesheet">
<script nonce="yIJCVKoI+fDI9a5EoWWulrCEZwY">
var GURLBase="/wwd/isapixibwwd.dll/$/", GAppID="AeUrkFJfeLMC7BviU77qNcKmFGq", GTrackID=12
function doOnReady(f){
  var d = document
  if (d.readyState!="loading") f()
  else if (d.addEventListener) d.addEventListener("DOMContentLoaded", f)
  else d.attachEvent("onreadystatechange", function(){if (d.readyState=="complete") f()
}
</script>
<script src="/wwd/isapixibwwd.dll/$/js/IWLib__1925002372.js"></script>
<script src="/wwd/isapixibwwd.dll/$/js/IWBase__702901585.js"></script>
<script src="/wwd/isapixibwwd.dll/$/js/IWGecko__3425527816.js"></script>
<script nonce="yIJCVKoI+fDI9a5EoWWulrCEZwY">

Print this item

  Change page TabControl order
Posted by: Comograma - 05-09-2024, 01:47 PM - Forum: IntraWeb General Discussion - No Replies

On a TIWBSTabControl, how can I change each page order?
Seeing the image that I attached, I want to change position between page "Listagens" and "Conta corrente", from within the IDE.
How can I change this?



Attached Files Thumbnail(s)
   
Print this item