[Mono-winforms-list] X11 problem with datetime picker

Robert Havens monolist at silvertalon.net
Sun Aug 21 16:59:37 EDT 2005


Hi Paul.

I just tried this under Windows/.Net and Linux/Mono.  For me, the
results were identical with the datepicker appearing over top of the
groupbox.

Is this not what you are seeing under Linux/Mono?  (I'm running from svn
48583) 


Also, it may make no difference to the problem at hand, but I pointed it
out because I doubt it's what you intended, and I thought it might be
contributing to the problem.  You are placing the datepicker into the
groupbox, then pulling it back out and putting it on the form itself,
over the groupbox.  If some older version of System.Windows.Forms got
the z-order wrong, then in this situation the datepicker would draw
under the groupbox, and therefore be invisible.  Anyway, both cases are
behaving correctly in Linux for me.

 - Robert



Paul wrote:

>Hi,
>
>On Sun, 2005-08-21 at 14:07 -0400, Robert Havens wrote:
>
>  
>
>>If you want the DateTimePicker to be in the GroupBox, remove the line
>>that adds it to the Form's .Controls collection.
>>    
>>
>
>Makes no difference at all. It also doesn't explain why it works in .NET
>and not in any flavour of Mono.
>
>TTFN
>
>Paul
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>  
>



More information about the Mono-winforms-list mailing list