2 dbmemo problem
I'm using 2 DBMemo, I need to ShiftWithParent and Strech in both memos
in the 2nd memo, when I set ShiftWithParent to True, the Strech changes to
False and vice-versa !
There's any way to fix that!? When first memo growths, the second need to
move down. Then when the 2nd memo growths, it needs to strech.
I will have to use imagination? Like an TppMemo concatenating both texts?
Should work, but then I cant use a Label with bold font style to identify
the 2nd memo.
any hint?
Thanks!
Delphi 6
RB 6.03
MSSQL 2000 & FB 1.5
in the 2nd memo, when I set ShiftWithParent to True, the Strech changes to
False and vice-versa !
There's any way to fix that!? When first memo growths, the second need to
move down. Then when the 2nd memo growths, it needs to strech.
I will have to use imagination? Like an TppMemo concatenating both texts?
Should work, but then I cant use a Label with bold font style to identify
the 2nd memo.
any hint?
Thanks!
Delphi 6
RB 6.03
MSSQL 2000 & FB 1.5
This discussion has been closed.
Comments
You need to set the ShiftRelativeTo property of the second memo to reference
the first memo. This should give you the effect you are after.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for your help
Your tip is close! I have an label between both memos, like that:
memo 1
label about memo 2
memo 2
when I set ShiftRelativeTo, the text shift to that:
memo 1
memo 2
label about memo 2
Label has ShiftWithParent, but I cant tell it who is his parent. Then he
moves bellow memo 2, I need it to stay between memos
Its possible?
--
baita abra?o
Feij?
ShiftReliave property of the 2nd memo and the region according to your
needs.
Ed Dressel
Team DM