Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 24 NOV 1998 11:01:08AM Steven King wrote:

MENU ENABLING/DISABLING BASED ON TEXT SELECTION

In order to enable or disable menu items (e.g. CUT and COPY) based on a selection made by the user, does anyone know of an efficient way of detecting text selection within text controls??

Where a single control is concerned, it is OK to directly reference the control in code, but the problem becomes awkward when there are a number of text controls on a given form, and it is expected that text may be selected from any one of them.

I was hoping that there would be an associated ?MouseButton event? that would allow the detection of selected text without the need to explicitly reference a control.

Any ideas would be much appreciated!


At 02 DEC 1998 08:05AM Cameron Revelation wrote:

Steven,

See the EVENTQUALIFIER property.

Cameron Purdy

Revelation Software

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/0911b547d359d226852566c60057feab.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1