Hi Boki,
is it possible to display a value of a TNxButtonItem with the linefeed images according to the Memo item?
The EditOptions of the TNxButtonItem object are set to [epDisablePaste,epDisableTyping] and can only be modified by a special popup editor.
I tried to 'copy' the memo functionality but without success
Thanks!
Best regards,
Justus
Displaying TNxButtonItem Value related to TNxMemoItem
Started by justus, Jan 16 2009 11:30 AM
7 replies to this topic
#1
Posted 16 January 2009 - 11:30 AM
#2
Posted 16 January 2009 - 05:00 PM
Hello Justus,
Can you please send me small demo to I see what is needed. Thank you.
Best regards
Can you please send me small demo to I see what is needed. Thank you.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 16 January 2009 - 05:24 PM
justus2.zip 269.16KB
2 downloads
No problem! If you select popupmenuitem 'Value with 3 lines' the value of the buttonitem should be displayed in same manner as memo value above.
TIA!
No problem! If you select popupmenuitem 'Value with 3 lines' the value of the buttonitem should be displayed in same manner as memo value above.
TIA!
#4
Posted 16 January 2009 - 05:52 PM
Hello Justus,
Thank you for you sample demo
But, I am sorry but still don't understand how it needs to work. Can you please give me more details.
Best regards
Thank you for you sample demo
But, I am sorry but still don't understand how it needs to work. Can you please give me more details.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#5
Posted 16 January 2009 - 06:20 PM
Hello Boki,
I will do my best, please have a look to my code:
procedure TForm1.Item21Click(Sender: TObject);
begin
NxButtonItem1.Value := '1'#13'2'#13'3';
end;
I just want to have the #13 chars of NxButtonItem1.Value replaced with the related glyph image (related to memo display value).
My popup window let the user create a multi line string (TStrings) and I want it to be displayed as in MemoItem (with the carriage return char as image from system resource).
demo_needs.jpg 5.5KB 0 downloads
Nothing more....
Best regards
I will do my best, please have a look to my code:
CODE
procedure TForm1.Item21Click(Sender: TObject);
begin
NxButtonItem1.Value := '1'#13'2'#13'3';
end;
I just want to have the #13 chars of NxButtonItem1.Value replaced with the related glyph image (related to memo display value).
My popup window let the user create a multi line string (TStrings) and I want it to be displayed as in MemoItem (with the carriage return char as image from system resource).
demo_needs.jpg 5.5KB 0 downloads
Nothing more....
Best regards
#6
Posted 16 January 2009 - 08:34 PM
Hello Justus,
I am sorry, I am not sure that this may be made.
Best regards
I am sorry, I am not sure that this may be made.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#7
Posted 18 January 2009 - 08:04 PM
QUOTE (Boki (Berg) @ Jan 16 2009, 08:34 PM) <{POST_SNAPBACK}>
Hello Justus,
I am sorry, I am not sure that this may be made.
Best regards
I am sorry, I am not sure that this may be made.
Best regards
Hi Boki,
what a pity! Can you imagine, that there would be a way to 'extend' the TNxMemoItem for that purpose? If TNxMemoItem would have a button (right corner according to TNxButtonItem) I could use that class.....???
Best regards,
Justus
#8
Posted 18 January 2009 - 09:21 PM
Hello Justus,
Unfortunatelly , I have no in plan to develop this feature. I will like to create edit which can have multiple buttons on both sides.
Best regards
Unfortunatelly , I have no in plan to develop this feature. I will like to create edit which can have multiple buttons on both sides.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users