Margins doesn't obey in TDBRichView

General TRichView support forum. Please post your questions here
Post Reply
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Margins doesn't obey in TDBRichView

Post by alexandreq »

Hello Sergey

I dropped a TDBRIchView on a form and I have in it a background image.

I change the margins so that my text can be display on the delimited margins, but the top and the bottom margins doesn't obey, only the right and the left is ok.

As you can see in my bellow draw image, the first box is the TDBRichView component, the second box is where the text must be display with top and bottom margins.

The right and left margins is ok, they obey correct. The bottom doesn't and when the text appears, it appears out of my bottom margin. The top only works

to display it, but when I scroll the text with my mouse, the top margins doesn't work anymore.

Is it a bug?

Code: Select all

___________________________
|                                             | 
|    ______________________   |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    |                                     |  |
|    -------------------------------   |
|                                              |
--------------------------------------
Thanks
Alex[/img]
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, I do not understand the problem.
Please send me a simple project reproducing the problem to richviewgmailcom
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Sent

Post by alexandreq »

Hello Sergey

I've sent you a small project, did you get it?
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

No. May be it contained an exe-file, so gmail rejected this email?
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

Hello Sergey,

I've sent you once again, there isn't any exe in the zip file.

I've sent in your svt email and richview email too, please, let me know if you got it.

thanks
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Received (on the both addresses). I'll try to test it tomorrow.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

ok, thanks
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Probably you expect that margins are not scrolled with a document, but reduce a scrollable area. This is not correct, margins are scrolled too, and the whole client area of TRichView is scrollable.
Details by email.
Post Reply