RE: how to change the order of a button, static text or other components

2011-10-21 Thread Prasad, Ramit
>what i want to do is,when i press a button, i change the order of >selected components,how to do this? This is so vague, I am tempted to think it is spambut on the chance it is not, I need a lot more information than you are providing to even attempt to give you any guidance. 1. By "button

Re: how to change the order of a button, static text or other components

2011-10-21 Thread Ian Kelly
I assume you're arranging the components with a sizer. Remove them from the sizer, reinsert them in the order you want, and then call sizer.Layout(). Cheers, Ian -- http://mail.python.org/mailman/listinfo/python-list

Re: how to change the order of a button, static text or other components

2011-10-20 Thread install...@189.cn
On 10月21日, 上午9时26分, Chris Rebert wrote: > On Thu, Oct 20, 2011 at 6:08 PM, install...@189.cn wrote: > > what i want to do is,when i press a button, i change the order of > > selected components,how to do this? > > Which GUI toolkit are you using? > > Cheers, > Chris wxpython. thx so much. -- ht

Re: how to change the order of a button, static text or other components

2011-10-20 Thread Chris Rebert
On Thu, Oct 20, 2011 at 6:08 PM, install...@189.cn wrote: > what i want to do is,when i press a button, i change the order of > selected components,how to do this? Which GUI toolkit are you using? Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list