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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 106,390
» Latest member: sunwin2
» Forum threads: 2,434
» Forum posts: 11,394

Full Statistics

Online Users
There are currently 1620 online users.
» 4 Member(s) | 1613 Guest(s)
Applebot, Bing, Google, colorfan_hank, fp5app2, go88tv, Mcw77bidvn

Latest Threads
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 67
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 611
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 248
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 05:21 PM
» Replies: 0
» Views: 231
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 663
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 381
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-06-2026, 09:31 PM
» Replies: 6
» Views: 1,434
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 884
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 541
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 917

 
  understanding TCP TLS/SSL Security
Posted by: Madammar - 10-08-2018, 09:09 AM - Forum: Indy - Replies (1)

i am trying to understand the usage of TLS / ssl with idtcpserver and client

i am running my server on ubuntu using winehq

i am trying to make the client to communicate only through my client application,  and prevent bad guys from communicating to my tcpserver from client they make .

i read and search about this matter and all results refers to using TLS/ssl

how could i do that using idtcpserver properly / do i need ssl certificate ?

what is the correct dll's to use  ?

just trying to understand how to do that properly

Print this item

  Going to wait for Bootstrap 4
Posted by: ShaneStump - 10-08-2018, 02:18 AM - Forum: IntraWeb General Discussion - No Replies

Howdy All!

I just wanted to thank everyone especially Loren for helping me evaluate IW's Bootstrap 3.x framework.

I can see why everyone is moving to such a framework.

But after evaluating Bootstrap 3.3 and reading all the changes in v4.x, it seems silly to me to spend a bunch of time now and then doing a major rewrite / refactor when IWBS V4 is available.

So hopefully IWBS 4.x will be available sooner than later.

All the best,

Shane

Print this item

  New Bootstrap Demo Project
Posted by: LorenSzendre - 10-07-2018, 07:47 PM - Forum: IntraWeb General Discussion - Replies (5)

First I must give a big warning and an apology -- for making changes to a core unit: TIWBSRegion.

I added a slew of new TagTypes and overrode the constructor to set the initial value, since bsttDiv was no longer alphabetically first.

I also messed with the InternalRenderCss method.

Unfortunately, the sample project won't work with the old version of TIWBSRegion.

If you want, you can temporarily replace this unit, then recompile the IWBootstrap packages. You can put it back afterwards and recompile.

I welcome any comments from anyone on how to better tackle the following problems:

1) Lack of a span wrapper component
2) Inability of TIWBSButton to act as a design-time container
3) Lack of an li wrapper component. TIWBSRegion can now be a List Item.
4) TIWLink is implemented as a span, so it doesn't fit in with IWBootstrap, and IWBootstrap does NOT provide an anchor components. So TIWBSRegion now can be an anchor too.

@Shane, I tried to put everything in there that you wanted to see. You have to look at the ExtraTagParams property of just about everything, plus the ExtraHeader property of the forms.


.zip   Shane20181007.zip (Size: 14.68 KB / Downloads: 28)

Any feedback will be appreciated

Print this item

  Urgent Need of Changes to IWBS
Posted by: LorenSzendre - 10-07-2018, 02:36 PM - Forum: IntraWeb General Discussion - Replies (9)

Captain Kudzu,

I have made changes to TIWBSRegion that I would like you to consider adding to the source code that you distribute as part of IW.

As you know, the following code is perfectly acceptable and normal with Bootstrap 3:

<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
   <span class="icon-bar"></span>
   <span class="icon-bar"></span>
   <span class="icon-bar"></span>                        
</button>


But TIWBSButton descends from TIWBSCustomControl, which descends from TIWCustomControl and implements the interface IIWBSComponent. As such it cannot act as a container. I have written about this problem before.

I have realized that this problem needs an immediately solution. TIWBSButton can remain, but I needed BSRegion to be usable as a span and as a button. Hence my changes:

type
  TIWBSRegionTagType = (bsttDiv, bsttH1, bsttH2, bsttH3, bsttH4, bsttH5, bsttH6, bsttP, bsttSpan, bsttButton);

const
  aIWBSRegionTagType: array[bsttDiv..bsttButton] of string = ('div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'span', 'button');

Without these changes I cannot use Delphi and IntraWeb to realize my designs, unless I go with Templates. But that's not the point -- the point is that I want to use IWBootstrap, if for no other reason than to prove that it can be done for any design, not just simple ones.

If I am missing something, please help me understand.

Loren

Print this item

  Bootstrap compile error
Posted by: JuergenS - 10-07-2018, 09:14 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi,

i just tried the bootstrap example from Loren and it's running with Delphi XE6.

But if i try to create a simple bootstrap project with just a region and a button i receive the following error:

[bcc32 Error] IWBSCustomControl.hpp(143): E2303 typname expected
  complete Parser-Context
    Unit1.cpp(6): #include Unit1.h
    Unit1.h(23): #include C:\IntraWeb 15\LibD10_2W32\IWBSButton.hpp
    IWBSButton.hpp(25): #include C:\IntraWeb 15\LibD10_2W32\IWBSCustomControl.hpp
    IWBSCustomControl.hpp(42): namespace Iwbscustomcontrol
    IWBSCustomControl.hpp(47): class TIWBSCustomControl
    
    __property OnHTMLtag;
   
I'm using:

    C++Builder 10.2.3
    IW 15.0.12

Thanks for any help
JuergenS

Print this item

  Bootstrap Setup
Posted by: ShaneStump - 10-07-2018, 03:02 AM - Forum: IntraWeb General Discussion - Replies (2)

Howdy All!

So I decided to start trying to setup my first page... can't get anything to render properly other than what Loren helped me with.

Any how, I decided to just cut/paste components from the demo to my page and compile/run. The components are being  rendered without any of the Bootstrap CSS.

I copied the iwbs folder + all the .css files in the demo's wwwroot directory to my app's wwwroot directory but apparently there is another step to initialize the system.

Any idea on what I am missing or doing wrong?

Thanks,

Shane

Print this item

  Bootstrap Carousel
Posted by: ShaneStump - 10-07-2018, 12:33 AM - Forum: IntraWeb General Discussion - No Replies

Howdy All!

Has anyone integrated one of the various bootstrap carousel components as a IW component?

Thanks in advance,

Shane

Print this item

  Bootstrap Side Bar
Posted by: ShaneStump - 10-07-2018, 12:32 AM - Forum: IntraWeb General Discussion - Replies (3)

Howdy All!

Any one have an example of a sidebar they are using?

All the best,

Shane

Print this item

  Boot Strap Container How To??
Posted by: ShaneStump - 10-06-2018, 02:41 AM - Forum: IntraWeb General Discussion - Replies (14)

Howdy All!

I am finally playing with the bootstrap that comes with IW 15+.

I am trying to do a responsive version of my current IW application that uses CGDevTools desktop / mobile components.

I can't seem to figure out how to create a container (region) of regions  that will will automatically fit as screen width allows.

That is, I want to create a page like this with the bootstrap components (see the grid of events):

Existing Reservation System

How do I arrange the regions so I can have n columns of events and have them automatically wrap?


Thanks in advance,

Shane

P.S. I want to implement something like:

https://getbootstrap.com/docs/3.3/compon...om-content

Print this item

  TIWCustomFileUploader.AcceptFiles
Posted by: jeroen.rottink - 10-04-2018, 09:20 AM - Forum: IntraWeb General Discussion - No Replies

Hi

I upgraded from IW14.1.3 to IW15.0.13 using Delphi 10.1 Berlin

In a converted project I use TIWCustomFileUploader to give a user the possibility to take and upload a photo. On a Samsung Galaxy S7 with Chrome this stopped working.
The user can't take a photo anymore. On a Lenovo tablet it still works...
Looking at the html (generated using templates) there is a difference in the accept attribute. In IW15 it's '.image/*' instead of 'image/*'.

Code:
<!-- IW14.1.3 -->
<div class="form-group">
  <div class="IWFILEUPLOADERCSS" id="IWFILEUPLOADER" name="IWFILEUPLOADER" tabindex="4">
    <div class="IWFileUploader">
      <div id="IWFILEUPLOADER_drop_area" class="iwfileuploader-drop-area" style="display: none;"><span>Drop files here to upload</span></div>
      <div id="IWFILEUPLOADER_button" class="btn btn-block   " style="position: relative; overflow: hidden; direction: ltr;">Maak een foto<input accept="image/*" type="file" name="iwfu_file_input" id="IWFILEUPLOADER_INPUT" capture="camera" style="position: absolute; right: 0px; top: 0px; font-family: Arial; font-size: 118px; margin: 0px; padding: 0px; cursor: pointer; opacity: 0;"></div>
      <ul id="IWFILEUPLOADER_list" class="iwfileuploader-list"></ul>
    </div>
  </div>
</div>

<!-- IW15.0.3 -->
<div class="form-group">
  <div class="IWFILEUPLOADERCSS" id="IWFILEUPLOADER" name="IWFILEUPLOADER" style="" tabindex="4">
    <div class="IWFileUploader">
      <div id="IWFILEUPLOADER_drop_area" class="iwfileuploader-drop-area" style="display: none;"><span>Drop files here to upload</span></div>
      <div id="IWFILEUPLOADER_button" class="btn btn-block" style="position: relative; overflow: hidden; direction: ltr;">Maak een foto<input accept=".image/*" type="file" name="iwfu_file_input" id="IWFILEUPLOADER_INPUT" capture="camera" style="position: absolute; right: 0px; top: 0px; font-family: Arial; font-size: 118px; margin: 0px; padding: 0px; cursor: pointer; opacity: 0;"></div>
      <ul id="IWFILEUPLOADER_list" class="iwfileuploader-list"></ul>
    </div>
  </div>
</div>

In the source procedure TIWCustomFileUploader.SetAcceptFiles(const Value: string); is changed resulting in this behaviour.

Print this item