Jump to content

GoldLine

uniGUI Subscriber
  • Posts

    62
  • Joined

  • Last visited

Posts posted by GoldLine

  1. Hello,

    does anyone know how to integrate Font Awesome PRO v5 files in order to use those icons in UNITreeMenu.

    I've searched in form but didn't found examples how to do that.

    Thanks.

  2. Hello,

    after opening query I need to deslect first row in unidbgrid. This should only hapen after opeing query so that user has complete unselected data.

    Is there a way to do that? (THack(OrderGrid.SelectedRows).CurrentRowSelected:= false ; with THack = class (Tunibookmarklist) end; dosn't works;)

     

    image.png.3559a95037f8d590fec1234cb51d7498.png

    image.png.b9cdd3790a64d9684d7fa2d394450907.png

  3. Hi,

    I need ExtJS grouping methods  expandAll, collapseAll and isExpandAll for unidbgrid.

    Does anyone know if the possibility exists to call these methode via jsinterface of unidbgrid?

    Thanks in advance

    ###

    I've found a solution by myself:

    • unidbgrid.JSInterface.JSCall('view.features[0].expandAll');  => expands all groups
    • unidbgrid.JSInterface.JSCall('view.features[0].collapseAll') => collapse all groups

    But I don't how to call ExtJS grid grouping function isAllExpanded Boolean

    Any idea???

  4. Hello,

     

    I want to use SweetAlert dialog with LoginForm in order to inform user about credenetial check.

    But after confirm SweetAlert Message (click on okay button) the login form is always closed.

     

    My code:

    procedure TfrmLogin.btnAnmeldenClick(Sender: TObject);
    var
      s: string;
    const
      msg = '%s darf nicht leer sein.';
    begin
      s:= '';
      if (length(edEmail.Text) = 0) then
        s:= 'EMail';
      if  (length(edKennwort.Text) = 0) then
      begin
        if s.Length > 0 then
          s:= s + ' / ';
        s:= s + 'Kennwort';
      end;

      if s.Length > 0 then  // Error !!!
      begin
        ModalResult:= mrNone; // !!!

        dlgAlert.Error('Eingabe unvollständig.',  Format(msg, ),
          procedure(const ButtonClicked: TAButton)
          begin
            //frmLogin.ModalResult:= mrok;   // ???
          end
        );
      end;
    end;

     

    Do you have an example how to use SweetAlert in conjunction with Login dialog?

     

    Thanks in advance!

    ****

    => Solution was send by chat support of UNISF,

    Thanks a lot!

×
×
  • Create New...