Jump to content

Recommended Posts

Posted
12 minutes ago, Marlon Nardi said:

Vou criar um novo componente para dispositivos móveis com uma abordagem diferente do upload uniGUI nativo, que suporta uploads em lote.

Funcionará da seguinte forma:

Se, por exemplo, um arquivo de 50 MB for carregado e a comunicação falhar ou for interrompida quando 20 MB já tiverem sido enviados, o upload sempre será retomado de onde parou.

Funcionou nos meus testes; agora vou transformar todo o JavaScript em um novo componente.

If possible, allow the user to choose whether to access only the camera, only video, or what they want to access, such as the gallery.

And to really win the star rating, an option to request the location of the moment he performs an action.

  • Upvote 1
Posted

News - Falcon Store - UniFalcon!

* [UniFSPopup] Added support for Maximum Height, ScrollBar, and a new method to close the popup when clicking on an item within it;
image.thumb.gif.1ed1003cda5a4a0a254fed19adc12c9a.gif

* [UniFSMap] Updated API calls, removed some warnings, and removed deprecated Maps routines;
* [UniFSGoogleSign] Added support for the new One Tap and Button Sign-In standard.
* [UniFSGoogleSign] 100% compatible with uniGUI web applications (desktop + mobile).
image.gif.db9a4dad46181cd0a0ebdb394d28db9d.gif

All example projects are located within the package -> UniFalcon\Demos\

Currently developing a new file upload component, with support for sending packages to web and mobile devices.


ℹ️for more information: https://store.falconsistemas.com.br 
📧for support send email: suporte@falconsistemas.com.br

Download UniFalcon

Posted
On 11/15/2025 at 9:09 AM, Marlon Nardi said:

Currently developing a new file upload component, with support for sending packages to web and mobile devices.

The first version of the mobile upload component is complete. [UnimFSMultiUpload]
Supports:

  • Multiple files;
  • Encrypted package sending;
  • Maximum file size (parameter);
  • Maximum number of files (parameter);
  • Front camera (Mobile optional);
  • Rear camera (Mobile optional);
  • File filters;
  • Customizable translation texts;
  • GPS coordinate capture on upload (parameter) (beta test);

image.thumb.gif.0e093516224ae552bdeef65dec51a6ae.gif

📧for support send email: suporte@falconsistemas.com.br

Posted

🚀 FALCON STORE BLACK FRIDAY — 50% OFF ON ALL COMPONENTS! 🔥
Available for a limited time only!

Falcon Store is officially live with its Black Friday Sale, offering 50% OFF on all Delphi components for uniGUI — including the full UniFalcon Package, FSAsaas, FSMultiUpload, FSMap, FSQRCode, Google Sign-In, and much more!

💥 Yes, it’s 50% OFF on everything.
Perfect for developers who want to improve performance, add advanced features, and boost productivity in uniGUI applications — both Web and Mobile.

🛒 Check it out now:
https://store.falconsistemas.com.br/

📌 Limited-time offer.
Grab your components while this huge discount lasts!

Posted

Hi Marlon,

I have the following code:-

procedure TfrmMain.mnuTestClick(Sender: TObject);
var
   Confirm : TUniFSConfirm;
   lResult : Boolean;
begin
   lResult:=True;
   Confirm:=TUniFSConfirm.Create(NIL);
   try
      Confirm.Question('Title', 'Message', 'far fa-question-circle',
      procedure(Button: TConfirmButton)
      begin
         if Button = No then
            lResult:=False;
      end);
   finally
      Confirm.Free;
   end;

   // Why is the following code shown before the user chooses one of the dialogue's options?
   if lResult then
      showmessage('Yes')
   else
      showmessage('No');
end;

My UniMainModule.EnableSynchronousOperations is set to True.

Why is the Showmessage() code shown immediately once the dialogue pops up? How to I get the Confirm.Question() call to be modal?

--
Frederick
(UniGUI Complete - Professional Edition 1.95.0.1577)
 

P.S. I am not sure if I should be posting support questions here. Let me know if I should email the question to you.

Posted

For now, the Confirm component only accepts callbacks internally within itself, because the call is asynchronous.

Example:

procedure TfrmMain.mnuTestClick(Sender: TObject);
var
  Confirm: TUniFSConfirm;
begin
  Confirm := TUniFSConfirm.Create(Self); // or UniApplication / UniMainModule
  Confirm.Question('Title', 'Message', 'far fa-question-circle',
    procedure(Button: TConfirmButton)
    begin
      if Button = No then
      begin
        ShowMessage('No') <----
        // CODE HERE
      end             
      else begin
        ShowMessage('Yes'); <----
        //CODE HERE
      end; 
    end);
end;

 

Soon, I will upload a new component update to work with EnableSynchronousOperations with synchronous operations.

Currently, it only affects native uniGUI synchronous operations, such as:

  • ShowMessage
  • MessageDlg
  • some UniSession.Synchronize in certain internal calls.

Since TUniFSConfirm works entirely on top of JS + callback, it will always be asynchronous from the Delphi code point of view.

The new version will have a new method, for example:

  • Question → Asynchronous, uses callback.

  • QuestionSync → Synchronous, modal style, blocks the flow until the user clicks. (NEW, still to be implemented)

 

Posted

I have the following code:-

var
   Confirm : TUniFSConfirm;   // Version 1.1.3.70
begin
   Confirm:=TUniFSConfirm.Create(NIL);
   try
      Confirm.Question('Please Confirm', 'Test Prompt', 'far fa-question-circle',
            procedure(Button: TConfirmButton)
            begin
               if Button = No then
                  showmessage('No')
               else
                  showmessage('Yes');
            end);
   finally
      Confirm.Free;
   end;
end;

Why are the ShowMessage() calls never made regardless of the button clicked?

--
Frederick
(UniGUI Complete - Professional Edition 1.95.0.1577)
 

Posted

Ignore the above.

It seems that I have to create the control using Self and I cannot use the try...finally...end construct.

My question is, if I create many of these Create(self) calls in the same form, will the memory usage increase?

I suppose once the form closes, the memory allocated to the control will be freed automatically?

Posted

Hi @Frederick

Dynamic component creation is insignificant in terms of allocated memory.

However, you can create the component on the screen only once and use it as many times as you want. Example:

image.png.da287c1dbc31f0a2f26c89f2109ad756.png

Confirm.Question('Please Confirm', 'Test Prompt', 'far fa-question-circle',
    procedure(Button: TConfirmButton)
    begin
       if Button = No then
          showmessage('No')
       else
          showmessage('Yes');
    end);

FSConfirm-Simple.zip

  • 3 months later...
Posted

Hi,

When there is no data for the TUniFSGoogleChart control, there is a text of "Nenhum dado" displayed in its place. According to Google Translate, it is Portuguese for "No Data" or "None".

How do I display the English equivalent?

P.S. Please tell me how to resolve the wrong decimal symbol shown in my message at  

 

googlechartnodata.png

  • Upvote 1
Posted

Hi @Frederick

Thank you for the feedback.

I'll implement a new property in the component so you can enter this text according to your language. I'll also take this opportunity to review the issue of the decimal symbol.

Posted

Hi Marlon,

Thank you for your reply.

I would also like you to look at the ChartFormat property of the control when it is enabled.

1. If I set the Prefix blank, the prefix automatically becomes "R$". It should remain blank.
2. An integer value of 4 becomes 4.00 when it should be 4. There is no sub-property in ChartFormat that specifies the number of decimal places and I don't why the control is setting the 2 decimal places for me.
3. The control does not respect the settings for DecimalSymbol and Language per my screenshot below.

At times, the chart's height and width becomes smaller than the normal size. If I reload the application, the chart is drawn in the full size. It does not happen all the time but often enough to cause concern for me when the user sees it. What can the reason be for this to be happening?

googlechartchartformatenabled.png

Posted

After installation, I don't know why I am getting the following error message when compiling the project. I use the 64 bit Windows platform but I installed the 32 bit because there are no files when installing the 64 bit option of UniFalcon.

unifalconerror.png

Posted

Hi Marlon,

Using version 1.1.3.41 of the TUniFSGoogleChart control, here are the results with ChartFormat property active and DecimalSymbol set to ".", Language set to "en-gb" and Prefix set to a blank:-

1. The decimal symbol for the pie chart percentage is a dot (Fixed)
2. The prefix for the value when the mouse cursor is over a slice shows "R$" instead of a blank value (Not Fixed)
3. The value of a slice still has the decimal places shown (4.00 instead of 4) (Not Fixed)
4. The pie chart's width and height seems to be the normal size rather than an occasional size (Seems to be fixed)

Another thing I wish to mention is that there seems to be an issue with the way the installation program works.

When I choose the 32 bit install option, the DCU files are created in the UniFalcon\Lib\Delphi\LibD26 directory and the library path for Delphi in 32-bit mode has the entries of UniFalcon\Lib\Delphi\LibD26 and UniFalcon\Sources.

When I choose the 64 bit install option, The DCU files are ALSO created in the UniFalcon\Lib\Delphi\LibD26 directory. Additionally, there is a directory of UniFalcon\Lib\Delphi\LibD26x64 created but there are no 64 bit DCU files within. Additionally, the library path for Delphi in 64-bit mode has NO entries for UniFalcon's library and sources directory.

In 64-bit install mode, I expect the following to happen:-

1. 64 bit DCU files are created in UniFalcon\Lib\Delphi\LibD26x64
2. The library path for Delphi in 64 bit mode should have the the entries for UniFalcon\Lib\Delphi\LibD26x64 and UniFalcon\Sources

Please check your installation program.

BTW, how do I add values for a pie chart (or any chart from Google Charts) directly, without specifying a value for the ChartDataSet property?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...