Jump to content

herculanojs

uniGUI Subscriber
  • Posts

    565
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by herculanojs

  1. Acredito que vc deva cnfigurar um caminho amigável para a criação/localização do seu banco de dados. Afinal pela mensagem ai, parece que esta usando o caminho do radstudio
  2. I have the html code in a UniURLFrame with some components. How can I interact with the components inside the html code, reading and writing values. UniURLFrame1.HTML.LoadFromFile('files\login.html'); I tried with the approach but I didn't get success UniSession.AddJS('document.getElementById("inputCPF").value = "36254569"'); I haven't been able to find a solution on the forum yet.
  3. I think you have to understand the working dynamics of uniGUI forms regardless of bpl issue, as well as keep in mind that to deal with BPL you must work with object-oriented view and not procedural programming as is customary in Delphi. Bpl is nothing more than the box where things will be. If there is a form in bpl, you have to understand how uniGUI handles forms in order to create that form class that you pasted into bpl. You will create something derived from what is in bpl. Gives a look at object-oriented concepts
  4. If you are going to download the package, you must somehow keep the ID (hmodule) identifying the package associated with TabShett or the resource that loaded the package, in order to have the reference to release the package. Just closing and destroying the resource does not free the package from memory.
  5. I think it would be the steps: 1) Load package - loadpackage() 2) Create tabsheet - with frame 3) Close tabsheet 4) release package - unloadpackage() Or as I mentioned, you can create a control that identifies that there are new resources (bpls) that must be loaded, if the user is using any of these new bpls. Then inform him that he should reload the application for a new update. You don't need to scan components loaded in the package. Once you destroy the frame, the package can be released.
  6. UnRegisterModuleClasses(Module); UnLoadPackage(Module); I think that alone is enough. Now as I already informed you, you won't be able to release a package while resources of it are being used. You instantiated a frame inside the package and are using it in a form. As long as this frame is not destroyed, this package cannot be released. To work with packages which will have form, frames, etc. must plan the application well in advance.
  7. I already managed to understand and resolve, thank you.
  8. <iframe src="https://www.youtube.com/watch?v=zmkAlcOd_AA?rel=0&hd=0&autoplay=0" frameborder="0" width="300"></iframe> www.youtube.com refused the connection. What can it be?
  9. I refer to how to adjust the size to make it small, I can't find any properties or information to change that.
  10. You cannot download a package while using resources from the package.
  11. You have to see how you will implement your scenario to avoid such problems. 1) You can upload the BPL and after using it download it. This would avoid the issue of not being able to update. Without downloading the BPL, unfortunately, you will not be able to perform its update, and would have to be dropping the application to be able to perform this maintenance. So you have to think carefully about the construction of the project. You can also place updates in a verification directory for the application to read. When it finds a new update, it prompts open sessions to exit or sets a time for automatic termination. After the end of all sessions, then the application unloadpackages the loaded BPLs and properly replaces the new ones. Do not place the application running directly in the Delphi working directory where you compile the BPLs. Try to leave the test application running in another location.
  12. Se você quiser comunicação entre os objetos envolvidos, eles devem ter métodos que podem ser lidos ou escritos. Se você está no quadro e quer obter valor a partir do principal, você deve ter um método público no principal que lhe dá acesso e assim por diante.
  13. Aqui está um exemplo de trabalho para você. projeto bpl.zip
×
×
  • Create New...