Starting point when enter a field

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Snurre (anonymous_at_discussions.microsoft.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 04:19:26 -0700

Hi,

How can I do this for all controls on a form, or do I have
make a Sub Field_click for every field on the form..

Private Sub Field_click()
Me!Field.SelStart = 0
End Sub

snurre



Relevant Pages

  • Re: Controls disabled or Readonly
    ... We "disable" databound controls when the position ... Public Sub New ... Then on your form you would handle the PositionChanged event of the currency ... Private Sub Form1_Load(ByVal sender As System.Object, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Creating new controls?!
    ... Private Sub cmdCreatePic_Click ... 'Comment out the line above and un-comment the line below for a textbox ... controls i will have to create each time... ... Private Sub Form_MouseDown(Button As Integer, ...
    (comp.lang.basic.visual.misc)
  • Re: How do I get my app to look correct at different dpi settings?
    ... I tried these line with the PPI and without it but either way, ... Then the controls would stay a certain size relative to the size of the ... Private Sub Form_Load ...
    (microsoft.public.vb.general.discussion)
  • Re: Hover-button effect
    ... You could create a procedure that will loop through all the controls on the ... indicate it is a hover button. ... Private Sub FormatButtons(strProcedureID As String, ...
    (microsoft.public.access.formscoding)
  • Re: Exposing references to controls on a UserControl
    ... As soon as you try to "go public" with VB specific controls, ... Private Sub Command1_Click ... Dim tb As TextBox ...
    (microsoft.public.vb.general.discussion)