Recent

Recent Posts

Pages: 1 ... 8 9 [10]
91
Databases / Re: Readonly dataset.
« Last post by P.curtis on June 04, 2020, 12:23:32 pm »
What do you mean?

What should I put there?
92
Databases / Re: Readonly dataset.
« Last post by zoltanleo on June 04, 2020, 12:13:54 pm »
TSQLQuery component has the properties of InsertSQL, UpdateSQL etc. Perhaps you have left them empty.
94
General / Re: Warning: Unreachable code
« Last post by Zvoni on June 04, 2020, 11:52:09 am »
+1 Mark
95
Other / Re: Why are there so few open source Pascal/FP projects?
« Last post by avra on June 04, 2020, 11:46:02 am »
There are 10321 hits if you enter delphi in github search.
There are 1916 hits if you enter lazarus in github search.
There are 9562 hits if you enter pascal in github search.
There are 594 hits if you enter freepascal in github search.

Good part of delphi hits can be used in Lazarus with none or minimal effort (although many can not be converted that easily and some would require too much effort).

Lazarus comes with lots of libraries and components, and much more can be installed with package manager.
96
General / removing stringgrid cells
« Last post by mangakissa on June 04, 2020, 11:42:21 am »
Unfortunally TStringgrid.clean only makes the cells empty and rowcount wil never set to my first default value (for me its rowcount = 1).

Is this the only way or is there another property that remove cells with its values and set rowcount to its default.
97
LCL / Re: [SOLVED] How can I display message form while doing others?
« Last post by egsuh on June 04, 2020, 11:38:33 am »
I solved this issue in following ways.

Code: Pascal  [Select][+][-]
  1. procedure TfQEdit.MenuItem10Click(Sender: TObject);
  2. begin
  3.    if sd1.Execute then begin
  4.        msgForm.Label1.Caption := 'Downloading data... Please wait';
  5.        msgForm.BorderIcons := [];
  6.        msgForm.FormStyle:= fsStayonTop; // fsSplash;
  7.        msgForm.Show;
  8.        Application.ProcessMessages;
  9.        Qnnr.ExportData(sd1.filename);
  10.        msgForm.Hide;
  11.    end;
  12.    ShowMessage('Data saved');
  13. end;
  14.  
98
Unix / Re: pthread_cleanup_push analog
« Last post by PascalDragon on June 04, 2020, 11:21:46 am »
All threadvar related functionality for pthreads is located inside rtl/unix/cthreads.pp.
99
Networking and Web Programming / Re: Synapse abort timeout
« Last post by Jake012345 on June 04, 2020, 11:20:29 am »
The stat must shown every (1 sec or more often).
And the thread is 'frozen' when do the ~stream() so I don't know
100
Networking and Web Programming / Re: Synapse abort timeout
« Last post by Jake012345 on June 04, 2020, 11:18:23 am »
But how can I Show stat?

With the synchronize(@showstat) I can run the commands in the main thread, so it's safe?
Pages: 1 ... 8 9 [10]

TinyPortal © 2005-2018