Let me add one thing: you could still use Shift + Pos1/End to select all. Everything you have to do is to first jump to the end or beginning of the line first: Pos1, then Shift+End OR End, then Shift+Pos1.
But it remains that you do not get a cursor in the same field after clicking on another object. This is somewhat... well... :-) Am 12.11.2010 02:48, schrieb Demosthenes Koptsis: > i speak about the following: > > i am in IDE of Gambas2. > I click on a Button1 on my FMain. > I click on Name property. > The property is get focus and selects all text. > > If i click in gridview in text area and i want to select all again the > text of Name property is not possible. > > When i press CRTL+A the cursor goes at the beginning of the name as > shown in video but is not selecting the text. > > i type names or texts i make some mistakes and i need to delete the > whole text without taking my hands out of the keyboard. > To do so i was used to selectall the text with CTRL+A. > > See video. > http://www.mediafire.com/file/i9xtjiqqerdtiz4/gambas2-select_all.ogv > > The only way to select all the text is to click the Gridview at the > first column at "Name". > > How is it possible to select all by click and not by CTRL+A? > > Is this a Qt issue as Benoit said? > > > > On Fri, 2010-11-12 at 11:01 +1100, Michael wrote: >> I am using Gambas2 and the .SelectAll feature when a textbox gets focus. >> It works perfectly on my Ubuntu 64 bit. I am using the GB.qt components. >> Regards >> Mike >> >> On 12/11/10 07:19, Demosthenes Koptsis wrote: >>> The SelectAll is for the Gambas2 application, not a mine one. >>> >>> This feature is missing from Gambas2. >>> >>> On Thu, 2010-11-11 at 20:47 +0100, Matti wrote: >>>> If you want to do it via CTRL+A, you have to write a keypress event for >>>> the form: >>>> >>>> Public Sub Form_KeyPress() >>>> If Key.Code = Key["A"] And If Key.Control Then >>>> TextBox1.SelectAll >>>> Endif >>>> End >>>> >>>> And if you want to have the text selected automatically when the text box >>>> gets >>>> the focus, do: >>>> >>>> Public Sub TextBox1_GotFocus() >>>> TextBox1.SelectAll >>>> End >>>> >>>> >>>> Am 11.11.2010 08:01, schrieb Demosthenes Koptsis: >>>>> Good morning to all, >>>>> >>>>> While setting properties or any text that is in a textbox i wanted to >>>>> press CTRL+A to select all the word and then press BACKSPACE to delete >>>>> it and next to write a new one. >>>>> >>>>> But the CTRL+A is not working and i need to press many times the arrow >>>>> keys to set the pointer to the end of the word and then to press many >>>>> times BACKSPACE to delete the word. >>>>> >>>>> I know this is not so a big deal but if i do it many times is annoying. >>>>> >>>>> Is it possible to enable the SelectAll feature for any textbox or any >>>>> other control that contains text so to manage more fastest the strings? >>>>> >>>> ------------------------------------------------------------------------------ >>>> Centralized Desktop Delivery: Dell and VMware Reference Architecture >>>> Simplifying enterprise desktop deployment and management using >>>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end >>>> client virtualization framework. Read more! >>>> http://p.sf.net/sfu/dell-eql-dev2dev >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> ------------------------------------------------------------------------------ >>> Centralized Desktop Delivery: Dell and VMware Reference Architecture >>> Simplifying enterprise desktop deployment and management using >>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end >>> client virtualization framework. Read more! >>> http://p.sf.net/sfu/dell-eql-dev2dev >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >> >> ------------------------------------------------------------------------------ >> Centralized Desktop Delivery: Dell and VMware Reference Architecture >> Simplifying enterprise desktop deployment and management using >> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end >> client virtualization framework. Read more! >> http://p.sf.net/sfu/dell-eql-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user