Page 1 of 1

Margins doesn't obey in TDBRichView

Posted: Sat Dec 07, 2013 1:56 pm
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]

Posted: Sun Dec 08, 2013 10:12 am
by Sergey Tkachenko
Sorry, I do not understand the problem.
Please send me a simple project reproducing the problem to richviewgmailcom

Sent

Posted: Mon Dec 09, 2013 4:07 pm
by alexandreq
Hello Sergey

I've sent you a small project, did you get it?

Posted: Tue Dec 10, 2013 11:56 am
by Sergey Tkachenko
No. May be it contained an exe-file, so gmail rejected this email?

Posted: Tue Dec 10, 2013 12:21 pm
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

Posted: Tue Dec 10, 2013 6:34 pm
by Sergey Tkachenko
Received (on the both addresses). I'll try to test it tomorrow.

Posted: Wed Dec 11, 2013 5:04 pm
by alexandreq
ok, thanks

Posted: Wed Dec 11, 2013 5:39 pm
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.