From: AarKayCee on 26 Jun 2010 02:39 Hi Group, Want some to help me giving tips asto following problem: I have two bBrowser controls in a data window. I want to show highlight cursor only in bBrowser control which has focus. So how can I remove the highlight cursor from other bBrowser coltrol which is out of focus. I also have to ascertain the which bBrowser control out of two bBrowser controls was clicked in a method associated to a push button on the same data window. How can I achive it, help and oblige. AarKayCee
From: Geoff Schaller on 26 Jun 2010 03:41 Dear Nameless. Firstly, you are working with a very old version of bBrowser so most of us can really help from the current structure and methods. However, let me try to assist. I am assuming you have loaded and run all the source code samples that come with it? > highlight cursor only in bBrowser control which has focus. So how can > I remove the highlight cursor from other bBrowser coltrol which is out > of focus. obBrowser:SelectionRemove() - please review the help on this method > I also have to ascertain the which bBrowser control out of two > bBrowser controls was clicked in a method associated to a push button > on the same data window. How can I achive it, help and oblige. Show us the code you are using. CellDoubleClick, RowSelect and other handlers all get passed an object of type ControlEvent. From the help you will know that this can give you the control that caused the event: oControl = oControlEvent:Control If oControl = self:oDCBrowser1 ///..... Etc. Cheers, Geoff
From: Joachim Bieler on 28 Jun 2010 01:18 Hi AarKayCee, > Want some to help me giving tips asto following problem: > I have two bBrowser controls in a data window. I want to show > highlight cursor only in bBrowser control which has focus. So how can > I remove the highlight cursor from other bBrowser coltrol which is out > of focus. Perhaps bBrowser:InactiveSelectedForeground and bBrowser:InactiveSelectedBackground could help. > I also have to ascertain the which bBrowser control out of two > bBrowser controls was clicked in a method associated to a push button > on the same data window. How can I achive it, help and oblige. See the reply from Geoff. Regards Joachim Bieler Am 26.06.2010 08:39, schrieb AarKayCee: > Hi Group, > > Want some to help me giving tips asto following problem: > I have two bBrowser controls in a data window. I want to show > highlight cursor only in bBrowser control which has focus. So how can > I remove the highlight cursor from other bBrowser coltrol which is out > of focus. > > I also have to ascertain the which bBrowser control out of two > bBrowser controls was clicked in a method associated to a push button > on the same data window. How can I achive it, help and oblige. > > AarKayCee
|
Pages: 1 Prev: Need tips on DBServer. Next: How to use Hindi fonts in CA-VO 2.6 |