trichview.com

trichview.support




Re: Picture and Text align ?


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/30/2004 20:05:15


There are two settings allowing to control vertical position of image.


The first of them - VAlign. It is a parameter of AddPictureEx,

InsertPicture,

SetCurrentPictureInfo and others.

But it aligns the image relative to the text base line (see the attached

picture)


Another possibility - using extra item's integer properties. The can be set

by

SetCurrentItemExtraIntProperty and related functions, and they allow to

shift

picture relative to the position specified by VAlign.

There are two related properties: rvepVShift and rvepVShiftAbs.


Example:

rve.SetCurrentItemExtraIntProperty(rvepVShift, 50, True);

See the help file about TRVExtraItemProperty




>

> Hi,

>

> I make a chat program. All working perfectly and your component do

exactlye

> what I need ! Perfect job ! :)

>

> I have a question about picture and text align. In my chat window, when I

> add smiley to my text,

> it look like this: (image are 25*25 pixels)

>

> OOOO

> OOOO

> OOOO blablabla ...

>

> Is it possible to Get this representation ?

>

> OOOO

> OOOO blablabla ...

> OOOO

>

> Thanks,

> YveS.



begin 666 Trvvalign.png

MB5!.1PT*&@H````-24A$4@```4$```#>! ,```!19Z\@````,%!,5$4```"

M````@ " @ ```(" `( `@(" @(# P,#_````_P#__P```/__`/\`______][

M'['$````"7!(67,```[#```.PP'';ZAD````"71%6'1#;VUM96YT``")*HT&

M```"B$E$051XG.W<2V[B0!A%8>^ 3=7<Z^M=>E#SVR[;!(,Z3>" "L*Y0@5(

M5_$G/Z(,_LJ0%\\T]!9<BT(>A3P*>13R*.11R*.0YZ.$P\^C\#OA$YI1B)M1

MB)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1

MB)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)M1B)MY

M(^$P'. *A:64_=>Q7@BG0^;#D)4*Q^6U_WHN' [T]4N%M8XIJ2GC*IS?ZWRQ

MV]>:<?WT]:1,RU'(>H]P7(2U(4NCSJZ&JVTIZZ>C<#JTHY#U+F'3S<I%EN/[

M)AS/A//:[G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