⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 67030

📁 神经网络昆斯林的新闻组分类2006
💻
字号:
Newsgroups: comp.windows.xPath: cantaloupe.srv.cs.cmu.edu!magnesium.club.cc.cmu.edu!news.sei.cmu.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!hp-cv!hp-pcd!hpcvusn!hpcvusj.cv.hp.com!tommcFrom: tommc@hpcvusj.cv.hp.com (Tom McFarland)Subject: Re: Mysterious beepingMessage-ID: <1993Apr19.213522.19560@hpcvusn.cv.hp.com>Sender: nobody@hpcvusn.cv.hp.com (Nobody - UID must be 99999)Nntp-Posting-Host: hpcvusj.cv.hp.comReply-To: tommc@cv.hp.comOrganization: Hewlett Packard UTD-CorvallisReferences:  <C5qtKK.wp@cup.hp.com>Date: Mon, 19 Apr 1993 21:35:22 GMTLines: 40In article <C5qtKK.wp@cup.hp.com>, defaria@cup.hp.com (Andy DeFaria) writes:|> [ Article crossposted from hp.windows ]|> [ Author was Andy DeFaria ]|> [ Posted on Mon, 19 Apr 1993 18:08:38 GMT ]|> |> For some reason the following code causes my X application to beep whenever I|> intercept a keystroke and change it's meaning.  The intent of this code it to|> allow "date" fields the following special keys:|> |> 	[Tt]:	Insert today's date|> 	[+=]:	Bump day up by one|> 	[-_]:	Bump day down by one|> |> I hardcoded some dates for this example.  Perhaps I shouldn't be using an|> XmText field for this.|> |> ////////////////////////////////////////////////////////////////////////////// |> // |> // For some reason the following code beeps whenever any of the special keys|> // of [Tt+=-_] are hit.  Why?  The idea of this code is to interpret these|> // keys having the special meaning implied by the code.  I would like to get|> // rid of the beeping but, as far as I can tell, I'm not doing the beep and |> // am at a lose as to understanding who and why the beeping is occuring.|> // |> ////////////////////////////////////////////////////////////////////////////// code deleted...From the XmTextField man page (during discussion of resources):   XmNverifyBell      Specifies whether a bell will sound when an action is reversed      during a verification callback.You are setting doit to false in the callback, and Text[Field] is beepingas it should.  To turn off this behavior, set this boolean resource to false.Tom McFarland<tommc@cv.hp.com>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -