| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 221
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 88
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 398
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 101
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 1,914
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 251
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 756
|
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 286
|
TIWjQDBGrid DateFormat
Forum: IntraWeb General Discussion
Last Post: brushbuny
08-05-2026, 03:31 AM
» Replies: 2
» Views: 1,686
|
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 426
|
|
|
| Button Back |
|
Posted by: l.Restif - 05-30-2018, 12:03 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hi,
how is it possible to use the back button in an intraweb application?
Is there a way to tell the serveur controller via an ajax callback which form is the current when the last page is reloaded from the cache?
The current page has to correspond to the current form in the intraweb session.
|
|
|
| IWCanvas |
|
Posted by: UdoBausch - 05-28-2018, 09:23 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
I want to implement some grafic-objects in my IntraWeb-Application
Last year you announced a IWCanvas component in V14 In my distribution of V14.2.7 I am missing this
– using this it will be perfect for me ( - I made some handcrafted examples - )
But I could not place it in the <Body>-part of the IWForm (extra code I can place in IWForm.JavaScript, but this appears out of HTML-<Body>, but it is usable also)
For me IWCanvas only needs to have the following the following properties:
Name:String
FiendlyName:String
Height:String
Width:String
ContextName:String
JavaScript: TStringList
If it is possible to place it in a IWRegion we can use this to define
Left
Top
IWCanvas.RenderHTML should create
<canvas id="RainbowStrokeStyleSample1" width=320px height=120px> </canvas>
<script> //JavaScript
var context = document.getElementById('RainbowStrokeStyleSample1').getContext('2d');
// 1. set strokeStyle to a linear gradient value
var rainbowGradient = context.createLinearGradient (0, 60, 320, 60);
rainbowGradient.addColorStop (0, 'red');
rainbowGradient.addColorStop (0.25, 'yellow');
rainbowGradient.addColorStop (0.5, 'green');
rainbowGradient.addColorStop (0.75, 'blue');
rainbowGradient.addColorStop (1, 'violet');
context.strokeStyle = rainbowGradient;
// 2. draw a kind of half cirlce on the left
context.beginPath();
context.moveTo (60, 10);
context.lineTo (60, 110);
context.bezierCurveTo (0, 110, 0, 10, 60, 10);
context.stroke();
context.closePath();
// 3. draw a rectangle on the right top
context.strokeRect (80, 10, 230, 30);
// 4. set the text font and write 'Hello!' on the right bottom of the canvas
context.font = '60pt sans-serif';
context.strokeText ('Hello!', 80, 110);
</script>
Currently I need no Events for IWCanvas – but if events are inherited it can be useful too
I think it should not be not very complicated for you to implement IWCanvas in IntraWEB.V14
Please give me feedback about this proposal to enable me to plan my next steps- If you need some tester – I am willing to do this job
-
Or do you have an idea to solve this in an alternative way ?
Thankyou in advance
|
|
|
| Safari: No Cookies Notification |
|
Posted by: AllBars - 05-25-2018, 07:27 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
There is something about web development that makes explaining everything so difficult.
The problem I have is this:
I have a wix website (allbars.net) which embeds my intraweb app in (presumably) an iFrame - It is just a link to the url of the intraweb app (https://allbarsbooking.net)
In general this works well, in Chrome, Firefox and Edge, going to allbars.net/Booking my app shows as expected.
In safari on mac, iPad, iPhone however it just shows the blank wix page.
The reason is that Safari defaults to 'cookies only for pages I visit' and as the intraweb app is embedded, Safari doesn't think I haven't explicitly visited it, hence, no cookies for you.
If I go directly to https://allbarsbooking.net it works and subsequently visiting allbars.net/Booking also works fine
In the app I am seeing the "Cookies are disabled in your browser" exception, and I can trap and handle this. But Intraweb isn't returning anything to the browser to indicate that there is something wrong, so I can't work out how to advise the safari user of what to do to fix the problem.
I had thought to just put text on the wix page background, but the Intraweb app is mostly transparent, so doesn't hide the text.
Any ideas?
|
|
|
| IWJclDebug and an empty stack trace |
|
Posted by: jeroen.rottink - 05-25-2018, 01:26 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
I had an issue where using the integrated IW ExceptionLogger would not print the stack trace.
To include the debug information I use a Jcl tool called MakeJclDbg.exe (in jcl\examples\windows\debug\tools).
This tool takes a *.map converts it to *.jdbg format with the option to include this info in the executable.
Big plus is that the resulting *.exe is a lot smaller than including the debug information from the Delphi compiler (TD32).
When I choose to include this info in the *.exe as a resource, the stack trace is empty.
Origin of this issue is a small error in IWJclDebug.
Code: const
JclDbgDataSignature = $4742444A; // JDBG
JclDbgDataResName = AnsiString('IWJclDebug'); // do not localize
But this should be kept 'JCLDEBUG' like in the original code. The resname is used to locate the resource holding the debug data.
Using IW14.1.3 with Delphi 10.1 Berlin so maybe its already fixed in the meantime.
Kind regards,
Jeroen Röttink
|
|
|
| Any Chance to Use Bitmaps |
|
Posted by: kernel32 - 05-24-2018, 06:34 AM - Forum: COSMOS
- Replies (1)
|
 |
Hello everyone,
Just for hobby I'm working on Cosmos. I couldn't find any tutorial like any kind of document for printing bitmap images on cosmos screen.
Is there no way to print bitmap *.bmp files or If there is a way to do it please give me some document.
Thank you,
|
|
|
| Print ... |
|
Posted by: Mikey29 - 05-23-2018, 10:00 AM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Hello,
Where to found a sample showing me how to place a print button on a form ? Please.
I also want to print only a Iwregion…
Big thank you for any help.
With best regards,
Mikey
|
|
|
|