Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Size_control event of container objects

Former Member
0 Kudos

Hi,

I have a splitter container. I have derived two A & B containers from it. I have programmed the B container to fire the size_control event when the splitter of the splitter container is moved up and down thereby changing its size. however, it never fires. Is there something specific that needs to be done over here.

I have registered the EVENT_SIZE event for the derived container B.

In other words, i want to catch the event when the splitter of the spliter container is moved up/down, left/right.. In my opinion, moving the splitter should result in the change of size of the container B contained within which should ultimately fire the size_control event.

Am i missing something here or is there any other way to do it.

Any advice would be highly appreciated.

Regards,

Ghufran

2 REPLIES 2

Former Member
0 Kudos

Ghufran,

I don't think you need manually control the size of the second container. As you are using a splitter container, the 2nd container will automatically get reized to whatever space is left.

Regards,

Ravi

0 Kudos

Hi Ravi,

Thanks for the reply. That's exactly what i want to catch. I want to catch this resizing event whenever and however it happens, since i need to do some processing.

Could you give me any idea about it.

Regards,

Ghufran