Heenan, Lambert
Lambert.Heenan at AIG.com
Mon Dec 22 08:17:52 CST 2003
Text1.SelStart = 0 Text1.SelLength = 0 ' That takes care of selecting text, but I don't think you can have a single click event AND a double click event on any control. Lambert > -----Original Message----- > From: Erwin Craps - IT Helps [SMTP:Erwin.Craps at ithelps.be] > Sent: Sunday, December 21, 2003 11:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Click and double click on label. > > Tried that, > > Can't get by the selected text issue. > If I click on a textcontrol it sets itself inside the text somewhere, or > selects the whole text. > > Erwin > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carlos > Alberto Alves > Sent: Sunday, December 21, 2003 3:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Click and double click on label. > > On Fri, 19 Dec 2003 17:23:46 +0100, Erwin Craps - IT Helps > <Erwin.Craps at ithelps.be> wrote: > > > Why does my double click event not work on a label when I also have a > > click event???? > > > > If I simply convert the label to a text control, it does work. > > But I cant use a text control because this give me another issue I > > don't want. > > > > Why don't you make your textbox "look like" a label (special effects, > border style, border color, back style,...)? > -- > ************************************** > * Carlos Alberto Alves * > * Child Neurologist * > * Systems Analyst/Programmer * > * Rio de Janeiro, Brazil * > * mailto:caa at highway.com.br * > ************************************** > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com