Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Jun 9, 1997

Help! Tab order is 0 and cursor is still active.

Question:
My problem is that the SLE and Edit mask fields can be clicked and the cursor is active, even though:

  • The window has a Tab object, and SLE and Edit Mask are mounted on it.
  • The SLE and Edit Mask properties are display-only, enabled, visible, and the tab order is 0.

My one requirement: SLE and Edit Masks must be display-only and populated at runtime.

How can I achieve this?

Answer:
This is the defined behavior for a Windows application. The user is supposed to be able to click in the field and and highlight the text so it can be copied to the clipboard.

It is possible to do what you want, but disabling the field will stop the user from clicking the pointer into the field. If you do not want the field to be grey, change the display to use a datawindow that allows much more control over the field's attributes.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date