Jump to content

Unimdbgrid bug display...


tarcisionmjr

Recommended Posts

1 hour ago, tarcisionmjr said:

I updated unigui to the latest version and recompiled the project and dbgrid is bugging the data view ... the version that bugged was 1.90.0.1530 ... I need help ...

Hello,

UnimDBGrid.BufferedStore.Enabled = True ?

Link to comment
Share on other sites

3 minutes ago, Sherzod said:

Can you please make a simple testcase for reproduce?

sorry for my english, i'm using an online translator ...

but in the app made in unigui the problem happens when the search data will be displayed in unimdbgrid ....

Link to comment
Share on other sites

On 4/29/2020 at 3:38 AM, tarcisionmjr said:

I updated unigui to the latest version and recompiled the project and dbgrid is bugging the data view ... the version that bugged was 1.90.0.1530 ... I need help ...

What was your previous build? Can you create a test case and attach here?

Link to comment
Share on other sites

here is the copy of a simple project created just to test and the failure appears ... let's see ... the code ...

attached is a print of the project and the result that the error happens ...

help help help

 

unit Mainm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics,
  Controls, Forms, uniGUITypes, uniGUIAbstractClasses,
  uniGUIClasses, uniGUImClasses, uniGUIRegClasses, uniGUIForm, uniGUImForm,
  uniGUImJSForm,
  FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
  FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async,
  FireDAC.Phys, FireDAC.Phys.MySQL, FireDAC.Phys.MySQLDef, FireDAC.VCLUI.Wait,
  FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, FireDAC.DApt, Data.DB,
  FireDAC.Comp.DataSet, FireDAC.Comp.Client, uniGUIBaseClasses, uniBasicGrid,
  uniDBGrid, unimDBListGrid, unimDBGrid, uniButton, unimButton,
  Datasnap.DBClient;

type
  TMainmForm = class(TUnimForm)
    UnimDBGrid1: TUnimDBGrid;
    FDConnection1: TFDConnection;
    DataSource1: TDataSource;
    FDPhysMySQLDriverLink1: TFDPhysMySQLDriverLink;
    qCliente: TFDQuery;
    UnimButton1: TUnimButton;
    procedure UnimButton1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

function MainmForm: TMainmForm;

implementation

{$R *.dfm}

uses
  uniGUIVars, MainModule, uniGUIApplication;

function MainmForm: TMainmForm;
begin
  Result := TMainmForm(UniMainModule.GetFormInstance(TMainmForm));
end;

procedure TMainmForm.UnimButton1Click(Sender: TObject);
begin
  qCliente.Open;
end;

initialization

RegisterAppFormClass(TMainmForm);

end.

 

WhatsApp Image 2020-05-03 at 02.18.45.jpeg

Project.jpg

Link to comment
Share on other sites

Just now, tarcisionmjr said:

here is the copy of a simple project created just to test and the failure appears ... let's see ... the code ...

attached is a print of the project and the result that the error happens ...

help help help

 


unit Mainm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics,
  Controls, Forms, uniGUITypes, uniGUIAbstractClasses,
  uniGUIClasses, uniGUImClasses, uniGUIRegClasses, uniGUIForm, uniGUImForm,
  uniGUImJSForm,
  FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
  FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async,
  FireDAC.Phys, FireDAC.Phys.MySQL, FireDAC.Phys.MySQLDef, FireDAC.VCLUI.Wait,
  FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, FireDAC.DApt, Data.DB,
  FireDAC.Comp.DataSet, FireDAC.Comp.Client, uniGUIBaseClasses, uniBasicGrid,
  uniDBGrid, unimDBListGrid, unimDBGrid, uniButton, unimButton,
  Datasnap.DBClient;

type
  TMainmForm = class(TUnimForm)
    UnimDBGrid1: TUnimDBGrid;
    FDConnection1: TFDConnection;
    DataSource1: TDataSource;
    FDPhysMySQLDriverLink1: TFDPhysMySQLDriverLink;
    qCliente: TFDQuery;
    UnimButton1: TUnimButton;
    procedure UnimButton1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

function MainmForm: TMainmForm;

implementation

{$R *.dfm}

uses
  uniGUIVars, MainModule, uniGUIApplication;

function MainmForm: TMainmForm;
begin
  Result := TMainmForm(UniMainModule.GetFormInstance(TMainmForm));
end;

procedure TMainmForm.UnimButton1Click(Sender: TObject);
begin
  qCliente.Open;
end;

initialization

RegisterAppFormClass(TMainmForm);

end.

 

WhatsApp Image 2020-05-03 at 02.18.45.jpeg

Project.jpg

    BufferedStore.Enabled = True
 

Link to comment
Share on other sites

On 5/1/2020 at 4:06 AM, Sherzod said:

Can you please make a simple testcase for reproduce?

the fault I found where it is linked ... the font property of the component, as I changed the font color and font size, version 1531 the fault appears, if I leave the default the fault does not seem ... this flaw needs to be corrected in the next version, you must be able to change the font properties without causing failure ...

Link to comment
Share on other sites

I did tests on the browser in developer mode and the problem does not appear ... but using the cell phone iphone6 and iphone11 directly on the standard browser the problem appears immediately after a "refresh" of the grid or after scrolling the data with more than 40 lines ... remembering that you have to change the font color or grid size ...

Link to comment
Share on other sites

  • 1 month later...
On 6/26/2020 at 3:39 PM, fraxzi said:

Hi,

I have a problem on how to display MEMO column with Unimdbgrid too.

Using .1534 version.

 

Thanks,

Frances

Anyone how to resolve this?

 

Link to comment
Share on other sites

×
×
  • Create New...