Hello Support,
User needs to read the complete text by scrolling and also copy the complete text in a disabled field. Will this will be provided in the future versions since this is quite often used functionality .
Version : TD .NET 6.3 SP1 UPD 2
Thanks !
Siva A
.NET Enable the disabled field for copying text.
.NET Enable the disabled field for copying text.
You do not have the required permissions to view the files attached to this post.
Re: .NET Enable the disabled field for copying text.
Hi Siva,
Hmmmm. I tested this and here are my results.
If the multiline field is set in the attribute inspector to be disabled, you can scroll/copy fine, both with WS32 and .NET.
If you *programmatically* set the field to be disabled using SalDisableWindow, neither of these versions work.
This is exactly as the function is meant to work. See the manual for that function:
"Disables keyboard and mouse input to a window.
If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus."
So, I don't think this will change.
Best regards,
Hmmmm. I tested this and here are my results.
If the multiline field is set in the attribute inspector to be disabled, you can scroll/copy fine, both with WS32 and .NET.
If you *programmatically* set the field to be disabled using SalDisableWindow, neither of these versions work.
This is exactly as the function is meant to work. See the manual for that function:
"Disables keyboard and mouse input to a window.
If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus."
So, I don't think this will change.
Best regards,
Re: .NET Enable the disabled field for copying text.
Thanks Mike for clarifying this. I understand the limitation between design and programtic for this setting.
Thanks!
Siva A
Thanks!
Siva A
Who is online
Users browsing this forum: [Ccbot] and 0 guests