>>I have a container class with a textbox and a command button in it. The textbox will contain a value returned from a search screen accessed by the command button. My problem is that when the column is resized, the containers Resize() event (where I have code that resizes the text box so that it fills the width of the column less the width of the button and the button stays "glued" to the right edge of the column) does not fire. Short of putting code in the columns Resize() event, is there any way to have the container resize just like any other control (ie: textbox, combobox) when the column is resized? BTW, why would the column not resize the container anyway?
>>
>>Thanks in advance for any help!
>>
>>Regards,
>>
>>Don
>
>Don,
>Column.resize doesn't automatically invoke container.resize. Call explicitly from column.resize.
>Cetin
It appears that I cannot even do that. I beleive the containers Width property becomes ReadOnly in a grid column. Thanks anyway. Any other suggestions would be greatly appreciated.
Don
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only