Skip to content

Cannot click a control to allow input #3373

Answered by tznind
dasien asked this question in Q&A
Discussion options

You must be logged in to vote

Ok after a lot of digging I have found a solution for your problem.

  private new void SetupView()
  {
      InitializeComponent();

      // Initialize any list controls.
      InitializeLists();

      // Load controls with current data only.
      LoadView();

      // Set our main view to the view area of the parent view.
      base.DetailView = vwLogin;

      // Setup common view parts.
      base.SetupView();

+      fraURIList.FocusFirst();

+      // Optional - this restores the original form open focus view.  You will need to make this field protected or create a method on base that does this line
+      base.txtItemName.FocusFirst();
  }


Mouse clicking into FrameView working c…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dasien
Comment options

You must be logged in to vote
1 reply
@tznind
Comment options

Comment options

You must be logged in to vote
1 reply
@tznind
Comment options

Comment options

You must be logged in to vote
1 reply
@BDisp
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants