.NET Enable the disabled field for copying text.

Missing or incomplete OpenText Gupta product features? Discuss it here!
a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

.NET Enable the disabled field for copying text.

Post by a_sivababu » 17 Jun 2016, 14:07

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

[img]
multiline.png
[/img]

Thanks !
Siva A
You do not have the required permissions to view the files attached to this post.

Mike Vandine

Re: .NET Enable the disabled field for copying text.

Post by Mike Vandine » 28 Jul 2016, 07:09

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,

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: .NET Enable the disabled field for copying text.

Post by a_sivababu » 28 Jul 2016, 11:08

Thanks Mike for clarifying this. I understand the limitation between design and programtic for this setting.

Thanks!
Siva A

Return to “Enhancement suggestions”

Who is online

Users browsing this forum: [Ccbot] and 1 guest