Hi,
I'm in the process of creating a generic combobox class usable anywhere and especialy in a GRID.
The class will be composed as this
A container class containing a textbox and a button object.
When the button is clicked a small form containg the proper value slection UI object will be diaplayed (Ex.(calendar, treeview, listbox, calculator, etc...).
I have yet one problem remaining.
I has to do with grid row or column sizing.
I would like to resize the textbox and button to fill the container on any row resize or column resize.
I was succesfull with column resize using the resize method of the column.
But the rowheight resize does not work
I have tried using the containers height_assign and width_assign method but no success.
If at all possible I would like to avoid putting code in the grid or column object.
What I don't understand is that the container gets resized properly but nothing get triggered inside of it seems.
To see what I mean create a class from a container
add a text box and button. the container will get resized but not the textbox. activate the assign and access meth for the container and see that they are not triggered by any row or column rsize. Even the grid's rowHeight_assign or access does not get triggered.
Anybody please help
How can this be done
I'm in the process of creating a generic combobox class usable anywhere and especialy in a GRID.
The class will be composed as this
A container class containing a textbox and a button object.
When the button is clicked a small form containg the proper value slection UI object will be diaplayed (Ex.(calendar, treeview, listbox, calculator, etc...).
I have yet one problem remaining.
I has to do with grid row or column sizing.
I would like to resize the textbox and button to fill the container on any row resize or column resize.
I was succesfull with column resize using the resize method of the column.
But the rowheight resize does not work
I have tried using the containers height_assign and width_assign method but no success.
If at all possible I would like to avoid putting code in the grid or column object.
What I don't understand is that the container gets resized properly but nothing get triggered inside of it seems.
To see what I mean create a class from a container
add a text box and button. the container will get resized but not the textbox. activate the assign and access meth for the container and see that they are not triggered by any row or column rsize. Even the grid's rowHeight_assign or access does not get triggered.
Anybody please help
How can this be done