Friday, August 22, 2014 12:00AM
Tip of the Day: Capturing Column Name and Sort Order within Enhanced DB Grid
Product.: R:BASE eXtreme 9.5 (32/64)
Build...: 9.5.4.30821 or higher www.rupdates.com
Keywords: Enhanced DB Grid, GETPROPERTY, PROPERTY
Section.: Forms
U-Level.: Experienced Users of R:BASE eXtreme 9.5 (32/64)
Did you know that you can capture the column name and sort order of data
within an Enhanced DB Grid, regardless of focus?
Yes, now you can, using the latest update 4 of R:BASE eXtreme 9.5 (32/64).
Additional GETPROPERTY and PROPERTY commands are implemented for Enhanced
DB Grid Control.
Here's how ...
Syntax:
-- To programmatically capture the last column header clicked
GETPROPERTY <EnhDBGridComponentID> CLICKHEADER 'varname'
-- To programmatically capture the sort order of sorted column
GETPROPERTY <EnhDBGridComponentID> SORTORDER 'varname'
Possible return values are ASC and DESC.
If there is no sorted column, the value will be returned as DESC.
-- To programmatically emulate user click on column
PROPERTY <EnhDBGridComponentID> CLICKHEADER 'EnhDBGridColumnName'
Have fun designing, implementing, and deploying intelligence into your
R:BASE eXtreme 9.5 (32/64) applications!
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
--
31 years of continuous innovation!
16 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================