Re: Textbox and Focus

From: Alex Feinman [MVP] (public_news_at_alexfeinman.com)
Date: 09/28/04


Date: Tue, 28 Sep 2004 14:45:34 -0700

Is the text box's parent the datagrid?

-- 
Alex Feinman
---
Visit http://www.opennetcf.org
"Ray" <Ray@discussions.microsoft.com> wrote in message 
news:7B0BA87D-D401-4FAC-89B9-CFAEDAD2757E@microsoft.com...
> I'm using Resco.Net's AdvancedList control as data grid. The tab control 
> is
> at the top of datagrid in screen layout. Tab control is being used to 
> display
> different when tab index is changed. Textbox makes data grid an editable
> grid. The focus is on textbox when form is loaded. The focus is set in 
> form
> activate event handler. (Textbox gets focus when form is loaded first 
> time.)
> Datagrid is refreshed on each tab index change. At this point, textbox's
> focus method is not able to set focus on textbox. Can somebody explain 
> this
> behavior?
>
> I searched the newsgroup for similar posting but didn't find answer to the
> behavior.
>
> -- 
> Rahul Mehta 


Relevant Pages

  • Re: Controls
    ... row of the DataGrid), columns 4 to 9 change to TextBoxes & the Edit ... Dim txtCity As TextBox ... Isn't Controls(0) the Label control & Controls ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: UserControl in a DataGrid problem
    ... UserControl instead of using the stock TextBox, ... the keys and letting the messages bubble up to the grid control. ... > the text box of my File Browser control, hitting Left, Right, Home, or End ... > moves the current cell in the DataGrid instead of moving the caret in the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Does an Access 2000 have a datagrid facility ?
    ... Access does not have a built-in Data Grid control; ... Using the datagrid control ... "Mel P" wrote in message ...
    (microsoft.public.access.formscoding)
  • Controls in ItemTemplate in DataGrid
    ... Suppose I have the following DataGrid: ... When the DataGrid is in the editable mode, the Label control changes to ... TextBox in the UpdateCommand event handler named "UpdateDG" can be ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: UserControl in a DataGrid problem
    ... > UserControl instead of using the stock TextBox, ... > the keys and letting the messages bubble up to the grid control. ... >> the text box of my File Browser control, hitting Left, Right, Home, or End ... >> moves the current cell in the DataGrid instead of moving the caret in the ...
    (microsoft.public.dotnet.languages.csharp)

Loading