Hi Peter,
I did look at using Disable, but it also greys-out the control (both the box and the text).
I've updated the Table Information Tool and opted for using ListBox controls with a single entry, as they have more visual contrast (white background) and are not edible.
With one exception for the Table Path (as this may require multiple lines if the string is long) - I used a combination of EditText (disabled) and StaticText. I used EditText for the background box (grey) and static text over the top. If I only used a EditText control (disabled), then both the box and the text would be grey. By using a combo, the box is greyed out, but the text is still black.
Note - I've submitted this updated version to be loaded on the community site/market place.
------------------------------
Kalu Ribush
Senior Mapping Specialist
Department of Economic Development, Jobs, Transport and Resources (DEDJTR)
Melbourne
------------------------------
Original Message:
Sent: 11-25-2019 04:08
From: Peter Horsbøll Møller
Subject: Copy to clipboard via MapBasic
As for read-only EditText controls, you can make then Disabled which will prevent the user from editing the text
------------------------------
Peter Horsbøll Møller
Pitney Bowes
Original Message:
Sent: 11-19-2019 16:58
From: Kalu Ribush
Subject: Copy to clipboard via MapBasic
------------------------------
Kalu Ribush
Senior Mapping Specialist
Department of Economic Development, Jobs, Transport and Resources (DEDJTR)
Melbourne
------------------------------