Skip to main content

Where are the DSNs for the sample Access databases?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Release 4.0:

Keystroke Ctrl C or Ctrl V does not work as expected with the CommonControl demo "TXTENTRY". What has to be programmed to get these keystrokes?

Resolution:

To get a Ctrl C or Ctrl V as expected, the method "getHighLightArea" is necessary for the Ctrl C  instead of "setHighLightArea" coded in the demo.

In the "EfDataKey Section" where the EfDataKey callback event is handled.

Please code e.g.:

            if K-keyAsNum of Keystroke = 3 *> Ctrl C

               INVOKE aTextEntry "getHighLightArea" USING CursorPos

                                                         highlight-chars

            else

      *     This forces OVR/INS of a character based on insertkey state

               INVOKE aTextEntry "setHighLightArea" USING CursorPos

                                                         highlight-chars

            end-if

Old KB# 5359

0 replies

Be the first to reply!