Wednesday, May 31, 2017
Tip of the Day: New GETPROPERTY Function
Product.......: R:BASE X/X Enterprise (Version 10)
Build.........: 10.0.2.20530 or higher
Section.......: Functions
Keywords......: GETPROPERTY, Functions
Did you know that GETPROPERTY is now a function, as well as a command?
A new GETPROPERTY function has been introduced, as a wrapper to the
GETPROPERTY command. The GETPROPERTY function captures the properties
of forms, reports, labels, applications, and the properties for controls
contained within.
Syntax:
(GETPROPERTY('arg1','arg2'))
. arg1 is the Component ID value or the RBASE_FORM, REPORT, or RBA_FORM
keyword that the property is being captured from.
. arg2 is the name of the object's property you wish to get the value for.
Example:
IF (GETPROPERTY('VarLookupListView', 'COLUMN_SORT')) = 'TRUE' THEN
PROPERTY VarLookupListView COLUMN_SORT 'FALSE'
PROPERTY Btn_ShowSortStatus FONT_COLOR 'GREEN'
PROPERTY Btn_ShowSortStatus CAPTION 'Enable Column Sort'
ELSE
PROPERTY VarLookupListView COLUMN_SORT 'TRUE'
PROPERTY Btn_ShowSortStatus FONT_COLOR 'RED'
PROPERTY Btn_ShowSortStatus CAPTION 'Disable Column Sort'
ENDIF
One of the most important aspects in business growth is your company data,
and no one else has more invested in your success than R:BASE Technologies.
Invest forward with R:BASE!
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
--
34 years of continuous innovation!
19 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--
--
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.