Jump to content

Update for 0.84


Guest

Recommended Posts

Message from: "Farshad Mohajeri"

 

Current Version: 0.84.4.835

 

Changes:

 

0.84.4.835

+----------------------------------------------------------------------------------------

- 0000920: Bug when ScreenMask is attached to a UniDBGrid

- 0000919: TUniStatusPanel: Alignment

- 0000909: Cookies are not populated in MainModule.Create

- 0000912: DBControls: Displayed field value is not restored after exception

is raised during an Insert/Append operation

- 0000916: Cookies are not saved if application terminated/restarted.

 

 

.

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"bettersoft" .

>

> I raised the issue in previous change it?

 

Not all recently reported issues have been included.

 

In this lastest build there are few critical issue fixes plus few other

issues which I could easily fix. I always try to include as much as fix in

each release, but with 0.84 we already have many fixes included in 5

sub-releases and I need to finalize 0.84 right now before I head for version

0.85.

 

Please post list of issues that are important for you and I will try to

include them in next release 0.85.0.

 

 

 

.

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"bettersoft" wrote in message

news:L6kc0sJ5LHA.2168@anaxagvs227...

>

> Okay, thank you!

> There is a problem, that is, the possibility of adding a DBGrid export

> Excel function? Because this function is very useful!

 

Exporting to Excel can have many options and to achieve this we need to

license a 3rd party library and intergrate it into uniGUI which I think is

beyond our scope.

 

I recommend using a 3rd party lib such as Flexcel from TMS software.

 

 

.

 

Link to comment
Share on other sites

Message from: "bettersoft"

 

If you need a license to export excel, then at least you can export CSV

format? I have a uni group, many people are in the trial, we have already

mentioned this need. This requirement should not be difficult, right?

 

 

.

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"bettersoft" wrote in message

news:uPPtN5J5LHA.2164@anaxagvs227...

>

> If you need a license to export excel, then at least you can export CSV

> format? I have a uni group, many people are in the trial, we have already

> mentioned this need. This requirement should not be difficult, right?

 

It is not difficult, but way beyond our scope. It is much better for

individual developers to take care of such particular tasks.

 

 

.

 

Link to comment
Share on other sites

Message from: "Javi"

 

bettersoft, this code can help.

 

 

function TFrameConsultas.DBGridToString(const _DBGrid: TUniDBGrid): String;

var

Posicion: TBookmark;

Columna, Fila: Integer;

UnaLinea: String;

begin

Result := '';

 

Posicion := _DBGrid.DataSource.DataSet.GetBookmark;

_DBGrid.DataSource.DataSet.DisableControls;

 

try

UnaLinea := '';

for Columna := 0 to _DBGrid.Columns.Count - 1 do

if _DBGrid.Columns[Columna].Visible then

UnaLinea := UnaLinea + _DBGrid.Columns[Columna].Title.Caption + #9;

 

Result := UnaLinea;

 

_DBGrid.DataSource.DataSet.First;

while not _DBGrid.DataSource.DataSet.Eof do begin

 

UnaLinea := '';

for Fila := 0 to _DBGrid.Columns.Count - 1 do begin

if _DBGrid.Columns[Fila].Visible then

UnaLinea := UnaLinea + _DBGrid.Columns[Fila].Field.DisplayText + #9;

 

end;

 

Result := Result + #13#10 + UnaLinea;

 

_DBGrid.DataSource.DataSet.Next;

end;

 

finally

_DBGrid.DataSource.DataSet.GotoBookmark(Posicion);

_DBGrid.DataSource.DataSet.FreeBookmark(Posicion);

_DBGrid.DataSource.DataSet.EnableControls;

end;

 

end;

 

--

NNTP.hk - (^(oo)^)

http://www.nntp.hk/web/

 

"bettersoft" wrote:

>

> or export XML Format?

>

>

>

 

.

 

Link to comment
Share on other sites

Message from: "Oscar Flor"

 

People:

 

There is a example to export to JSon.

 

Mr. Farshad:

 

How I can do to download a file that have a extension different to ".txt"?

 

In this example I can't download the ".json" file.

 

Best Regards

 

Oscar Flor

Sebaot Software

 

 

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"Oscar Flor" wrote in message

news:54ioRcX5LHA.2880@anaxagvs227...

> People:

>

> There is a example to export to JSon.

>

> Mr. Farshad:

>

> How I can do to download a file that have a extension different to ".txt"?

>

> In this example I can't download the ".json" file.

>

 

In ServerModule OnCreate event:

 

procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject);

begin

MimeTable.AddMimeType('json', 'application/json');

end;

 

 

.

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...