Click here to Skip to main content
15,884,058 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB6 sendkey is not working under window vista Pin
Dave Kreskowiak11-Jun-09 3:40
mveDave Kreskowiak11-Jun-09 3:40 
Questiondynamic call of a function Pin
mehrdadc4811-Jun-09 1:22
mehrdadc4811-Jun-09 1:22 
AnswerRe: dynamic call of a function Pin
Dave Kreskowiak11-Jun-09 3:33
mveDave Kreskowiak11-Jun-09 3:33 
Questionbinding navigater add new Pin
nikhil123410-Jun-09 20:37
nikhil123410-Jun-09 20:37 
AnswerRe: binding navigater add new Pin
Nagy Vilmos11-Jun-09 0:16
professionalNagy Vilmos11-Jun-09 0:16 
QuestionTab Order with UserControls Pin
Andrew Holland10-Jun-09 10:11
Andrew Holland10-Jun-09 10:11 
AnswerRe: Tab Order with UserControls Pin
Johan Hakkesteegt11-Jun-09 0:27
Johan Hakkesteegt11-Jun-09 0:27 
GeneralRe: Tab Order with UserControls Pin
Andrew Holland11-Jun-09 6:25
Andrew Holland11-Jun-09 6:25 
I agree that that is what is happening with my usercontrols, But when the focus starts out in a standard text box, that is not what is occurring. In the standard text boxes (or any other windows "standard" controls). when returning to the first form, the focus returns to where it was when we left the form automatically.

For example, a form with three controls, two textboxes, TabIndex 1 and 3, and my UserControl tab index 2

Tab Index 1 -> Jump off and return -> Tab Index 1 (as expected)
Tab Index 2 -> Jump off and return -> Tab Index 1 (the questionable one)
Tab Index 3 -> Jump off and return -> Tab Index 3 (doing what I want my control to do)

Also I have tried code to monitor what the last selected control was, and to reset it using OnEnter and OnLeave functions, but Even though it was doing LastControl.Focus() on the correct LastControl the focus was still ending up back at TabIndex 0 as if something else in the application was forcing it to go there for some reason. But even with every other reference to "Focus" in my code commented out, it still kept going back to 0. (Also in my basic test case that I created with out any other code in it, just standard controls and the absolutely fewest lines of code to make the forms show up.

Does anyone have an example of tracking the last control used? I could easily be doing something wrong, but with the time I have spent on this, I don't think so.
AnswerRe: Tab Order with UserControls Pin
Andrew Holland27-Aug-09 6:00
Andrew Holland27-Aug-09 6:00 
QuestionForm size issues.. Pin
No-e10-Jun-09 10:07
No-e10-Jun-09 10:07 
AnswerRe: Form size issues.. Pin
Christian Graus10-Jun-09 10:33
protectorChristian Graus10-Jun-09 10:33 
GeneralRe: Form size issues.. Pin
No-e11-Jun-09 2:53
No-e11-Jun-09 2:53 
AnswerRe: Form size issues.. [modified] Pin
nlarson1111-Jun-09 3:29
nlarson1111-Jun-09 3:29 
GeneralRe: Form size issues.. Pin
No-e11-Jun-09 3:41
No-e11-Jun-09 3:41 
QuestionUsing printdocumnet and printdialog Pin
johnjsm10-Jun-09 7:40
johnjsm10-Jun-09 7:40 
AnswerRe: Using printdocumnet and printdialog Pin
Christian Graus10-Jun-09 8:48
protectorChristian Graus10-Jun-09 8:48 
QuestionTwipsToPixelsX Pin
No-e10-Jun-09 6:21
No-e10-Jun-09 6:21 
AnswerRe: TwipsToPixelsX Pin
Luc Pattyn10-Jun-09 6:41
sitebuilderLuc Pattyn10-Jun-09 6:41 
QuestionvalueMember vs DisplayMember Pin
atk887710-Jun-09 4:11
atk887710-Jun-09 4:11 
AnswerRe: valueMember vs DisplayMember Pin
Henry Minute10-Jun-09 4:56
Henry Minute10-Jun-09 4:56 
AnswerRe: valueMember vs DisplayMember Pin
Christian Graus10-Jun-09 9:05
protectorChristian Graus10-Jun-09 9:05 
GeneralOT: I wonder who this is... Pin
Dave Kreskowiak11-Jun-09 3:42
mveDave Kreskowiak11-Jun-09 3:42 
QuestionI need urgent help how to synchronize web & windows database. Please help!!! Pin
Yajjoj9-Jun-09 22:33
Yajjoj9-Jun-09 22:33 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Steven J Jowett9-Jun-09 22:50
Steven J Jowett9-Jun-09 22:50 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! [modified] Pin
Johan Hakkesteegt10-Jun-09 0:11
Johan Hakkesteegt10-Jun-09 0:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.