Xbasic
OBJECT.DATA_ENTRY_STYLE Function
Syntax
Mode as C = .Data_entry_style()
Description
Returns the layout's window mode.
method
Discussion
The <OBJECT>.DATA_ENTRY_STYLE() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.DATA_ENTRY_STYLE() method returns the window mode of the layout. If the style is set to "system", it returns the style as set through View > Settings ... and stored in the registry.
Example
dim ptr as P ptr = form.load("Customer Information") ? ptr.data_entry_style() = "modeless"
Limitations
Desktop applications only.
See Also