Article View: borland.public.cppbuilder.nativeapi
Article #2439Re: Dragging from TEdit
From: Jos�
Date: Sun, 04 Mar 2007 09:48
Date: Sun, 04 Mar 2007 09:48
30 lines
2328 bytes
2328 bytes
On Sat, 03 Mar 2007 21:21:42 -0600, DreamChaser <jkofsky@No-Spam.net> wrote in borland.public.cppbuilder.nativeapi: >> One problem has remained: >> The DoubleClick method opens a dialogbox. When this box is closed, the >> event MouseDown occurs again, and the system seems to think that the >> mouse is down. IOW a drag operation has started although the mouse >> button is up. I must click again to tell the system that the mouse is >> up. >Let us know if you fix the above "problems." Well, I fixed them, and the result is satisfying, although it is not what I originally intended. My screen contains TEdit controls with the following data: [sequence number] [data] [data] [data] [sequence number] [data] [data] [data] etc. The sequence numbers are read only, it does not accept keyboard input. I wanted to select a numer of lines by dragging from any control to any other control (in a different line). The result was that is was harder to edit a data field. For example, I could no more select a word within a field, and as I told you, double clicking a field (which opened a modal dialog box) caused unexpected trouble. I solved the problem by applying the drag events only the the first field of each row, with the sequence number. This field is read only. -- Jos�
Technical Details
Message-ID:
<l25lu2pgeuf9aqvj9sb3141p8cdtp8tokv@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<25fbu2tag6s8t0mseuqqh5qd87r8cppdus@4ax.com> <45e624ed$1@newsgroups.borland.com> <ui6du2d4vqgcebqbc44pbr4m3g11etujjh@4ax.com> <45e7568d@newsgroups.borland.com> <8mnju2lbjc7v232jhpojftamopkh5pvct6@4ax.com> <45ea3b38$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fc5357fd4c67f7bd X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: Jos� <jose@127.0.0.1> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Dragging from TEdit Date: Sun, 04 Mar 2007 10:48:01 +0100 Message-ID: <l25lu2pgeuf9aqvj9sb3141p8cdtp8tokv@4ax.com> References: <25fbu2tag6s8t0mseuqqh5qd87r8cppdus@4ax.com> <45e624ed$1@newsgroups.borland.com> <ui6du2d4vqgcebqbc44pbr4m3g11etujjh@4ax.com> <45e7568d@newsgroups.borland.com> <8mnju2lbjc7v232jhpojftamopkh5pvct6@4ax.com> <45ea3b38$1@newsgroups.borland.com> X-Newsreader: Forte Agent 4.2/32.1117 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 82.75.17.140 X-Trace: newsgroups.borland.com 1173001704 82.75.17.140 (4 Mar 2007 01:48:24 -0800) Lines: 30 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail