Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10312
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Karl-Heinz" <invalid@invalid.invalid> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: #PushButtom in bBrowser |
| Date | Tue, 21 Mar 2017 09:17:42 +0100 |
| Lines | 32 |
| Message-ID | <ejc5thFqbvU1@mid.individual.net> (permalink) |
| References | <b3fe3c77-b7fc-42aa-85d5-c749bd1f5995@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="UTF-8"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net Lfc+P3GlSkoilQE5Cg4jkw7nGe3d3qbokuvWUSAHq2e+p3hAs= |
| Cancel-Lock | sha1:FhIR2wAXiwKrs0traAd5ZOfY0oo= |
| In-Reply-To | <b3fe3c77-b7fc-42aa-85d5-c749bd1f5995@googlegroups.com> |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Importance | Normal |
| X-Newsreader | Microsoft Windows Live Mail 16.4.3564.1216 |
| X-MimeOLE | Produced By Microsoft MimeOLE V16.4.3564.1216 |
| Xref | csiph.com comp.lang.clipper.visual-objects:10312 |
Show key headers only | View raw
Hi Henry,
> I have declared one column in a bBrowser as #PushButton.
> How do I go from the CellEdit() to my method DoSomething() ?
>
> I can catch the DoubleClick on the windows method "ButtonClick()",
> but how can I know there from which bBrowser it arrived, and from
> which PuschButton it arrives. All have the same ControlID 8001.
Take a look at the properties that the Callbacks CellEdit(), CellClick()
and CellDoubleClick() offer.
METHOD CellEdit( oEvent ) CLASS YourWindow
// METHOD CellClick( oEvent ) CLASS YourWindow
// METHOD CellDoubleClick( oEvent ) CLASS YourWindow
LOCAL dwRow, dwCol AS DWORD
dwRow := oEvent:Control:CurrentRow
dwCol := oEvent:Control:CurrentCOlumn
SELF:Caption := "Browser: " + AsString ( oEvent:Control:namesym ) + "
Row: " + NTrim ( dwRow ) + " Col: " + NTrim ( dwCol ) + " Server: "
+AsString ( oEvent:Control:server ) + " Recno: " + NTrim (
oEvent:Control:Currentrecno )
RETURN TRUE
regards
Karl-Heinz
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
#PushButtom in bBrowser zodcomag@gmail.com - 2017-03-20 14:58 -0700 Re: #PushButtom in bBrowser "Karl-Heinz" <invalid@invalid.invalid> - 2017-03-21 09:17 +0100
csiph-web