[mono-vb] Toolstrip dynamically build

ericcc eric.crastes at gmail.com
Fri Mar 13 09:47:25 EDT 2009


Hello

After corrected my stupid problem with path, my application now "almost"
work.
I just have some little annoying problem as this one:
I have a toolbar (or ToolStrip) which is build when the application start
with information given by an xml file.
During execution, it's possible to change the definition (the xml file) and
the toolbar is automatically rebuild.
But first, I "clear" its content with the following code


>         For i = 1 To ToolStrip2.Items.Count
>             ToolStrip2.Items.Item(0).Dispose()
>         Next
> 

It works perfectly under windows but not under Linux.
I try with Debian/Mono 2.0 and Suse(VMWare)/Mono 2.2 .

Is it a bug with mono ?

I try to add " ToolStrip2.Refresh()" after the loop to force the redraw of
the toolbar, but without success

Any idea ?

ericc


-- 
View this message in context: http://www.nabble.com/Toolstrip-dynamically-build-tp22496688p22496688.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list