lcolombo
uniGUI Subscriber-
Posts
71 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by lcolombo
-
Hi, You should not declare a global variable, but a public variable in MainModule class unit MainModule; interface uses uniGUIMainModule, SysUtils, Classes, uniGUIBaseClasses, uniGUIClasses; type TUniMainModule = class(TUniGUIMainModule) UniNaImLtSistema: TUniNativeImageList; procedure UniGUIMainModuleSessionTimeout(ASession: TObject; var ExtendTimeOut: Integer); procedure UniGUIMainModuleCreate(Sender: TObject); procedure UniGUIMainModuleBrowserClose(Sender: TObject); procedure UniGUIMainModuleDestroy(Sender: TObject); private public vGlobalVariable: string; end;
-
TUniCustomDBGrid.MoveToRow(): Unexpected Row number: 0, 3.
lcolombo replied to erich.wanker's topic in General
https://docwiki.embarcadero.com/Libraries/Alexandria/en/Data.DB.TDataSet.IsSequenced -
TUniCustomDBGrid.MoveToRow(): Unexpected Row number: 0, 3.
lcolombo replied to erich.wanker's topic in General
What database do you use? We use ADS by SAP and we had to check the Sequenced option in the dataset to avoid this problem. Regards -
Do you sell?
-
TUniCustomDBGrid.MoveToRow(): Unexpected Row number: 0, 3.
lcolombo replied to erich.wanker's topic in General
Hi, We use Advantage Database Server and had the same error continuously. We fixed it by changing the following option of the TAdsTable component: Sequenced := true; SequencedLevel := slExact; Regards, -
socket Socket Error # 10054 Connection reset by peer
lcolombo replied to Fábio Matte's topic in General
Hi, In my case, I had the same problem and after a lot of testing we discovered that the problem was related to the static loading of a dll. We changed the way we use the dll (LoadLibrary, GetProcAddress and FreeLibrary) and it fixed it. Regards,- 26 replies
-
- error
- connection
-
(and 2 more)
Tagged with:
-
I use this: UniServerModule.NewCacheFileUrl(False, 'pdf', vFileName, vSubDir, vFileCacheURL, True); // copy file to vFileCacheURL and then UniPDFFrame.PdfURL := vFileCacheURL; Regards
-
Is it possible to reclycle a node in the hyperserver from a unigui application? The idea is to achieve the same thing as clicking on this option, but from the same unigi application: Regards,
-
Does anyone use Advantage Database Server ? I seek to exchange experiences and advice on the implementation of this database. Regards
-
@irigsoft, I manually replaced the js file, then I did several tests and I didn't have big problems, but only in a pre-production environment.
-
Sherzod, The problem was in the isnumber function that I used inside the ondrawcell event and not in the ondrawcell event. Thank you very much for the support.
-
Sherzod, Can I set a css class for some cells? something like that: StringGrid1.Cells[Col, Row].style := 'mycls'; Regards
-
Sherzod, The grid has 40 columns and 1100 rows. With the ondrawcell event it takes several minutes to display the grid. Without the ondrawcell event, the grid is displayed immediately. Regards,
-
Hi, I need to right align cells that have a numeric value or a date. I tried the following but it is very slow: procedure TMyForm.StringGridDrawCell(Sender: TObject; ACol, ARow: Integer; var Value: string; Attribs: TUniCellAttribs); begin if (isNumeric(Value) or isDate(Value)) then begin Attribs.Style.Style := 'text-align: right;'; end; if ARow = 0 then Attribs.Style.Style := 'text-align: center'; end; Is there an alternative that uses clients events? Regards
-
OnDrawCell event: procedure MyForm.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer; var Value: string; Attribs: TUniCellAttribs); begin Attribs.Style.Style := 'text-align: right;'; if ARow = 0 then Attribs.Style.Style := 'text-align: center'; end;
-
See http://www.unigui.com/doc/online_help/synch-and-asynch-operations.htm
-
Did the problem start this week? We have a similar problem that started this week and we cannot detect what it is. What browser do you use? We use Chrome regularly and now we are testing with Firefox to rule out that it is a problem with the latest Chrome update Regards
-
@irigsoft, Thank you very much, you helped me understand the problem and how the unigui session cookie works. @farahad, we need to be able to make the session cookie more secure to be able to pass the security audits of our clients. Regards,
-
1. Yes 2. IIS 3. In web.config The cookiesession1 cookie is a "request" cookie and not a response cookie. Could this be the problem why the rewrite does not work? Regards,
-
A client performed a penetration test on our application (payroll application) and told us that the cookie must have the sameSite and secure attributes configured. How can I configure the sameSite and secure attributes in the cookie cookiesession1 ? Regards
-
Hi, Is the sessions_per_nodes parameter of the hypervisor already implemented ? Regards,
-
Hi, We hire a penetration test on a system based on unigui and they recommend us to update the jquery libraries: The following libraries are out of date: /fullweb.dll/uni-1.90.0.1526/jQuery/jquery-1.11.2.min.js Version: 1.11.2 Date: 2014 /fullweb.dll/uni-1.90.0.1526/jQuery/MaskedInput/jquery.inputmask.min.js Version: 3.1.63-22 Date: 2015 /fullweb.dll/uni-1.90.0.1526/jQuery/autoNumeric/autoNumeric-1.9.35.js Version: 1.9.35 Date: 2015 is it possible to update these libraries? Regards
-
Hi, You must delete each item: I := UniTreeMenu1.Items.Count-1; while(I > 0) do begin UniTreeMenu1.Items.Delete(UniTreeMenu1.Items.Item[I]); I := UniTreeMenu1.Items.Count-1; If(I = 0)then UniTreeMenu1.Items.Delete(UniTreeMenu1.Items.Item[0]); end;