Differences between revisions 5 and 14 (spanning 9 versions)
Revision 5 as of 2005-08-02 06:58:06
Size: 1292
Editor: flyaflya
Comment:
Revision 14 as of 2009-12-25 07:08:40
Size: 333
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
::-- ZoomQuiet [[[DateTime(2005-07-23T09:48:19Z)]]] ::-- ZoomQuiet [<<DateTime(2005-07-23T09:48:19Z)>>]
## 点击月历,可以轻便的将问题归案到日期中保存 建议使用
Line 7: Line 8:
||<^>[[MonthCalendar]]||'''反馈提要'''[[Include(^EasyWizard/Discuss/2005-.*,'反馈简报',4,sort=descending,items=30,titlesonly)]]||

 * 请教一下:
   wxPython 里有没有类似MFC中ddx/ddv的功能,Validate有点类似,但好像只能限制控件的输入,不能在控件和关联值之间像MFC那样用UpdateData()进行更新。 -- flyaflya

 * 不清楚ddx/ddv是什么功能,没有用过。 -- limodou

 * 就是值和控件间的影射,比如把int age;影射到一个edit控件上,每次调用UpdateData(True),值age就变为edit控件上的输入值,调用UpdateData(False)就把age的值显示在edit控件上,其它类型的控件(如ListCtrl,CombCtrl...)也可以这样影射。这样的好处是:每次对话框初始化时只用调用一次UpdateData(False)就可以使对话框上的所有控件显示默认值,而在ON_OK时,只用调用一次UpdateData(True),就可以控件显示的值更新到所影射的值了,很方便。好像wxpython是没有这种功能,我用wxpython感觉和MFC非常相似,包括大多数函数名,但不知道为什么这种有用的功能不加入。
||<^><<MonthCalendar>>||<^>'''反馈提要'''<<Include(^EasyWizard/Discuss/2005-.*,'反馈简报',4,sort=descending,items=30,titlesonly)>>||

wxPython 友好精灵 讨论 ::-- ZoomQuiet [2005-07-23 09:48:19]

<< <  2025 / 6 >  >>
Mon Tue Wed Thu Fri Sat Sun
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

反馈提要

EasyWizard/Discuss (last edited 2009-12-25 07:08:40 by localhost)