Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
T

td2985

@td2985
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Ignoring Text Entered into a ComboBox
    T td2985

    First point of interest is that the application is being developed on a mobile device using .NET CF 2.0. On to the problem... I have a combo box set to DropDown so the user can enter text if the provided options don't apply. This text eventually is sent, via a stored procedure, to a database. I'm trying to limit the number of characters allowed in this combo box to the max size of the field in the particular table I'll be writing to. The problem is that .NET CF 2.0 ComboBox doesn't include any method for setting the position of the cursor within the combo box. As of right now, once the limit is reached I set the text of the combo box back to what it was prior to the key being pressed. This, unfortunately, causes the cursor to return to the front of the combo box. I want the cursor to remain at the end of the text. Anyone encounter (and overcome) this problem in the past? Or perhaps any ideas of how to overcome it?

    Visual Basic database csharp help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups