4D Blog

Home Product More options for object set enterable command

More options for object set enterable command

January 18, 2022

Product

There is a multitude of interfaces and rules to be respected. Often, these constraints are linked to the domains of activity. Obviously, some data can be entered or not by the user. For a field that is not enterable, there are two ways of managing the interface:

  • users can still select and copy its content, for example to add it to a report
  • users are not allowed to copy the field or select its content

To allow you to manage all these interface possibilities, the OBJECT SET ENTERABLE command has been enhanced. As a last parameter, the command now supports an integer. This allows you to have a better control over the focusable property for your field. The possibilities are:

  • 0 – non-enterable, and its content can be selected,
  • 1 – enterable,
  • 2 – non-enterable, and its content cannot be selected.

 

OBJECT SET ENTERABLE(*; "Input"; obk not enterable)
OBJECT SET ENTERABLE(*; "Input"; obk enterable)
OBJECT SET ENTERABLE(*; "Input"; obk not enterable not focusable)

Of course, you can use the command as before by passing a boolean as a last parameter. Keep in mind that in this case, the focus status for a non-enterable field differs between binary and project mode. You can find the details of all combinations in the documentation.

  • False – non-enterable,
  • True – enterable

 

OBJECT SET ENTERABLE(*; "Input"; False)
OBJECT SET ENTERABLE(*; "Input"; True)

For more details, the documentation for the OBJECT SET ENTERABLE command is here.

Discuss

Tags Programming, v19 R4, v20

Latest related posts

  • June 16, 2025

    Generate, share and use web sessions One-Time Passcodes (OTP)

  • May 20, 2025

    Automatic Refresh of OEM Build Licenses

  • May 16, 2025

    New class to handle incoming TCP connections

Vanessa Talbot
Vanessa Talbot
• Product Owner •Vanessa Talbot joined 4D Program team in June, 2014. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.Since her arrival, she has worked to define key features in 4D. She has worked on most of preemptive multi-threading new features and also on a very complex subject: the new architecture for engined application. Vanessa has a degree from Telecom Saint-Etienne. She began her career at the Criminal Research Institute as a developer for the audiovisual department. She has also worked in media and medical fields as expert in technical support, production as well as documenting new features.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Listbox Logs Mail Microsoft 365 Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Listbox Logs Mail Microsoft 365 Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy