| Welcome, Guest |
You have to register before you can post on our site.
|
|
|
| 15.1.2 TerminateAndRedirect Error |
|
Posted by: matija - 08-12-2019, 09:14 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
My code:
GGetWebApplicationThreadVar.TerminateAndRedirect('/GoodBye.html');
Error:
Project Project1.exe raised exception class EInvalidAppID with message 'Session ID is invalid.'.
It works with code:
GGetWebApplicationThreadVar.Terminate('<!DOCTYPE html>' +
'<html lang="en">' +
'<head>' +
'<meta charset="UTF-8">' +
'<title>My App</title>' +
'</head>' +
'<body>' +
'<h1>Goodbye.</h1>'
'</body>' +
'</html>');
|
|
|
| IWGrid is driving me insane..... |
|
Posted by: SorenJensen - 08-07-2019, 03:03 PM - Forum: IntraWeb General Discussion
- Replies (9)
|
 |
Hi Guys,
I have an IWGrid on my form, below 2 regions, and above one region. None of the regions are aligned to top or bottom. Just placed and anchered to stay when resizing.
The IWGrid has properties: Top=246 and Height =563. It's anchered Left and Top. UseSize and UseFrame are true. I set Rowcount = 2.
I then select a number of records from a table with sql and set rowcount = sql.recordcount +1; Then loop from first to eof, adding the selected fields;
Even with more rows that can fit into the visible space of the grid, it look nice. And with a scrollbar on the right. perfect. I have added Clickable to each rows cell[0].
While the form is visible, through an IWEdit field, I change SQL statement and generalt a new SQL call, limiting the records for each keypress. With less SQL Rows than can fit into the gridframe, grid cell hight becomes higher, adjusting to the total height of the grid. With only one row found, the heading row, and the data row, fills the entire space, being way to high.
BUT... Already at the second keypress, regardless of which key is pressed, the grid moves down so that the top is in the middle of the screen, and regardless of what I do, it won't go back to the designed place. With Logging on, I can see top is still = 246, event though it is more like 406.
I know there is way more properties per cell, than what is editable through the grid, and I'm sure some of them are responsible for part of the abnormal behavior, but I don't know and I'm just guessing as I have no description of properties for the grid or it's cells....
Do anyone have any idea of what is going on and how I can prevent my grid from changing size and moving around, please let me know. Also, should anyone have any description of cell.properties, please point me to them.
NB! I'm running under IE11 when testing as a stand alone. however, it is the same issues under Edge and Chrome.
Regards
Soren
|
|
|
| IWGrid proposals wanted.... |
|
Posted by: SorenJensen - 08-07-2019, 04:25 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hi All,
I'm working on a general search function where users are creating a kind of SQL statement by a visual selection of tables and field names, and putting in limitation criteria's. The idea is to start with no, or just a few limitations, almost showing all of the table in the grid, and then limit the contents by adding limitations to eventually nail down the information being searched for.
Due to the number of rows, I would like to use some kind of paging but don't seem to have that as part of the standard IWGrid.
As I'm not likely to be the first person to need that, I would like to know what others have done to solve that need and / or what you will propose me to look at ?
Regards
Soren
|
|
|
| TIWCheckBox click |
|
Posted by: msgopala - 08-06-2019, 07:06 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Our users are accidentally hitting the space bar when they are on a TIWCheckBox and the checkbox is checked (which they are not intending to). Is there a way to turn this off.
User should be only able to check the checkbox with the enter key or by clicking the checkbox.
Thank You!
|
|
|
| IW 14 and 15 on the same machine ? |
|
Posted by: SorenJensen - 08-06-2019, 11:56 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hi,
I have Delphi 2010 and Rio 10.3.2 installed on the same machine and have IW15.1.2 installed under Rio.
Can I install 14.2.10 under Delphi 2010 as well ?
Will there be any conflicting, or shared, directories used by the two IW versions ? (i'm thinking c:\users\public maybe).
Regards
Soren
|
|
|
| Mainform update on return from subform ? |
|
Posted by: SorenJensen - 08-03-2019, 07:19 AM - Forum: IntraWeb General Discussion
- Replies (10)
|
 |
Hi,
I have an iwlabel on my mainform, showing contents from a usersession var, which is modified during the life of a subform called from mainform. When releasing the subform and returning to the mainform, I would like to see the new value in the label.
Is it possible to update just the label (like iwlabel.update) or is the only solution to reload the mainform ? And if mainform has to be reloaded, what is the best way to do that ? Clicking a hidden button with DoSubmitValidation set to true ?
Regards
Soren
|
|
|
| Content path for SA HTTPSYS service |
|
Posted by: SorenJensen - 08-02-2019, 12:56 PM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
Hi,
I would want to use an imagebuttom on my form, and as far as I understand, the images shown on the button, depending on the button's state, are to be placed in the contents path.
When installing a SA as a service, is the contents path then the same path as the executable ?
Regards
Soren
|
|
|
|