[IronPython] Bitwise boolean operators and Forms
jeff sacksteder
jsacksteder at gmail.com
Wed Dec 28 20:01:36 CET 2005
The code in this snippet fails, claiming the bitwise operator '|' is
unsupported for for DockStyles. Is this an unimplemented item, bug, or
misunderstanding on my part?
*
import sys
sys.LoadAssemblyByName('System.Windows.Forms')
from System.Windows.Forms import *
my_control = RichTextBox()
my_control.Dock = DockStyle.Right | DockStyle.Left
my_control.AutoSize = True
my_form = Form()
my_form.Controls.Add(my_control)
my_form.Show()
Application.Run(my_form)
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20051228/7e4feed8/attachment.html>
More information about the Ironpython-users
mailing list