No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I would like to configure my wxcombox in a way that when it gets the focus, it automaticly opens his listpart. Any ideas ? tia Rony |
|
Re:
THIS WINDCHILL TABLE PROGRAM IS RUNNING, BUT THE NUMBERS IS STILL NOT LINING UP STRAIGHT..WHY, CAN YOU PLEASE HELP ME..THANKS HERE IS THE PROGRAM BEFORE I RUN IT.. [CODE]def windchill( vel, temp): wc = 35.74 + .6215*temp - 35.75*(vel**.16) + .4275*temp*(vel**.16) return wc def main(): print (" __ __ __ … |
|
# Other field creations here.... self.Sfield1 = wx.TextCtrl(id=wxID_SEARCHBROWSERSFIELD1, name=u'Sfield1', parent=self, pos=wx.Point(144, 80), size=wx.Size(216, 21), style=0, value=u'') self.Sfield1.SetToolTipString(u'') self.staticText1 = wx.StaticText(id=wxID_SEARCHBROWSERSTATICTEXT1, label=u'Customer N\xb0', name='staticText1', parent=self, pos=wx.Point(32, 80), size=wx.Size(83, 16), style=0) self.staticText1.SetForegroundColour(wx.Colour(255, 255, 255)) self.staticText1.SetFont(wx.Font(10, wx.SWISS, wx.NORMAL, wx.NORMAL, False, u'Verdana')) self.staticText1.SetToolTipString(u'') self.staticText1.SetBackgroundColour(wx.Colour(0, 0, 128)) [B] self.Sfield1.SetFocus()[/B] [B]Why isn't the focus set to … |
|
I'm new to Boa constructor (not to Python) and seem to have a litle problem. It looks to me as Boa creates the focus order in the same order as you create visualy your form. If that is the case, what do you do when you forgot a control and … |
|
Re:
Little, by little my calculator is getting a look I want. However, I find that using Tkinter is not very intuitive, and i cannot find detail documentation. have a look at this [code] # menu-example-2.py #from Tkinter import * #root = Tk() #def hello(): #print "hello!" ## create a toplevel … |