Foen
March 26th, 2008, 23:38
Hi
I'm trying to work out how many entries can fit into a list when it is initialised.
The code sits in the onInit handler for the windowlist control, which should be invoked after the children are initialised.
When I iterate over the child windows and try to add up their heights, they return a zero value (zero height).
If anyone can help, I think the questions are:
1. Is there any way to determine child windows heights during onInit?
2. Is ther any other event I can use, which is called after the height has been established?
Cheers
Stuart
I'm trying to work out how many entries can fit into a list when it is initialised.
The code sits in the onInit handler for the windowlist control, which should be invoked after the children are initialised.
When I iterate over the child windows and try to add up their heights, they return a zero value (zero height).
If anyone can help, I think the questions are:
1. Is there any way to determine child windows heights during onInit?
2. Is ther any other event I can use, which is called after the height has been established?
Cheers
Stuart