Jump to content

SayeyeZohor

uniGUI Subscriber
  • Posts

    215
  • Joined

  • Last visited

Posts posted by SayeyeZohor

  1. On 3/28/2019 at 6:39 PM, Hayri ASLAN said:

    I created a simple unit for google oauth2.

    To get QR Code, call 

    
    UniImage1.Url:=GetQRCodeUrl(UniImage1.Width, UniImage1.Height, 'YOURSECRETKEY', 'your email address', 'Your name');

    To ValidateOTP :

    
    if Format('%.6d', [CalculateOTP('YOURSECRETKEY')]) = UniEdit1.Text then
    begin
      // Valid 
    end;

    Here some screenshots

    image.png.a501061a7cee450e56f72772cac70c8b.png

     

    image.png.4027a4e6a0a6b735fb7c49505e0fdcdc.png

     

     

    GoogleAuth.pas

     

     

    please check this  source and refer me to use that ? with hotmail authenticator

    Project2.rar

  2. On 3/28/2019 at 6:39 PM, Hayri ASLAN said:

    I created a simple unit for google oauth2.

    To get QR Code, call 

    
    UniImage1.Url:=GetQRCodeUrl(UniImage1.Width, UniImage1.Height, 'YOURSECRETKEY', 'your email address', 'Your name');

    To ValidateOTP :

    
    if Format('%.6d', [CalculateOTP('YOURSECRETKEY')]) = UniEdit1.Text then
    begin
      // Valid 
    end;

    Here some screenshots

    image.png.a501061a7cee450e56f72772cac70c8b.png

     

    image.png.4027a4e6a0a6b735fb7c49505e0fdcdc.png

     

     

    GoogleAuth.pas

     

     

    image.png.7c4517c7bd9418cd7a96529b1de3d722.png

    please send source code.... tnx

  3. 51 minutes ago, Sherzod said:

    Have you tried to use CreateOrder property for this?

    Panel1.CreateOrder = 1

    Panel2.CreateOrder = 2

    Panel3.CreateOrder = 3

    ...

    tnx

    how to change first panel collapse = false  

     

      procedure tf1.UniFormAfterShow(Sender: TObject);
      begin
        p1.Collapsed  := False;
        p2.Collapsed     := True;
        p3.Collapsed     := True;
      end;

    not working ...

     

     

  4. On 1/16/2017 at 4:09 PM, mhmda said:

    the project: http://3msoft.net/mhmd/Jordan.rar

     

    Here is a working project (with .exe), but I don't know why you want to change default theme of the button, I recommended to let framework manage that :-)

     

    Sencha Extjs / Touch has a built in themes and it's cross-browser, they already did the hard work for us, so we can focus in back-end and leave the front-end to the framework to manage...

     

    hi, not access to file for download ,,,

×
×
  • Create New...