المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Toolbar buttons size getting changed



C# Programming
08-19-2009, 07:09 PM
Hi,

I am new to the Dot net C# applications.In my application I have created a toolbar with fixed size and based on the events i need to change the visibility to true or false.On button click when i change the visibility of few of the toolbar buttons the size of the total toolbar buttons is getting changed.

Can someone tell me the right approach to avoid this kind of shrinking in the size of the toolbar buttons.

I used the following code for changing the visibility of the buttons in the toolbar:

toolBar1->Buttons->Item[3]->Visible= false;

Thanks in advance...