Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. morelab

    .SelectedItem = Nothing Problem

    ThatRickGuy - Good idea, but when I reset it to visible the blue selected box still shows. Are you aware of the ability use .DisplayMember & .ValueMember without using a dataAdapter? I've played around and the IDE gives me the ability, but I cannot get it to work. Bill
  2. morelab

    .SelectedItem = Nothing Problem

    When using a data_reader I have no problem using the _Leave method to set .SelectedItem = Nothing to eliminate the highlighted blue. However, when using a data_adapter I am having a terribly difficult time getting rid of the highlight. I "fixed" the problem using...
  3. morelab

    Obtaining Label control text alignment

    That worked perfectly. Thanks. I appreciate your help.
  4. morelab

    Obtaining Label control text alignment

    I tried this: Dim labelAlignment As String = ctl.TextAlign And got a squiggly line under ctl.TextAlign. The hover error says: 'TextAlign' is not a member of 'System.Windows.Forms.Control.' Any thoughts?
  5. morelab

    Obtaining Label control text alignment

    Pweegar - That definitely works while you are creating the Label and want to set the alignment. I am, however, trying to get the text alignment of a Label that has already been created. There is no such property as textalign on the control. For example, here is a sample line for how I get the...
  6. morelab

    Obtaining Label control text alignment

    I am using a For-Next loop through all panel controls to print out a screen. I have everything working except the alignment of the text within the label. Does anyone know how to obtain the text alignment property of a Label control? Regards, Bill

Part and Inventory Search

Back
Top