Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9750 > unrolled thread
| Started by | Armin Back <armin.back@engeldataconcept.de> |
|---|---|
| First post | 2016-09-22 09:39 -0700 |
| Last post | 2016-09-25 09:08 +0100 |
| Articles | 8 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Codejock and StatusBar PaneDblClick event Armin Back <armin.back@engeldataconcept.de> - 2016-09-22 09:39 -0700
Re: Codejock and StatusBar PaneDblClick event Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> - 2016-09-22 23:39 +0100
Re: Codejock and StatusBar PaneDblClick event Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> - 2016-09-22 23:55 +0100
Re: Codejock and StatusBar PaneDblClick event Armin Back <armin.back@engeldataconcept.de> - 2016-09-23 01:17 -0700
Re: Codejock and StatusBar PaneDblClick event Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> - 2016-09-23 13:31 +0100
Re: Codejock and StatusBar PaneDblClick event Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> - 2016-09-23 14:06 +0100
Re: Codejock and StatusBar PaneDblClick event Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> - 2016-09-23 14:20 +0100
Re: Codejock and StatusBar PaneDblClick event Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> - 2016-09-25 09:08 +0100
| From | Armin Back <armin.back@engeldataconcept.de> |
|---|---|
| Date | 2016-09-22 09:39 -0700 |
| Subject | Codejock and StatusBar PaneDblClick event |
| Message-ID | <9fb11612-a5d1-4acd-b245-d7c1172ee0fc@googlegroups.com> |
Hi,
in our good old VO 2.8 app we're using the Codejock controls, especially the CommandBars for the ribbon.
In the ShellWindow we're initializing the CommandBar via:
m_ocxXtrCommandBars := xtrCommandBars{self,#ocxXtrCommandBarsControl}
So to get the Execute-Event we have the following method:
method ocxXtrCommandBarsControlExecute(oCtrl) class shlSHKCodejock
and the events are fired as expected.
No I added a StatusBar via:
oStatusBar := m_ocxXtrCommandBars:StatusBar
oStatusBar:RemoveAll()
oStatusBar:AddPane(0)
oStatusBar:AddPane(ID_INDICATOR_CAPS)
oStatusBar:AddPane(ID_INDICATOR_NUM)
oStatusBar:AddPane(ID_INDICATOR_SCRL)
oStatusBar:Visible := TRUE
And would like to get the StatusBar PaneDblClick-Event but I'm having no clue how to get this event.
Any hints are very much appreciated.
TIA
Armin
[toc] | [next] | [standalone]
| From | Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> |
|---|---|
| Date | 2016-09-22 23:39 +0100 |
| Message-ID | <ns1miq$vau$1@dont-email.me> |
| In reply to | #9750 |
[Multipart message — attachments visible in raw view] — view raw
Às 17:39 de 22/09/2016, Armin Back escreveu:
Hello Armin,
The easiest way is, imho, to wrap the StatusBar within an ActiveX
Control using VB6. I use this workaround all the time, including for
Codejock StatusBar.
Don't know if its possible but I'll try to attach what I have
(CodejockX.ocx with VB6 source for CommandBars.15.3.1)
> Hi,
> in our good old VO 2.8 app we're using the Codejock controls, especially the CommandBars for the ribbon.
>
> In the ShellWindow we're initializing the CommandBar via:
>
> m_ocxXtrCommandBars := xtrCommandBars{self,#ocxXtrCommandBarsControl}
>
> So to get the Execute-Event we have the following method:
>
> method ocxXtrCommandBarsControlExecute(oCtrl) class shlSHKCodejock
>
> and the events are fired as expected.
>
> No I added a StatusBar via:
>
> oStatusBar := m_ocxXtrCommandBars:StatusBar
> oStatusBar:RemoveAll()
> oStatusBar:AddPane(0)
> oStatusBar:AddPane(ID_INDICATOR_CAPS)
> oStatusBar:AddPane(ID_INDICATOR_NUM)
> oStatusBar:AddPane(ID_INDICATOR_SCRL)
> oStatusBar:Visible := TRUE
>
> And would like to get the StatusBar PaneDblClick-Event but I'm having no clue how to get this event.
>
> Any hints are very much appreciated.
>
> TIA
>
> Armin
>
--
*Carlos Rocha*
---
Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus
[toc] | [prev] | [next] | [standalone]
| From | Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> |
|---|---|
| Date | 2016-09-22 23:55 +0100 |
| Message-ID | <ns1nhi$230$1@dont-email.me> |
| In reply to | #9751 |
I forgot to tell you how to use it:
Generate the OLEControl code as always, then subclass the generated
control to something like CJStatusBar
class CJStatusBar inherit StatusBarX (or whatever name you selected for it)
method Init(oOwner) class CJStatusBar
super:Init(oOwner, -1)
self:HyperLabel := HyperLabel{#StatusBar, null_string, null_string,
null_string}
self:CreateEmbedding("CodejockX.StatusBar")
self:InitAutoObject()
return self
And where you need it:
local oSB as CJStatusBar
oSB := CJStatusBar{self}
oSB:SetStatusBar(m_ocxXtrCommandBars:StatusBar)
and that's it, You'll receive your event in StatusBarPaneDblClick
--
*Carlos Rocha*
---
Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus
[toc] | [prev] | [next] | [standalone]
| From | Armin Back <armin.back@engeldataconcept.de> |
|---|---|
| Date | 2016-09-23 01:17 -0700 |
| Message-ID | <7d229b98-bbdf-42c7-8a76-cffd8d879237@googlegroups.com> |
| In reply to | #9752 |
Hi Carlos, thanks for your answer ... but are you sure you're also talking about the codejock-controls (FWIW V 16.3.1)? Because I have no ability to generate an ole-control for the statusbar - just for the commandbars. For the status bar I'm just getting an Interface xtrIStatusBar as OLEAutoObject. And furthermore there is no method SetStatusBar() available anywhere within the codejock-controls ... Any further hints are very much appreciated. TIA Armin
[toc] | [prev] | [next] | [standalone]
| From | Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> |
|---|---|
| Date | 2016-09-23 13:31 +0100 |
| Message-ID | <ns37at$m7$1@dont-email.me> |
| In reply to | #9753 |
[Multipart message — attachments visible in raw view] — view raw
Às 09:17 de 23/09/2016, Armin Back escreveu: > thanks for your answer ... but are you sure you're also talking about the codejock-controls (FWIW V 16.3.1)? Because I have no ability to generate an ole-control for the statusbar - just for the commandbars. For the status bar I'm just getting an Interface xtrIStatusBar as OLEAutoObject. And furthermore there is no method SetStatusBar() available anywhere within the codejock-controls ... > > Any further hints are very much appreciated. > Yes, you get StatusBar by calling CommandBars:StatusBar as an OLEAutoObject. You must pass it to the OLEControl I just provided using SetStatusBar() for it to know to what StatusBar to respond. I use v16.3.1 too, but for CommandBars I'm still in v15.3.1 because there are serious drawbacks with new version. I'll attach one for your version. -- *Carlos Rocha* --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus
[toc] | [prev] | [next] | [standalone]
| From | Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> |
|---|---|
| Date | 2016-09-23 14:06 +0100 |
| Message-ID | <ns39cs$826$1@dont-email.me> |
| In reply to | #9753 |
I see your problem now. You are using google groups so probably you can't see attachments. I will now send both attachments to the mail you used for posting. > Hi Carlos, > > thanks for your answer ... but are you sure you're also talking about the codejock-controls (FWIW V 16.3.1)? Because I have no ability to generate an ole-control for the statusbar - just for the commandbars. For the status bar I'm just getting an Interface xtrIStatusBar as OLEAutoObject. And furthermore there is no method SetStatusBar() available anywhere within the codejock-controls ... > > Any further hints are very much appreciated. > > TIA > > Armin > -- *Carlos Rocha* --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus
[toc] | [prev] | [next] | [standalone]
| From | Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> |
|---|---|
| Date | 2016-09-23 14:20 +0100 |
| Message-ID | <ns3a62$ai1$1@dont-email.me> |
| In reply to | #9753 |
No chance with gmail too. Please download the files from http://www.doossier.com/files/ -- *Carlos Rocha* --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus
[toc] | [prev] | [next] | [standalone]
| From | Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> |
|---|---|
| Date | 2016-09-25 09:08 +0100 |
| Message-ID | <ns80la$rdk$1@dont-email.me> |
| In reply to | #9753 |
Armin, This thread viewed from google groups makes no sense because two posts I made with attachments were simply deleted, with no warning no nothing. I use news.eternal-september.org to post. -- *Carlos Rocha* --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web