B
biffo71
.... it's driving me crazy ...
I trying to make a zoom-combo like word :
I have my items:
10%
50%
100%
fit to page
and I want, after the user has selected "fit to page", to set the
combo text to a calculated value .
It's impossible !!!
private void cmbZoom_SelectedIndexChanged(object sender,
System.EventArgs e)
{
int newtext=calcVal();
cmbZoom.Text=newtext.ToString() //after this point the new text is
set, and I can see it
} //at this point the old "fit to page" is come back.
thank you for any suggestion !!
I trying to make a zoom-combo like word :
I have my items:
10%
50%
100%
fit to page
and I want, after the user has selected "fit to page", to set the
combo text to a calculated value .
It's impossible !!!
private void cmbZoom_SelectedIndexChanged(object sender,
System.EventArgs e)
{
int newtext=calcVal();
cmbZoom.Text=newtext.ToString() //after this point the new text is
set, and I can see it
} //at this point the old "fit to page" is come back.
thank you for any suggestion !!