Thursday, December 29, 2022

Tip of the Day: Capturing Cell Information within DB Tree Grid Controls
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.5.11222 or higher
Sections......: Forms
Keywords......: DB Tree Grid, GETPROPERTY, Capture, Cell, Read-Only

Did you know that three new read-only properties were introduced for the DB Tree Grid control to capture cell information?

With the new GETPROPERTY command parameters for DB Tree Grid controls, the column index, row index, and field name may be captured for the selected cell.

 . SelectedColumn - returns the 0-based column index
 . SelectedRow - returns the 0-based row index
 . SelectedField - returns the field name associated with the selected field

The "On Cell Click", "On Cell Right Click", and "On Cell Double Click" EEP events are available for capturing the cell information.

Examples:

GETPROPERTY DBTreeGrid2 SELECTEDFIELD vActiveField

GETPROPERTY DBTreeGrid2 SELECTEDROW vActiveRow

GETPROPERTY DBTreeGrid2 SELECTEDCOLUMN vActiveColumn

Very Best R:egards,

Razzak.

R:BASE Technologies, Inc.
https://www.rbase.com



--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 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 rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/44281191-aa81-4337-466b-45942eead7fc%40rbase.com.

Reply via email to