Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8413
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Close button in tabcontrol |
| Date | Thu, 10 Sep 2015 12:06:43 +0200 |
| Lines | 45 |
| 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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net 6rj4Yh+r9haspdVMZdA3AQj3vRz9laeuN7+nd2YzdynX3C1NT9 |
| Cancel-Lock | sha1:+QXL4CIV7x+SoW917KazegVcZjw= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-EsetId | 37303A2992966F67637C62 |
| X-EsetScannerBuild | 25691 |
| Xref | csiph.com comp.lang.clipper.visual-objects:8413 |
Show key headers only | View raw
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