Page 2 of 2 <12
Topic Options
#204734 - 2012-04-13 07:10 PM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so... you decided to stay home for easter and instead take a week of work right after? :P
_________________________
!

download KiXnet

Top
#205029 - 2012-04-29 07:46 PM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: Lonkero]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
nah.. Easter weekend was in Austria .. the week after Easter I was on Mallorca for a bit of cycling \:D

Anyway.. here's what came out:

I settled with a combination of GetNodeAT(), Tags and Node.Parent .. Now I control the selection of 3 levels of nodes with many nodes below level1 and 2 flawlessly .. The icing of that cake would be a Threestate property for the treeview, but hey, it looks very good without either..

Thanx again for your effort, both of you.


Edited by Jochen (2012-04-29 07:47 PM)
Edit Reason: You were, I was :o
_________________________



Top
#205030 - 2012-04-29 07:49 PM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Oh yeah, forgot .. If Shawn should read this:

I would not only like the ThreeState property for TreeViews, I'd be pleased even more when there was an implementation of .Hide and .Show single Nodes (At the moment it takes almost 20 seconds to build the Tree, and filters are a nono, when I have to destroy and rebuild it)
_________________________



Top
#205032 - 2012-04-29 09:20 PM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
load tree from xml or something...
something shawn would need to consider.
should make it faster versus calling com thousands of times...
_________________________
!

download KiXnet

Top
#205038 - 2012-04-30 01:53 AM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: Lonkero]
It_took_my_meds Offline
Hey THIS is FUN
*****

Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
I would dearly love it if we could get Shawn to do a maintenance release of KiXforms where the current bugs could be addressed and some highly desirable properties, methods, and events could be added.

Perhaps we could put together a reasonable list that hopefully wouldn't take him much time to fix/add and those that still keep in touch with him could ask him directly?

Off the top of my head, my wish list is:
  • Fixing the form disposal bug.
  • Inserting and removing of menu items.
  • More gridview and listview events. (I would like to be able to detect sorts and enable reordering of columns by dragging headers)
  • Enable processing of events whilst the form is moving.


Top
#205039 - 2012-04-30 02:05 AM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: It_took_my_meds]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
enable processing of events while the form is moving?
isn't that an event of it's own?
_________________________
!

download KiXnet

Top
#205040 - 2012-04-30 02:09 AM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: Lonkero]
It_took_my_meds Offline
Hey THIS is FUN
*****

Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
The event queue is stopped whilst the form is moving. The form move message (and any other messages such as a timer message for example) only comes through once the user has taken their finger off the mouse button. It is as though KiXforms freezes during form moves.
Top
#205041 - 2012-04-30 02:17 AM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: It_took_my_meds]
It_took_my_meds Offline
Hey THIS is FUN
*****

Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
I should also mention that erroneous form move messages do come through, even when the move is not moving. The same goes for OnMouseMove events on gridviews. Lots of messages come through even when the mouse isn't moving.
Top
#205042 - 2012-04-30 03:27 AM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: It_took_my_meds]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
oh. might the be the fact that moving the form is internal windows thing. takes precedence.
bet there is someway to overcome that. some kind of canceling of the event.
_________________________
!

download KiXnet

Top
#205044 - 2012-04-30 06:36 AM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: Lonkero]
It_took_my_meds Offline
Hey THIS is FUN
*****

Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
Please let me know if you find a way to overcome it. Anyway, what do you think about getting a list together? Do you think we could get Shawn to do an update?
Top
#205046 - 2012-04-30 06:58 AM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: It_took_my_meds]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
could. if someone can get a hold of him \:\)
_________________________
!

download KiXnet

Top
#205047 - 2012-04-30 04:40 PM Re: Kf.Classic: How do I determine if TreeNode has Child Nodes ?l [Re: Lonkero]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
The most annoying thing I've run into is not being able to use base64 images for form icons. It's already capable for images on a form, so I wouldn't think it would take much to make the same functionality available for icons.
Top
Page 2 of 2 <12


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 557 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.066 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org