Jump to content

Pep

uniGUI Subscriber
  • Posts

    123
  • Joined

  • Last visited

  • Days Won

    8

Pep last won the day on September 20

Pep had the most liked content!

1 Follower

Recent Profile Visitors

856 profile views

Pep's Achievements

Active Member

Active Member (3/4)

80

Reputation

  1. Hello, I recomend to see this session "Maximise Your Delphi Productivity, all video is very instresting but particulary I learned to use "Multipaste" feature, you can see it in Video in minute 46:45. Very useful to copy/paste SQL strings in code window.
  2. Today starts DelphiCon 2021: schedule The registration is free.
  3. @andyhill and @Abaksoft, thank you very much!
  4. andyhill, thank you for your response, but I don't know, how to use localStorage in MainModule using BeforeLogin Event, because Mainmodule has not visual elements so I cant' use "edtUserName" (TuniEdit) to load a value from localStorage. Maybe there is a way to do it but I don't know...
  5. Hello Tokay, I'm in last version: 1.90.0 build 1555 and "UniServerInstance.ServerResources.MemoryUsed" returns a value. In my case this value is the exactly same that returns this function to caculate the memory used by a Delphi App (I get it from stackoverflow) uses FastMM4; //include this or method will return 0. function GetMemoryUsed: UInt64; var st: TMemoryManagerState; sb: TSmallBlockTypeState; begin GetMemoryManagerState(st); result := st.TotalAllocatedMediumBlockSize + + st.TotalAllocatedLargeBlockSize; for sb in st.SmallBlockTypeStates do begin result := result + sb.UseableBlockSize * sb.AllocatedBlockCount; end; end; Note: My Delphi Version is 10.4.2
  6. Hello, With the last published uniGUI version v1.90.0.1555 this issue has been solved. Thank you very much!
  7. Hello, I found this Issue using OnRemoteQueryEvent with ExtJSVersion 7.4.0 activated: When the user types text in combobox, the list doesn't show the first record that match the criteria. You can test the problem with "DBLookupComboBox - Custom Remote Query" in Demos folder. Left window with 7.0.0 version activated it show the first row that match the text. Right window with 7.4.0 version activated it shows a random row. Please can you confirm this issue? Thanks.
  8. Thank you very much for share it!!
  9. Wow!! Will it be released in the next version of unigui?
  10. Hello, Here is an example of how to load 1200 combo boxes with no waiting time. The trick is create the comboboxes when the user click for the first time the tab and use "OnBeforeFirstActivate" event: procedure TMainForm.UniTabSheetBeforeFirstActivate(Sender: TObject; var AllowActivate: Boolean); begin AllowActivate := True; GenerateCtrls(Sender as TUniCustomPanel); end; procedure TMainForm.GenerateCtrls(AParent: TUniCustomPanel); var I: Integer; ComboBox: TUniComboBox; begin SuspendLayouts; try for I := 0 to 99 do begin ComboBox := TUniComboBox.Create(Self); ComboBox.Parent := AParent; ComboBox.Height := 25; ComboBox.LayoutConfig.Width := '100%'; ComboBox.Text := (APArent.Tag * 100 + I).ToString; end; finally ResumeLayouts; end; end; Therefore, you can use this technique to quickly load forms with many components. In a real world case, it is better to design frames with components and load the frame when the user clicks the tab for the first time. uniGUI_Dynamic.7z
  11. Yes, it is free, It is written in official Page: https://developers.google.com/chart/?csw=1
  12. Hello, In uniGUI Demos folder, you can find some examples to do something like that. for grid: C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Grid - WidgetColumn C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Grid - WidgetColumn2 for chart: C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\ChartDemo C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\ChartDemo - DB ...
  13. Hello Antonio. Have you tried using the TEdgeBrowser component that also includes Delphi? I have done tests with it and the behavior of Tab is correct (it moves within the uni application) NOTE: Before you can use this component, you must follow these installation instructions: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_TEdgeBrowser_Component_and_Changes_to_the_TWebBrowser_Component
×
×
  • Create New...