Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5368
| From | "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: DataBrowser single/double click on column Caption |
| Date | 2013-06-18 07:38 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <kpp2qh$i8d$1@dont-email.me> (permalink) |
| References | <kpkq1p$7kr$1@news.albasani.net> <kpmf2a$gha$1@dont-email.me> <kpnqn9$56e$1@news.albasani.net> |
Francesco, You're welcome.... Dirk Francesco F. wrote: > OK, OK, said nothing about CellCaptionDoubleClick.... found the trick. > Buta I've to use CN_BEGFLDTTLEDIT instead of CN_ROFLDTTLDBLCLK, not > even considered from API. Now all is working well! > > Thank you, you focused me in the right direction. > > Francesco > > > Il 17/06/2013 09:49, Dirk (Belgium) ha scritto: > > Hi Francesco, > > > > YES, there is a way. > > > > On this moment a single click is already intercepted for moving the > > column to another postion. > > > > The double click can by done this way: > > > > METHOD Dispatch(oEvent) CLASS SEditMailingBrowser > > LOCAL uReturn AS USUAL > > LOCAL nHFlag AS DWORD > > > > SELF:EventReturnValue := 0L > > > > uReturn := SUPER:Dispatch(oEvent) > > > > IF oEvent:Message=WM_COMMAND > > nHFlag := HiWord(oEvent:wParam) > > > > DO CASE > > CASE nHFlag = CN_ROFLDTTLDBLCLK > > // A double-click-event occured inside a column-caption. > > IF IsMethod(SELF:Owner,#CellCaptionDoubleClick) > > > > Send(SELF:Owner,#CellCaptionDoubleClick,SELF:GetEventColumn(oEvent)) > > ENDIF > > ENDCASE > > ENDIF > > > > RETURN uReturn > > > > I have a lot of possibilities done with databrowser, like coloring > > and moving etc... > > > > If you wish to know what I have implemented, please contact me. > > 'dirk at triviant dot be'. > > > > > > > > > > Francesco F. wrote: > > > > > Hi all, > > > is there any way to intercept a single/double click on a column > > > caption region (like in bBrowser, just to say...)? The goal is to > > > sort the entire browser basing on the column type clicked. I've > > > no time to port all my app browsers to bBrowser, there are > > > thounds of code lines to rewrite and I need to solve the problem > > > ASAP... > > > > > > I'll be grateful for any help you can give me, > > > Francesco > > > > > > --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
DataBrowser single/double click on column Caption "Francesco F." <francescangeli.f.remove@remove.gmail.com> - 2013-06-16 18:44 +0200
Re: DataBrowser single/double click on column Caption "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2013-06-17 07:49 +0000
Re: DataBrowser single/double click on column Caption "Francesco F." <francescangeli.f.remove@remove.gmail.com> - 2013-06-17 16:01 +0200
Re: DataBrowser single/double click on column Caption "Francesco F." <francescangeli.f.remove@remove.gmail.com> - 2013-06-17 22:14 +0200
Re: DataBrowser single/double click on column Caption "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2013-06-18 07:38 +0000
csiph-web