Custom Controls

D

DaveL

Hello,

I have a Custome Control which contains
TextBox
Button
DataGridView

design is Textbox , button When a user clicks the button
i resize the custom control canvasarea to expose the datagridview below
the textbox
click the button or select a Row in the Datagridview it shrinks back to
hieght of the textbox

when it is visible , controls under it bleed through the datagridview

how to solve this
Help

DaveL
 
C

Ciaran O''Donnell

Is this for a web project? I know in IE, due to the fact that all the
controls apart from the dropdownlist are windowless IE controls, the drop
down lists show above everything. I think one solution to this is to put an
iframe behind your control and resize that too.
If this is for windows, please give a trimmed down code sample for your
control to see how you are doing it as I have never experienced this in
windows development
 
D

DaveL

it is for a windows form, and i'll remember the iframe for web side
the problem was not the custom control, i fiddled around for a while
and finally found the solution
when you drop ur custom control on to a new form
be sure to right click and bring to front, then the
drop part will not bleed through controls under the
drop part of the custome control

Thank you very much for you help
DaveL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top