Xbasic
OBJECT_NAME_NORMALIZE Function
Syntax
Actual_Layout_Name as C = OBJECT_NAME_NORMALIZE(C name)
Arguments
- Actual_Layout_Name
The name that Alpha Anywhere will give to a layout object when it is instantiated.
- name
The formal name of a layout object.
Description
Normalize an object name.
Discussion
The OBJECT_NAME_NORMALIZE() function returns the name that Alpha Anywhere will give to a layout object when it is instantiated. Say you have a form called "Main - Menu". When the first instance of this form is opened, Alpha Anywhere creates an object called "Main___Menu" because dashes and spaces cannot be used in object names. This function allows you to know how Alpha Anywhere will name the object.
Example
? object_name_normalize("customer information") = "customer_information"
Limitations
Desktop applications only.
See Also