At 01:18 PM 12/12/2013, Brad Davidson wrote:
Sure does help, Razzak, thank you - enabled property command will do the job
with new CVAL function - looking forward to checking this out!
Brad,
In addition to (CVAL('NETGROUP')), you could also use (CVAL('NETLOCALGROUP'))
function, if you wish.
New (CVAL('NETLOCALGROUP')) function in R:BASE eXtreme 9.5 retrieves a list
of "local groups" to which a specified user belongs.
Have fun implementing new functions in your R:BASE eXtreme 9.5 applications.
Please feel free to reach out to me with any questions.
Very Best R:egards,
Razzak.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak
Memon
Sent: Thursday, December 12, 2013 10:10 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: TreeView Nodes Visible T/F?
At 12:06 PM 12/12/2013, Brad Davidson wrote:
>Pardon if this question has been asked/answered:
>
>If one uses the TreeView object, is it currently possible to
>hide/unhide (PROPERTY [cid] VISIBLE 'TRUE' or 'FALSE') the nodes desired?
Brad,
By design, you can set the VISIBLE property to TRUE or FALSE for the entire
TreeView control but not the Item or Sub-Item of a given Node.
However, you can use the ENABLED property to TRUE or FALSE to enable or
disable the entire node itself or dependent Item(s) or Sub-Items.
-- Example (To disable a given node of TreeView control)
IF (CVAL('NETGROUP')) NOT IN (Administrators,Accounting) THEN
PROPERTY TreeViewAdmin ENABLED 'FALSE'
ENDIF
RETURN
In this specific example, the "Administration" node of the TreeView control
will be "disabled" if the logged-in user does not belong to Administrators
or Accounting global groups of your network domain.
A new (CVAL('NETGROUP')) function in R:BASE eXtreme 9.5 retrieves a list of
global groups to which a logged-in user belongs.
Hope that helps!
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
--
30+ years of continuous innovation!
15 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--