Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Tuesday, November 26, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/26/2024 11:26:19 AM
slxdeveloper.com Community Forums
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to Controls
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Tree view control in 6.2
basanth
Posts: 4
Tree view control in 6.2
Posted: 21 Feb 08 7:18 AM
Can any give the sample on treeview control?
Regards
Basanth
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: Tree view control in 6.2
Posted: 21 Feb 08 4:46 PM
A great example of using a tree control in SLX can be found on the OOTB screen for parent account hierarchy. Take a look there to see if that can help.
[
Reply
][
Quote
]
alexUA
Posts: 23
Re: Tree view control in 6.2
Posted: 16 Feb 09 6:55 AM
Hi! What is OOTB screen?
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: Tree view control in 6.2
Posted: 16 Feb 09 10:10 AM
Quote:
Originally posted by alexUA
Hi! What is OOTB screen?
"OOTB screen" = "out of the box screen". SLX has a screen out of the box that displays account hierarchy that uses the tree control. I don't recall completely what the exact name of that screen is, but looking for a screen named something about "hierarchy" should find it.
[
Reply
][
Quote
]
alexUA
Posts: 23
Re: Tree view control in 6.2
Posted: 20 Feb 09 3:51 AM
Thank you, but i dont see this Example in my OOTM screen. Can you please put a part of code in forum topic? Intresting in syntax:
TreeView1.Nodes.AddFirst ...
Thank you!
[
Reply
][
Quote
]
Phil Parkin
Posts: 819
Re: Tree view control in 6.2
Posted: 20 Feb 09 6:07 AM
The form is called SLX Manage Hierarchy. It is called from the Account Detail form.
Phil
[
Reply
][
Quote
]
RJ Samp
Posts: 973
Re: Tree view control in 6.2
Posted: 24 Feb 09 3:45 PM
Sub LoadTree
Dim rsSDRS
Dim objNewNode
DIM objRootNode
DIM objParentNode
DIM objMemberNode
Dim SQL
Dim strAccountID
Dim strType
Dim strAccount
Dim strPID
Dim strParentID
DIM strEnrollment
treeSDRS.Nodes.Clear
InitialLoadDone = False
gAcctID = "" & txtAccountID.Text
IF gACCTID = "" THEN EXIT SUB
gParentID = "" & txtParentAccountID.TEXT
gAcctType = "" & pklHierarchy.TEXT
SQL = BuildParentAccounts_SQL_PV(gAcctID, gParentID )
IF SQL = "" THEN EXIT SUB
SET objSLXDB = NEW SLX_DB
Set rsSDRS = objSLXDB.GetNewRecordSet
rsSDRS.Open SQL, objSLXDB.Connection
Set objParentNode = treeSDRS.Nodes.Add (Nothing, "BEGIN: ")
DIM iCount
iCount = 0
While not (rsSDRS.EOF)
strAccountID = "" & rsSDRS.Fields(0).Value
strType = "" & rsSDRS.Fields("Type").Value
strAccount = "" & rsSDRS.Fields(2).Value
strPID = "" & rsSDRS.Fields(3).Value
strParentID = "" & rsSDRS.Fields("PARENTID").Value
strEnrollment = "" & rsSDRS.Fields("ENROLLMENT").Value
Set objParentNode = treeSDRS.Nodes.AddCHILD (objParentNode, strType & ": " & strAccount & " : " & strPID & " : " & strEnrollment )
objParentNode.TAG = strAccountID
Application.Debug.WriteLine "Add Tree Node: " & strAccountID & " " & strType & ": " & strAccount & " : " & strPID & " : " & strEnrollment
iCount = iCount + 1
rsSDRS.MoveNext
Wend
rsSDRS.Close
Set rsSDRS = Nothing
IF iCount > 0 THEN
InitialLoadDone = TRUE
TreeSDRS.FullExpand
END IF
''' TreeSDRS.FullCollapse
gSelectedAcctID = ""
cmdAddChildren.Visible = FALSE
End Sub
[
Reply
][
Quote
]
alexUA
Posts: 23
Re: Tree view control in 6.2
Posted: 26 Feb 09 9:23 AM
Thank you!
[
Reply
][
Quote
]
alexUA
Posts: 23
Re: Tree view control in 6.2
Posted: 25 Jun 09 3:53 AM
Hello!
Help me please with TreeView opening. Which procedure or option are open TreeView branch?
For Example when I doing refresh I want that my TreeView will open with last opened branch?
I try
TreeView.SetFocus Node
but my treeview didnt open
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/26/2024 11:37:37 AM