日历控件出错
变巨 2007-01-18 01:38:01
出错现象: 窗口打开时,该控件不显示,需要用鼠标点一下. 如果把taborder设置为最小,即窗口一打开默认的停留位置是该控件,则显示正常,但是.... 窗口上面的按钮,第一次点击时无效,需要再点一下, 以后的点击全部正常.
Full Build时有提示信息:
jm.pbl(w_main).ole_calendar.5: Information C0148: The identifier 'cancel' conflicts with an existing property with this name. The new definition of 'cancel' will take precedence and the prior value will be ignored until this version of 'cancel' goes out of scope
我的环境是 PB9.0 build 8716 用的日历控件是微软 MSCOMCT2.OCX 版本6.1.97.82