Jump to content

kaarigar

Members
  • Content Count

    22
  • Joined

  • Last visited

Posts posted by kaarigar


  1. On 1/18/2024 at 3:26 PM, kaarigar said:

    Unfortunately, I am also in the same boat - my subscription has expired and I am not able to download any product from the portal. Fortunately I had the web installer for Athens, but unfortunately it fails to install anything because the GetIt and potentially other servers are down. Now I am searching for the alternate download link for Athens ISO but no luck so far.

    I emailed Embarcadero support for this matter and this is the terse reply I received:

     

    Please note that download via EDN page is limited to those who have active maintenance on their license. If your license has no maintenance then you won't be able to download this product. Kindly contact your renewals@idera.com
    Closing this case for now. Once renewed, kindly submit a new case via www.embarcadero.com/support

     

    I am now really at a loss on how to get the ISO for current and past versions.


  2. Unfortunately, I am also in the same boat - my subscription has expired and I am not able to download any product from the portal. Fortunately I had the web installer for Athens, but unfortunately it fails to install anything because the GetIt and potentially other servers are down. Now I am searching for the alternate download link for Athens ISO but no luck so far.


  3. I am using TListBox to present text strings. However I am not able to find how to group the items shown in the TListBox at run time. I have set the GroupingKind property to  Grouped but I can't find any methods to group items.

     

    And also how to have the horizontal scrolling? I am setting the TListBox.ShowScrollBars to true but that has no effect.

     

    I am using latest Delphi 11.3 with the patch applied and the target platform is Andoid + Windows.  Thank you!


  4. 47 minutes ago, Vincent Gsell said:

    My 2 cents : 

    For Displaying and animating :

    https://github.com/TomDannert/GIFImage 

    - Skia4Delphi ! 

     

    I do not advise you to use http://www.raysoftware.cn/559.html : It unfortunaly not work on all gif, and on recent compiler, it does not pass range checking.

    Tom Dannert's version (https://github.com/TomDannert/GIFImage ) is a far better start if you want to write a Gif Writer. 

     

    It is right that, under FMX, full cross platform (linux and mobile included), I do not have direct solution to write GIF.

     

    Hi Vincent, thanks for your response. I will check out the Tom Dannert's version. There are also some other versions in circulation that are based on RaySoftware's and claim to be bug free. However, my interest in is *creating* animated GIF in Firemonkey for all platforms supported.


  5. 2 hours ago, Fr0sT.Brutal said:

    I doubt it. GIF is too old and also infected with proprietary license.

    Do you really want to create GIF file or just some animation?

    I don't know about the proprietary license for GIF - the web is full of GIFs and now there are open source libraries to create and manage them.

    I want to save the animation to a file - so I thought animated GIF may be a simplest way of doing so. The movie format MP4 would also do, but I thought that would be computationally more intensive.

    Basically any format that can play animation is acceptable for my application. Thank you.


  6. 10 hours ago, David Heffernan said:

    If there are faster asm versions in the system unit, that work on x64, then they will be used. But you can't compile an x86 asm procedure in x64 and expect it to work. You need a bespoke x64 version. 

     

    In other words, I don't think what you describe is going to be possible. 

     

    What is your specific performance issue? 

    Yes, my mistake in asking mixing up X86 code with x64.

     

    It's not really any performance issue that I have run into as such - it's that my application repeated search on strings inside a loop - and depending upon situation, there could be billions of computationally generated strings. I was checking that sure that the Pos function that gets called repeatedly is efficient.


  7. 7 hours ago, Stefan Glienke said:

    This is a pointless endeavor unless you have some proof that the new code in Delphi 11 has a performance regression - the generated assembly code for the purepascal code is almost identical to the handwritten version before on x86 and all other platforms it should be significantly faster than the previous pure pascal implementation. (I should know - I did that change)

    Thank you for your response. No, I don't have any proof, nor do I know any assembly to even look for any proof or done any benchmarks. I was assuming that the the presence of the ASM blocks would indicate that it's purpose was to make code more efficient in terms of execution.


  8. The System unit has various conditional compile flags etc. One of them is PUREPASCAL define that I want to undefine so that ASM versions of the System functions would be compiled. I am specifically interested in the Pos function. The PUREPASCAL gets defined at the beginning as 

    {$IF defined(CPUX86) and defined(ASSEMBLER)}
      {$DEFINE X86ASMRTL}
    {$ELSE}
      {$DEFINE PUREPASCAL}
    {$ENDIF}

    How can I ensure that the PUREPASCAL doesn't get defined? I have tried and define CPUX86 and ASSEMBLER defines, but that doesn't seem to work. Does this require modifying the System unit? Any help is greatly appreciated.


  9. Thanks for your suggestion. I couldn't really figure out how to ignore (or discard) the first change after MouseDown event - the TArcDial jumps to the new angle right away. Instead I was able to implement this suggested logic on TImageControl and rotate the image as desired. This is very light weight with just a few lines of code and does what I need. Thanks!


  10. I am in need of a rotary dial control to let user choose some alphabetical values. Basically, I need a user to rotate the dial to choose a letter from alphabet. I am using TArcDial and it does its job with the help of Tracking := True, and setting appropriate ValueRange property, user can smoothly turn the dial and select an alphabet letter. However, it has one strange behavior. Whenever the ArcDial is clicked or touched (on mobile device), the Arc Dial value changes its value to where it was clicked or touched. (You can see this behavior in the ActionsDemo sample.) This results in an annoying behavior that whenever user touches the dial, the alphabet jumps from its current value to another value which is not sequentially next or previous letter. Perhaps this is by design, but my questions is is there a way to work around this, or is there a better way of doing what I want to achieve? Thank you!


  11. 6 hours ago, corneliusdavid said:
    
    uses
      FMX.DialogService.Async;
    
    procedure TestAsyncDlg;
    begin
      TDialogServiceAsync.MessageDialog('Hello Android!',
                 TMsgDlgType.mtInformation,
                 [TMsgDlgBtn.mbOK], TMsgDlgBtn.mbOK, 0);
    end;

     

    My apologies - your response is perfect for the question I asked. However I made a mistake in typing - I was really interested in modal dialogs - which are sync dialogs. I was confused at the time of posting and I must have confused you!


  12. 21 minutes ago, Dave Nottage said:

     

    There's a good reason for that - implementing modal dialogs on Android the same way as on Windows is practically impossible.

    The workaround is to use async dialogs. Developers do this on Windows all the time - from one form, show another. When the user takes some action on the secondary form, do something based on that action, and close the form. The primary form will still be there when they get back 🙂 

     

    If the primary form needs to "know" what happened on the secondary form, you could expose a property or event handler on the secondary form which the primary form can examine, or handle.

    Thanks for the suggestion. I have been using forms for this purpose as you suggest on Windows platform. I will do the same in this case too - but I was curious because sync dialogs are supported on other platforms.

     

    Btw, I gave wrong subject heading to my post - it should have been “Modal dialogs in android”, and not async dialog. Sorry  for the confusion.


  13. 1 hour ago, corneliusdavid said:
    
    uses
      FMX.DialogService.Async;
    
    procedure TestAsyncDlg;
    begin
      TDialogServiceAsync.MessageDialog('Hello Android!',
                 TMsgDlgType.mtInformation,
                 [TMsgDlgBtn.mbOK], TMsgDlgBtn.mbOK, 0);
    end;

     

    This code shows async dialog. I need sync or modal dialog on android. Documentation says that the modal dialogs are not supported on android and was looking for a work around way or technique to have it on android.


  14. 36 minutes ago, aehimself said:

    As far as I know you might be able to copy the relevant lines from within the .dproj file but there's no way I'm familiar with to push the "child" settings up.

    This is why I'm always setting all information at the topmost level (All configuration) even if it's a Win32 build only.

    Thanks - that is what I ended up doing. I should perhaps set up tje All Configuration as yiu suggest. But then the question what gets precedence - All Configuration or individual specific platform configuration.


  15. I am rebuilding an old multi-device application in Delphi Alexandria. The target was android-32. Now I want to build it for android-64.  I have added several files to android-32 like splash screen, data files, multimedia files, etc. etc. that I want them to be added to the android-64 platform. Is there any way to copy all relevant the deployment settings (Project->Deployment) from android-32 to android-64. How can I have them copied to the android-64 target platform? Thank you for your response!

    • Like 1
×