Jump to content

LordJonas

Members
  • Content Count

    11
  • Joined

  • Last visited

Posts posted by LordJonas


  1. Hi.

     

    Just installed patch 1 from Embarcadero and when i reopen my project i noticed some strange behavior with VCL.... The panels colours aren't show in IDE anymore... 

     

    image.thumb.png.5f4ec03d86559f92092d20d0ae9f3581.png

     

    if you press the mouse in any component the colour appears....

     

    image.thumb.png.20b053348831ae5ef7aea053a7aa8d07.png

     

    I'm considering uninstall the patch.

     

     


  2. Hi.

     

    I just created a Amazon Linux 2 virtual machine for development and testing. I'm able to connect via SSH, i installed PAServer and it's running normal. However, it's not possible for Delphi to connect to PAServer, even with all the information entered correct.

     

    image.thumb.png.626dc720e69f32efd30fa29c83abb663.pngimage.thumb.png.4485d122f2168e65d3e966bc06b99193.png

     

    Any clues ?

     


  3. Well, I can confirm that using the "override method" (manually copying the files from the zip file to the installation folder) does not work, like i told i got the error described, but using the installation script from Embarcadero does work. It seems that for some reason the PatchTool.exe uses some kind of magic....


  4. unit SIGR.Front.View.Principal;
    
    interface
    
    uses
      Winapi.Windows,
      Winapi.Messages,
      System.SysUtils,
      System.Variants,
      System.Classes,
      Vcl.Graphics,
      Vcl.Controls,
      Vcl.Forms,
      Vcl.Dialogs,
      Vcl.Imaging.jpeg,
      Vcl.ExtCtrls,
      Vcl.Imaging.pngimage;
    
    type
      TfrmViewMain = class(TForm)
        pnlViewMain: TPanel;
        imgBack: TImage;
        pnlViewMainTopo: TPanel;
        pnlViewMainBottom: TPanel;
        pnlViewMainLateral: TPanel;
        pnlViewMainCliente: TPanel;
        pnlViewMainLogo: TPanel;
        imgLogo: TImage;
        pnlViewMainTopoClient: TPanel;
        pnlViewMainTopoLinha: TPanel;
        pnlViewMainSair: TPanel;
        pnlViewMainConfig: TPanel;
        pnlViewMainUtils: TPanel;
        pnlViewMainTbls: TPanel;
        pnlViewMainOper: TPanel;
        pnlViewMainResid: TPanel;
        pnlViewMainGest: TPanel;
        pnlViewMainEmpr: TPanel;
        shpLinhaTopo: TShape;
        procedure pnlViewMainSairClick(Sender: TObject);
        procedure pnlViewMainEmprClick(Sender: TObject);
        procedure pnlViewMainGestClick(Sender: TObject);
        procedure pnlViewMainResidClick(Sender: TObject);
        procedure pnlViewMainOperClick(Sender: TObject);
        procedure pnlViewMainTblsClick(Sender: TObject);
        procedure pnlViewMainUtilsClick(Sender: TObject);
        procedure pnlViewMainConfigClick(Sender: TObject);
      private
        { Private declarations }
        procedure MoveShapeItem(Value: TPanel);
      public
        { Public declarations }
      end;
    
    var
      frmViewMain: TfrmViewMain;
    
    implementation
    
    {$R *.dfm}
    
    procedure TfrmViewMain.MoveShapeItem(Value: TPanel);
    begin
      TThread.CreateAnonymousThread(
      procedure
      begin
        while shpLinhaTopo.Left <> Value.Left do
        begin
          if shpLinhaTopo.Left > Value.Left then
             shpLinhaTopo.Left := shpLinhaTopo.Left - 1
          else
             shpLinhaTopo := shpLinhaTopo.Left + 1;
        end;
      end
      ).Start;
    end;
    
    procedure TfrmViewMain.pnlViewMainConfigClick(Sender: TObject);
    begin
      MoveShapeItem(TPanel(Sender));
    end;
    
    procedure TfrmViewMain.pnlViewMainEmprClick(Sender: TObject);
    begin
      MoveShapeItem(TPanel(Sender));
    end;
    
    procedure TfrmViewMain.pnlViewMainGestClick(Sender: TObject);
    begin
      MoveShapeItem(TPanel(Sender));
    end;
    
    procedure TfrmViewMain.pnlViewMainOperClick(Sender: TObject);
    begin
      MoveShapeItem(TPanel(Sender));
    end;
    
    procedure TfrmViewMain.pnlViewMainResidClick(Sender: TObject);
    begin
      MoveShapeItem(TPanel(Sender));
    end;
    
    procedure TfrmViewMain.pnlViewMainSairClick(Sender: TObject);
    begin
      Close;
    end;
    
    procedure TfrmViewMain.pnlViewMainTblsClick(Sender: TObject);
    begin
      MoveShapeItem(TPanel(Sender));
    end;
    
    procedure TfrmViewMain.pnlViewMainUtilsClick(Sender: TObject);
    begin
      MoveShapeItem(TPanel(Sender));
    end;
    
    end.

     

×