Newbie questions - opening dialog and Combobox height

J

jodleren

Still learning:

I open a dialog, but it pops up in the task bar. How can I avoid that?
It is done this way:

DialogAdditionalParameters dlg = new
DialogAdditionalParameters();
dlg.SetData(1, TGripMem.ID_GRP_ORIGIN_X, FCalibOriginX);
dlg.ShowDialog(this);

Can I change the height for a combobox?
It seems like it has a default forced height.... I can change a
textbox though.
It is requested by design. The font should remain the same.

Sonnich
 
J

Jeff Johnson

I open a dialog, but it pops up in the task bar. How can I avoid that?
It is done this way:

DialogAdditionalParameters dlg = new
DialogAdditionalParameters();
dlg.SetData(1, TGripMem.ID_GRP_ORIGIN_X, FCalibOriginX);
dlg.ShowDialog(this);

DialogAdditionalParameters is not a .NET class, so I have no idea where it
comes from or why you're showing us code that uses it.
 
J

jodleren

DialogAdditionalParameters is not a .NET class, so I have no idea where it
comes from or why you're showing us code that uses it.

public partial class DialogAdditionalParameters : Form
 

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