focus

  1. VBobCat

    Question WebBrowser Control disables the Form when it navigates while not visible

    Hello friends, My application has a single Form. It always shows in full dock one of a set of several UserControls. They alternate as user demands different functions from the application, so that the Form is one along all runtime and it remains the same. Note: this is the desired design. To...
  2. V

    Question Focus on textfield upon tab change

    Hello I`m fairly new to VB but I`m trying to do my best. However, sometimes stupid problems like this make me unhappy :( I have one tabcontrol and two tabs: tab1 (default), tab2 so, I`m trying to set a focus to a text field within the tab2 after I click on tab2, so I use: Private Sub...
  3. R

    Question Problem binding textbox on tabcontrol

    Hi, I have a tabcontrol with 3 tabs. Every tab has a great deal of textboxes which I use to refresh the properties of an object. To save my time, I bind the textboxes.Text to the properties of my object. The main problem happens 'cause I can make the binding just when the properly tab is...
  4. tim.baker

    Is it possible to work out what program is in use

    Hi, I am trying to build a program that monitors how other programs are being used and as part of it I need to figure out if it is possible to work out using VB code what window, program or process the user is currently using or Focused on. If anyone has any way of doing this please point me in...
  5. I

    Tricky question: my and other applications are competing?!

    I have an little application that has a role to zoom currently screen (magnify it). There is also posibillity to zoom more if you scroll wheel. BUT - if currently PowerPoint slideshow is running, it is not possible to zoom - and i realize why - because PowerPoint also uses mouse wheel for going...
  6. L

    Question Datagridview gotFocus on a particular cell

    hello I'm new here and I hope to be helped on this problem I have a windows form with 8 textboxes, 3 datagridview (dgw1, dgw2, dgw3) and a picturebox When entering the data, I have to click out of the current DataGridview3 (lose focus) to select a picturebox. After two clicks I need to go...
  7. T

    Question Modal / Modeless Forms...

    Hi, This is my first post - I'll keep it nice and easy... :cool: Basically... I've got the following forms: SearchItemForm and ViewItemForm. SearchItemForm allows users to search for items within the system and displays the results in a list. Item information is shown via ViewItemForm, which...
  8. P

    Question DataGridView Focus

    Hi All, i am using DataGridView for Data binding. it works fine. i wrote a coding retrieve current row's DATA when press enter key in DataGridView it works fine,but when i pressed enter key datagridview focus is move to next row, so that it will retrieve the latest focus data, but i want data...
  9. S

    Question Focus Events

    I have two questions for anyone who can throw some idea's my way: Question 1: I am currently working on a control with three combo box's. This control will be nested on a form, and I want the on-board timer to track how long each control is active. I am trying to use the focus events of the...
  10. T

    Form Losing Focus

    Hi, I have two forms in an application. One is he background and then I show another keypad form called with the show() method (not showDialog) because I need to perform some validations on btn click. The kepad has 10 buttons and an Enter Button. The problem is that the form keeps loosing...
  11. C

    Question How to focus on the very last word in the TextBox ?

    I make the TextBox1 properties become multiline and has vertical scroll. This is my code : Button1_Click : For I as Integer = 1 To 100 TextBox1.Text &= I & VbCrLf TextBox1.SelectionStart = TextBox.TextLength TextBox1.ScrollToCaret() TextBox1.Refresh() Threading.Thread.Sleep(1) Next I...
  12. C

    Form has focus over others with project

    Hi, is it possible to have the same effect as a dialogue box, with form focus? eg, when using the open dialogue box, if you try to focus on another form within the app, it doesn't' let you and starts flashing. But when you switch to another app, it doesn't interfere.
  13. Adagio

    Question Custom control loses focus when key is pressed

    This is getting quite annoying and I'm currently lost (google didn't return anything useful) I have a form with two items: A custom control A datetimepicker When the custom control is in focus and I click the arrow keys the datetimepicker is given focus. This causes the date to change and the...
Back
Top