I'm using a DataSnap Server, so the remote method are running on its own thread. To simplify the things I decided to use a Critical Section.
The code is show below:
procedure TDataSnapServer.GenerateRichView;
begin
CS.Acquire;
try
With TfrmGenerateRichView.Create(nil) do begin
DoGenerate ...
Search found 5 matches
- Wed Aug 23, 2006 8:52 pm
- Forum: Support
- Topic: Multithreading support
- Replies: 3
- Views: 14252
- Tue Aug 22, 2006 1:25 pm
- Forum: Support
- Topic: Multithreading support
- Replies: 3
- Views: 14252
Multithreading support
Does TRichView have support for multithreading?
I'm developing a DataSnap server application that generates RichViews on demand. If I call the remote method on 2 clients or more at the same time I get this error "Canvas does not allow drawing".
I'm not using the same TRichview for all method calls ...
I'm developing a DataSnap server application that generates RichViews on demand. If I call the remote method on 2 clients or more at the same time I get this error "Canvas does not allow drawing".
I'm not using the same TRichview for all method calls ...
- Mon May 01, 2006 2:50 pm
- Forum: Support
- Topic: How to prevent a table cell to get focus?
- Replies: 1
- Views: 9690
How to prevent a table cell to get focus?
Hi,
I'm filling some cells of a table with text and other cells with TEdits.
I just want to avoid that the user sets the focus on the text cells.
Search on RVItem unit I found this:
TRVItemBoolPropertyEx = (rvbpPrintToBMP, rvbpJump,
rvbpAllowsFocus ,rvbpHotColdJump,
rvbpXORFocus, rvbpHotCold ...
I'm filling some cells of a table with text and other cells with TEdits.
I just want to avoid that the user sets the focus on the text cells.
Search on RVItem unit I found this:
TRVItemBoolPropertyEx = (rvbpPrintToBMP, rvbpJump,
rvbpAllowsFocus ,rvbpHotColdJump,
rvbpXORFocus, rvbpHotCold ...
- Wed Apr 26, 2006 1:00 pm
- Forum: Support
- Topic: Completely hide border cells
- Replies: 4
- Views: 17262
Just to help somebody with the same problem
I'm using a quick-and-dirty workaround:
RichViewTableGridStyle := psClear;
RichViewTableGridStyle := psClear;
- Mon Apr 24, 2006 9:21 pm
- Forum: Support
- Topic: Completely hide border cells
- Replies: 4
- Views: 17262
Completely hide border cells
Hi,
How to completely hide the borders of the cells of a table inserted on a TRichViewEdit. I know that if I use the settings below in a TRichView it works:
rvtTable.BorderWidth := 0;
rvtTable.BorderHSpacing := 0;
rvtTable.BorderVSpacing := 0;
rvtTable.CellBorderWidth := 0;
rvtTable.CellHSpacing ...
How to completely hide the borders of the cells of a table inserted on a TRichViewEdit. I know that if I use the settings below in a TRichView it works:
rvtTable.BorderWidth := 0;
rvtTable.BorderHSpacing := 0;
rvtTable.BorderVSpacing := 0;
rvtTable.CellBorderWidth := 0;
rvtTable.CellHSpacing ...