Newbie questions - opening dialog and Combobox height

  • Thread starter Thread starter jodleren
  • Start date Start date
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
 
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.
 
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
 
Back
Top