Skip to main content

PREXML MF prepocess run appli : nullReferenceException when opening XML file

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

While using a Net Windows Forms application how can you ensure when you tab into a Multi Line Entry field that no text is already selected?

Resolution:

In order to do this you need to add a Gained Focus event handler on the control you need to bevhave in this way and add the following lines:-

set self::"textBox1"::"SelectionStart" to 0

set self::"textBox1"::"SelectionLength" to 0

On entry to this field the above code will ensure that no text is selected.

Old KB# 5414

0 replies

Be the first to reply!