Jump to content

Lajos Juhász

Members
  • Content Count

    1078
  • Joined

  • Last visited

  • Days Won

    15

Posts posted by Lajos Juhász


  1. 23 minutes ago, Lainkes said:

    My program starts with a small login screen where user credentials are needed.

    When the login is succesful the main form appears.

    But the login screen is still visible behind the mainform until the mainform is closed.

    How can I close the login screen directly when the main form is showed.

     

     

    You should code this in different way. You can find an example at https://www.thoughtco.com/display-a-login-password-dialog-1058469 unfortunately the code formatting is not correct but you can see the idea.


  2. 10 minutes ago, Clément said:

    Very nice tool! But it didn't display the unit I'm looking for. The unit is not directly linked in the project file, instead it is in a folder defined in the IDE environment. I would have to add folders to a list of folders to look for. Is it possible with the latest version you made available?

     

    Just do a find in files.


  3. 2 minutes ago, Rollo62 said:

    That way, standard-apps ( without internet / browser ) will be able to have all equal settings over all platforms, right?
    Only when using a browser, then this would need to be considered as a separate case.

     

    I'm not sure what the pro's and con's would be.
    To be honest, the internet is everywhere nowadays, an assumption that the browser is available by default, is a fair choice too.

     

     

    No. The change was made to follow the Windows standard. Other languages assume or will change the exception masks. That was fragile in previous versions of the Delphi. They made the change to follow other languages and minimalize the possibilities to have problems when calling an external DLL.

     

    The price is that we have to adjust our code.


  4. 1 hour ago, Uwe Raabe said:

    I wonder how subforms work under High-DPI conditions. There are several places in this area where a TForm is acting different to a TFrame.

     

    I don't know what the IDE uses, but it is not usable on a mixed DPI multi monitor systems. I was forced to debug an aplication in such a scenario. Both the application and the IDE failed.


  5. 42 minutes ago, PeterPanettone said:

    Is the Embarcadero Quality Portal already online?

    It is online in read-only mode until the migration is finished. 

     

    Attention: Embarcadero is migrating its customer bug and feature request reporting portal to a new system. This site will remain accessible as a read only repository. We'll shortly provide information on how to access and report bugs in the new portal. See https://blogs.embarcadero.com/embarcadero-quality-portal-migration/.

     

     

    I get the same image after F1 on that property.


  6. 22 minutes ago, Achim Kalwa said:

    Looks like dbExpress can't handle the new "TIMESTAMP WITH TIMEZONE" data type. Is there any switch or parameter to make dbExpress work with Firebird 5? Or do we need to change all the code to use FireDAC?

     

    You can try to contact support and ask to open a ticket for dbExpress. As you wrote this is a new feature in Firebird that should be supported.


  7. 2 minutes ago, DelphiUdIT said:

    I don't think that Embarcadero will do something about that (I don't remember anything about TLS/SSL on the ROADMAP), but it is may thought.

     

    Indy is a 3rd party free library. It is not owned or sponsored by Embarcadero. Embarcadero used it in the past, in recent versions it is replaced by Embarcadero implementation in the IDE and RTL. 


  8. You should check out https://github.com/danieleteti/delphimvcframework.

     

    What's DelphiMVCFramework

    DMVCFramework is a very popular Delphi framework which provides an easy to use, scalable, flexible RESTful, JSON-RPC and ActiveRecord framework for Delphi developers. DMVCFramework is the most popular Delphi project on GitHub and compiles for Windows (32 and 64bit) and Linux (64bit). DMVCFramework services can be compiled as console application, Windows Service, Linux daemon, Apache module (Windows and Linux) and IIS ISAPI (Windows).

    DMVCFramework works with Delphi 11 Alexandria, Delphi 10.4 Sydney, Delphi 10.3 Rio, Delphi 10.2 Tokyo, Delphi 10.1 Berlin, Delphi 10 Seattle.


  9. Just now, Morphumax said:

    Maybe I am from ice age and Delphi evolved since then...  but this does not compile in D11.3: E2005 'Create' is not a type identifier

    Calling TGUIDHelper.Create() in procedure declaration where you need to give a type is somehow strange for me.

     

    Try to add the event handler using the object inspector. Delphi will generate the correct code.

     

    Select Server on the form then in Object inspector go to Events and double click on combobox for the OnHandleCommand event. (That is a more traditional way assign events.)


  10. 2 minutes ago, Luis Enrique said:

    've already seen that the old Embarcadero Getit server is not working. So, what should I do to make it work again?

     

    You have multiple choice:
    - You can try to send money to Embarcadero. Maybe then they will be able to buy a better hardware. 

    -Build a time machine. First travel back in time and install it while the "get it" was working.


  11. There is a bug in the component. Here is the call stack:

    rtl.System.Classes.ClassNotFound(???)
    rtl.System.Classes.FindClass(???)
    :55c8a47c FindClass + $18
    :2490ca39 TPdfDoc.GetFont + $A1
    :2490e778 TPdfCanvas.SetFont + $38
    :2490e404 GetCurrentFont + $120
    :2490e653 TPdfCanvas.SetPage + $13F
    :2490d393 TPdfDoc.AddPage + $23F
    :2490d7cf TPdfDoc.SetVirtualMode + $17
    :24917b19 TPRPage.Create + $99
    :526fd80a delphicoreide290.@Comppalmgr@TComponentPalettePageItemDelegate@CreateComponent$qqrxp25System@Classes@TComponentt1x60System@%DelphiInterface$33Componentdesigner@IDesignerModule%rx18System@Types@TRect + 0x1a
    designide.ComponentDesigner.TComponentRoot.DoCreateComponent(???,TWinControlItem($29E91FD0) as IItem,(0, 0, 0, 0, (0, 0), (0, 0)),True,True)
    designide.ComponentDesigner.TComponentRoot.CreateComponent(TComponentPalettePageItemDelegate($2450B928) as IInternalPaletteItem)
    :526f9b67 delphicoreide290.@Comppalmgr@TPalettePageItem@Execute$qqrv + 0x47
    :54519dc5 coreide290.@Toolfrm@TToolForm@DoItemExecute$qqrxp29Vcl@Categorybuttons@TBaseItem + 0x3d
    :54516548 coreide290.@Toolfrm@TToolForm@FilterEditKeyDown$qqrp14System@TObjectrus58System@%Set$30System@Classes@TShiftStateItemt1$i0$t1$i10$% + 0x50
    vcl.Vcl.Controls.TWinControl.KeyDown(???,[])

     

     

    I have no time at the moment to investigate. 


  12. 5 hours ago, gwideman said:

    Or is it OK starting with nothing set for Graphic, and then just calling LoadFromFile creates the object that Graphic points to, of a type that matches the input image data? 

    When the image format is registered the loadfromfile will create the class required to load the image.

     

    5 hours ago, gwideman said:

    And are the Bitmap, Icon, Metafile, and WICImage properties pointers to separate actual objects? Or are they just more-specifically typed pointers to the same object that Graphic points to (ie: at most one would be valid).  What happens if the graphic type is not one of the default ones, as with TPNGImage and TJPEGImage?

     

    They are used the same way. Depending on the file type you have loaded the required object is created.

×