1. Gyaneshwar Kumar
  2. PowerBuilder
  3. Friday, 25 February 2022 09:35 AM UTC
Hi Team,
We have a requirement, where user need to visit/click/Tab out each field in the datawindow. but fields are non-editable.
Please suggest us any possible solution. 

Regards
Gyaneshwar
René Ullrich Accepted Answer Pending Moderation
  1. Friday, 25 February 2022 10:07 AM UTC
  2. PowerBuilder
  3. # 1

Hi Gyaneshwar,

When user should be able to tab into a field you have to specify a tab order and the field may not be protected.

To prevent editing you may use the DisplayOnly propery. Unfortunltely only the edit styles Edit, InkEdit and RichText have this property!

If you need other edit styles I don't know a native way in the datawindow to have the column readonly and focusable. But you could use the itemchanged event to reset changes the user makes.

If you need to check whether the user tabbed into a field you can use the itemfocuschanged event.

HTH,

René

 

 
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.