Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8413
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Close button in tabcontrol |
| Date | 2015-09-10 12:06 +0200 |
| Message-ID | <d5d357Fllt0U1@mid.individual.net> (permalink) |
| References | <qkpquahdbvi2fp1qie8quofmhl4dtoo2sm@4ax.com> <msjp15$sl8$1@dont-email.me> <hcmrua52sfahe1kjb4026o1ps9gla39omq@4ax.com> <d56donF1tq4U1@mid.individual.net> <9smtua1992o0n1jql2pnc1dk26fboopjtc@4ax.com> |
Hi Dick, I'm working on the following idea: Place a Icon (with a cross like x) on the tab, place a BoundingBox around, evaluate in the Dispatch the message WM_LBUTTONDOWN inside this BoundingBox for deleting the tab. It worked with the first tab, but I'm still fighting with coordinates (g...) If I have success, I let you know. Regards Urs "D.J.W. van Kooten" <vankooten@removethis.ic2.com> schrieb im Newsbeitrag news:9smtua1992o0n1jql2pnc1dk26fboopjtc@4ax.com... > On Mon, 7 Sep 2015 23:26:39 +0200, "Urs Eggmann" > <Urs.Eggmann@shinternet.ch> wrote: > > Hello Urs, > >>Do you want to place a close-icon onto the Tab, not the TabControl? >>That is a difference. > > My preference would be on the tab, like in Firefox or IE. That's where > users expect it. >> >>Just something similar. Take the ODT-TabControl from Karl Heinz Rauscher's >>homepage. In the Dispatch Method of the Class New TabControl add a CASE >>oEvent == WM_RBUTTONDOWN and insert here the code for closing the window >>and >>deleting the tab. >> >>CASE oEvent:message == WM_RBUTTONDOWN >>SELF:DeleteTab(SELF:SelectedTab) >> >>So, you can choose the TabPage with left click and close/delete with right >>click. Information of user with tool tips. > > Hmmm.. this is not so bad, as an alternative. Unless someone else > comes has solved this completely, it is a good second choice. Thanks > for that! > > > > Dick
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Close button in tabcontrol D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-09-07 12:29 +0200
Re: Close button in tabcontrol "Johan Nel" <johan.nel@xsinet.co.za> - 2015-09-07 12:32 +0200
Re: Close button in tabcontrol D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-09-07 20:42 +0200
Re: Close button in tabcontrol "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-09-07 23:26 +0200
Re: Close button in tabcontrol D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-09-08 15:00 +0200
Re: Close button in tabcontrol "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-09-10 12:06 +0200
Re: Close button in tabcontrol D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-09-11 09:59 +0200
Re: Close button in tabcontrol "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-09-07 15:48 +0200
Re: Close button in tabcontrol "Jamal Assaf" <someone@example.com> - 2015-09-07 11:00 -0400
csiph-web