Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #11423
| From | "Karl-Heinz" <invalid@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: BBrowser, celledit, BEDIT_CREATE etc |
| Date | 2018-02-24 19:50 +0100 |
| Message-ID | <ffdr62FatanU1@mid.individual.net> (permalink) |
| References | (5 earlier) <ff7vqeF15jhU1@mid.individual.net> <ff8801F30u1U1@mid.individual.net> <4833d81d-d1d0-43ca-9666-510b9b28bd88@googlegroups.com> <ff9v4dFej40U1@mid.individual.net> <f1014061-3368-42bc-a226-2fe6f2b8aef3@googlegroups.com> |
Hi Phil,
> One improvement in the Dispatch method would be to
> simulate the Combobox automatically as though mouse click on it.
on mouseclicks the sle behaves now the same way as the dropdown glyph does.
Another enhancement is that you can now open the choice list with the key F4
too. A final solution would be to enhance the bBrowser class
bComboEditChoice with the possibility to close the choice list not only with
ESC but with F4 too. But that´s what i leave to you ;-)
------------------------
METHOD Dispatch ( oEvent ) CLASS bCityEdit
DO CASE
CASE oEvent:message == WM_KEYDOWN .OR. oEvent:message == WM_CHAR
IF oEvent:wParam == VK_F4
SELF:OnChoiceOpen()
ENDIF
RETURN SELF:EventReturnValue := 1L
CASE oEvent:message == WM_LBUTTONDOWN
IF ! lChoiceOpen // protect var from the bBrowser class bComboEdit
SELF:OnChoiceOpen()
ENDIF
RETURN SELF:EventReturnValue := 1L
CASE oEvent:message == WM_LBUTTONDBLCLK // no selection allowed
RETURN SELF:EventReturnValue := 1L
CASE oEvent:message == WM_RBUTTONDOWN // surpress the Context menu
RETURN SELF:EventReturnValue := 1L
ENDCASE
RETURN SUPER:Dispatch (oEvent )
regards
Karl-Heinz
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-20 23:13 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-21 09:30 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-21 14:57 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-21 16:44 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-21 17:05 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc nicktekhne@googlemail.com - 2018-02-22 02:02 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-22 02:09 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-22 13:33 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-22 14:44 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-22 17:02 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-22 15:55 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-23 08:40 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc Sherlock <sherlock@sherlock.com.au> - 2018-02-23 05:49 -0800
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-24 19:50 +0100
Re: BBrowser, celledit, BEDIT_CREATE etc "Karl-Heinz" <invalid@invalid.invalid> - 2018-02-25 12:07 +0100
csiph-web