![]() |
|
|
|||||||
| VCL4PHP VCL for PHP. Questions or comments about the Visual Component Library for PHP, post them here! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links |
|
|
|
||||
|
Well this is my first component and I'm not sure how to do it. I know I have 2 problems, how to set those two new functions, and why appears this error:
Application raised an exception class Exception with message 'Cannot unserialize a component without an owner' This last is a problem because I can't continue without solve it. I don't understand it, I think my component has an owner. The image list its owner is my treeview I guess. I can't identify which one is without owner. What you say i'll probe it after solve this, because now i can't :P thanks
__________________
|
|
||||
|
The error of unserialize come from a function LoadFromResource this function loads a component from a string I think it has to be with something wrong declaring my ImageList. Or lack of something.
** About this I added this line in the construct PHP Code:
Now I need to know how to call the other 2 functions ![]()
__________________
Last edited by dalyla; 11th December 2009 at 20:28. |
|
||||
|
If you
[] 1 |-[] 1.1 |-[] 1.2 |-[] 1.3 if you click 1.1, as child of 1, 1 is grayed telling every one, at least I have one child checked. [#] 1 |-[*] 1.1 |-[] 1.2 |-[] 1.3 But if all childrens are checked, father is checked normally, and it's saying All my children are checked. And if all childrens are unchecked father too, saying all my children are unchecked. So if I change a child y have to change father, and if I change father I have to change children. And this code works I know because I probe it with a button, but i can't click tree and a button ![]()
__________________
|