Jump to content

lcolombo

uniGUI Subscriber
  • Posts

    71
  • Joined

  • Last visited

  • Days Won

    2

lcolombo last won the day on June 26 2018

lcolombo had the most liked content!

Recent Profile Visitors

1306 profile views

lcolombo's Achievements

Member

Member (2/4)

7

Reputation

  1. 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;
  2. https://docwiki.embarcadero.com/Libraries/Alexandria/en/Data.DB.TDataSet.IsSequenced
  3. 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
  4. 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,
  5. 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,
  6. I use this: UniServerModule.NewCacheFileUrl(False, 'pdf', vFileName, vSubDir, vFileCacheURL, True); // copy file to vFileCacheURL and then UniPDFFrame.PdfURL := vFileCacheURL; Regards
  7. 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,
  8. Does anyone use Advantage Database Server ? I seek to exchange experiences and advice on the implementation of this database. Regards
  9. @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.
  10. 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.
  11. Sherzod, Can I set a css class for some cells? something like that: StringGrid1.Cells[Col, Row].style := 'mycls'; Regards
  12. 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,
  13. 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
×
×
  • Create New...