 | | From: | Charles | | Subject: | Mouse wheel | | Date: | Wed, 12 Jan 2005 16:20:58 -0500 |
|
|
 | Has anyone given any thought to allowing the mouse wheel to work in the editor? It would geatly simplify scrolling through it. For that matter, why not make it work inside grids and combo boxes too. And since this is the wishing well here's my penny wish, I wish that there was an integrated spelling checker for memo and/or entry fields too.
Charles
|
|
 | | From: | Heinz Kesting | | Subject: | Re: Mouse wheel | | Date: | Thu, 13 Jan 2005 10:37:22 +0100 |
|
|
 | Hi Charles,
There's Marc Van den Berghen solution, it works fine. See for more information his website at http://www.vdblogic.de/dbl/index.htm The classes he built work for grids, listboxes, editors, and since recently, for reportviewers as well.
Another possibility is given by some italic website, to be found under http://www.mediabytesw.it/mbmouse.htm Their solution is based in MS Visual Basic.
However, I agree fully with you that the Wheelmouse should function properly from the core product, it's not making a premium reputation that one has to look for third party tools to manufacure a scrolling through an everyday object like a grid or an editor.
Best regards, Heinz
|
|
 | | From: | Roland Wingerter | | Subject: | Re: Mouse wheel | | Date: | Fri, 14 Jan 2005 12:18:22 +0100 |
|
|
 | Heinz Kesting wrote: > However, I agree fully with you that the Wheelmouse should function > properly from the core product ----- Me too.
Roland
|
|
 | | From: | Bernd Hohenester | | Subject: | Re: Mouse wheel | | Date: | Sun, 16 Jan 2005 00:34:57 +0000 |
|
|
 | Hello Charles,
> And since this is the wishing well here's my penny wish, I wish that there was an integrated spelling checker for memo and/or entry fields too.
interested in spell checking with MS Word? Put the following function key into your custom editor class. Here is the code:
function key(nChar) if nChar == 18 and len(this.value.righttrim()) > 0 // start spell checking with strg+r local lChooseWord lChooseWord = true private oword try oword=new oleautoclient("word.application") catch (exception e) if type('oword') = 'O' //If it's an object release it release object oWord endif lChooseWord = false endtry
if lChooseWord //Word is accessible -- set it up & open spell checker oword.documents.add("normal.dot",false) oWord.selection.text := this.value oword.visible = true oword.activedocument.checkspelling() oword.visible = false oword.activedocument.select() oword.selection.copy() this.value = '' //clear editor this.setfocus() this.paste() //paste corrected text into editor this.value := this.value oword.quit(false) //object housekeeping release object oword oword=null endif endif return false
cu Bernd
|
|
 | | From: | Charles | | Subject: | Re: Mouse wheel | | Date: | Sun, 16 Jan 2005 01:06:07 -0500 |
|
|
 | Great! Thanks!
Bernd Hohenester Wrote:
> Hello Charles, > > > And since this is the wishing well here's my penny wish, I wish that there was an integrated spelling checker for memo and/or entry fields too. > > interested in spell checking with MS Word? Put the following function > key into your custom editor class. Here is the code: > > function key(nChar) > if nChar == 18 and len(this.value.righttrim()) > 0 > // start spell checking with strg+r > local lChooseWord > lChooseWord = true > private oword > try > oword=new oleautoclient("word.application") > catch (exception e) > if type('oword') = 'O' //If it's an object release it > release object oWord > endif > lChooseWord = false > endtry > > if lChooseWord > //Word is accessible -- set it up & open spell checker > oword.documents.add("normal.dot",false) > oWord.selection.text := this.value > oword.visible = true > oword.activedocument.checkspelling() > oword.visible = false > oword.activedocument.select() > oword.selection.copy() > this.value = '' //clear editor > this.setfocus() > this.paste() //paste corrected text into editor > this.value := this.value > oword.quit(false) //object housekeeping > release object oword > oword=null > endif > endif > return false > > > cu > Bernd
|
|
 | | From: | Carolyn Charno | | Subject: | Re: Mouse wheel | | Date: | Fri, 21 Jan 2005 10:02:44 -0500 |
|
|
 | Thanks for sharing the code, can't wait to try it out. I added a QAID for Spell Checking - QAID of: 5170
- Carolyn (dBI)
Bernd Hohenester Wrote:
> Hello Charles, > > > And since this is the wishing well here's my penny wish, I wish that there was an integrated spelling checker for memo and/or entry fields too. > > interested in spell checking with MS Word? Put the following function > key into your custom editor class. Here is the code: > > function key(nChar) > if nChar == 18 and len(this.value.righttrim()) > 0 > // start spell checking with strg+r > local lChooseWord > lChooseWord = true > private oword > try > oword=new oleautoclient("word.application") > catch (exception e) > if type('oword') = 'O' //If it's an object release it > release object oWord > endif > lChooseWord = false > endtry > > if lChooseWord > //Word is accessible -- set it up & open spell checker > oword.documents.add("normal.dot",false) > oWord.selection.text := this.value > oword.visible = true > oword.activedocument.checkspelling() > oword.visible = false > oword.activedocument.select() > oword.selection.copy() > this.value = '' //clear editor > this.setfocus() > this.paste() //paste corrected text into editor > this.value := this.value > oword.quit(false) //object housekeeping > release object oword > oword=null > endif > endif > return false > > > cu > Bernd
|
|
 | | From: | Carolyn Charno | | Subject: | Re: Mouse wheel | | Date: | Fri, 21 Jan 2005 09:56:52 -0500 |
|
|
 | Thanks for your suggestion - This has been assigned :QAID of: 5169
Carolyn (dBI)
Charles Wrote:
> Has anyone given any thought to allowing the mouse wheel to work in the editor? It would geatly simplify scrolling through it. For that matter, why not make it work inside grids and combo boxes too. And since this is the wishing well here's my penny wish, I wish that there was an integrated spelling checker for memo and/or entry fields too. > > Charles
|
|
 | | From: | Geoff Wass | | Subject: | Re: Mouse wheel | | Date: | Fri, 21 Jan 2005 15:13:39 -0500 |
|
|
 | Carolyn Charno wrote: > Thanks for your suggestion - This has been assigned :QAID of: 5169 > > Carolyn (dBI) > > Charles Wrote: > >> Has anyone given any thought to allowing the mouse wheel to work in >> the editor? It would geatly simplify scrolling through it. For >> that matter, why not make it work inside grids and combo boxes too. >> And since this is the wishing well here's my penny wish, I wish that >> there was an integrated spelling checker for memo and/or entry >> fields too. >> >> Charles
Carolyn,
I don't know the QAID number, but this has been recorded already. Wheel mouse wishes have been around for a while.
--
:-)
---------- Geoff Wass (dBVIPS) Montréal, Québec, Canada
========== ======= ==== = More dBASE information at http://geocities.com/geoff_wass
Please reply in the news groups only. Have you backed up your work?! = ==== ======= ==========
|
|