forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


TreeDSU - A TreeView Unit

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units
View previous topic :: View next topic  
Author Message
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Wed Sep 03, 2008 10:15 pm    Post subject: TreeDSU - A TreeView Unit Reply with quote

Hi guys Very Happy

I have created a DSU to handle a more comfortable the treeview controls. It adds some features: moveUp, moveDown, toParent, toChild, load, save (with and without password) ...

Try it. It contains a script for use. The documentation is in Spanish. I would like to be tested for bugs. Thanks in advance.

Download:

http://vds.uvedese.es/index.php?option=com_content&task=view&id=161&Itemid=52
_______________

uVeDeSe Site
http://www.uvedese.es
_______________
Back to top
View user's profile Send private message Visit poster's website
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Thu Sep 04, 2008 4:58 pm    Post subject: Reply with quote

Very Happy very usefull job Svedese,
only two things at now

1: dblclick on treeeview control?
2 : translate every message of dsu in english

Tnx for your job
Back to top
View user's profile Send private message Send e-mail
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Thu Sep 04, 2008 9:46 pm    Post subject: Reply with quote

Hi Tdk161. Thank

1) About DblCLICK in treeview control, You must define DBLCLICK
style in "tree" function in TreeDSU. This way:

%%imghandle = @tree(create,1,%%top,%%left,%%width,%%height,%%FontFace|%%FontSize|%%BckGroundColor|%%LineColor,%%WsizeImgList|%%HsizeImgList|%%ImgListColorStyle,%%style1|...|DBLCLICK)

DblCLICK in treview control produce a "treedsuXDBLCLICK" event where X is the id_number of treeview. You can examine events to manage the event DBLCLICK.

2) About Spanish messages, I think you are referring to the documentation. I hope to help me someone who speak English and Spanish correctly Wink

____________

uVeDeSe
____________
Back to top
View user's profile Send private message Visit poster's website
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sun Sep 07, 2008 11:33 am    Post subject: Reply with quote

uvedese wrote:
2) About Spanish messages, I think you are referring to the documentation. I hope to help me someone who speak English and Spanish correctly Wink uVeDeSe

Hi uVeDeSe,

I think Tdk161 meant the warn, info and error messages.

_________________
cheers

Dave
Back to top
View user's profile Send private message
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Sun Sep 07, 2008 4:16 pm    Post subject: Reply with quote

Well DaveŽ. TreeDSU does not generates error messages (only returns values as "1" if it was OK, "null" if there were errors, WRONGPASSWORD if password introduced was wrong, to load a tree).
The messages in "Test TreeDSU" script can be translates without problems to any language. Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon Sep 08, 2008 7:26 am    Post subject: Reply with quote

Svedese using your dsu I founded this error/my mistake

in a tree like this:

+ Test1
| + SubTest1
+ Test2

when I Check test1 and delete it only subchild subtest1 is deleted not all subtree test1+subtest1

my error?
Back to top
View user's profile Send private message Send e-mail
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Mon Sep 08, 2008 8:37 am    Post subject: Reply with quote

Tdk161:

It works perfectly to me. When you selects SubTest1 item and you deletes it, only selected subitem is deleted
___________

uVeDeSe
___________
Back to top
View user's profile Send private message Visit poster's website
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon Sep 08, 2008 9:21 am    Post subject: Reply with quote

Svedese,

It's true, but with test1 selected, not delete test1 only its child subtest1 Rolling Eyes
Back to top
View user's profile Send private message Send e-mail
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Mon Sep 08, 2008 11:25 am    Post subject: Reply with quote

When you delete an item is deleting all subitems also
Back to top
View user's profile Send private message Visit poster's website
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon Sep 08, 2008 11:55 am    Post subject: Reply with quote

svedese,
sorry, but with me not happen (using also the script sample included with dsu)

and How I can change the name of the tree object ? always like I see treedsu1 ?

tnx for any info
Back to top
View user's profile Send private message Send e-mail
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon Sep 08, 2008 12:24 pm    Post subject: Reply with quote

Svedese,
I found why happen nodeletion of subchild,
the item must be selected and not only cheked, if selected work fine, is possible to change dsu consider the checked and not only selected?

and change the name of object tree to ather user defined? not only number ?


Many tnx for any info
Back to top
View user's profile Send private message Send e-mail
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Mon Sep 08, 2008 12:56 pm    Post subject: Reply with quote

Ckeck is a TreeView control style. You can use checks, for example, to mark completed or pending tasks, etc...

You can create a TreeView without Check style. You must select treeview items to work with they.

About treview control name: TreeDSU use a list to manage treeview items (to Copy, moveUp, moveDown items, etc.). Id. list must be a number, then, TreeDSU uses the same identifier to the list and treeview control. Wink
_________

uVeDeSe, please, not Svedese, Thank Cool
_________
Back to top
View user's profile Send private message Visit poster's website
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon Sep 08, 2008 1:04 pm    Post subject: Reply with quote

Worship Worship Worship Worship Worship Worship

sorry sorry and a lot of apologize uVeDeSe Embarassed

but the style CHECKBOXES is used Crying or Very sad
Back to top
View user's profile Send private message Send e-mail
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Mon Sep 08, 2008 2:05 pm    Post subject: Reply with quote

Don't worry Tdk161.

In "Test TreeDSU" script, I use Checked style in treeview, but it isn't necessary. I use it to experience the possibilities of TreeView controls.

You can read the documentation (styles, commands and functions) of TreeView controls from ZIP file original (Shinobisoft software). TreeDSU complements and facilitates the use of TreeView Controls.

New features with TreeDSU:

    MoveUp
    MoveDown
    ToParent
    ToChild
    CopyAdd
    Save and Load tree structures (with and without numeric password)


The characteristics of the Treeview controls are inherited from the SSTreeVw.dll extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group