![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Disappearing .Text My vb.net application accesses a SQL Server database and binds data to combobox .Text properties. Some form combobox and textbox controls are automatically populated based on information discovered in the database. I use a class to return the data values and add them to a combobox. When the user selects a value the SelectionChangeCommitted fires and I CType the item to the class. Values are then successfully used to populate the .text properties of two other controls. When I move the focus off the combobox I used to perform the selection, all the .Text values disappear. I've verified no other form event causes them to be nulled and debugged from the End Sub on the SelectionChangeCommitted event and have not been successful in finding the cause. It sounds like an out-of-scope problem but I convert to strings before making any assignments. Any help would be appreciated. |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Disappearing .Text "SteveKing" wrote: Quote: > My vb.net application accesses a SQL Server database and binds data to > combobox .Text properties. Some form combobox and textbox controls are > automatically populated based on information discovered in the database. I > use a class to return the data values and add them to a combobox. When the > user selects a value the SelectionChangeCommitted fires and I CType the item > to the class. Values are then successfully used to populate the .text > properties of two other controls. When I move the focus off the combobox I > used to perform the selection, all the .Text values disappear. I've verified > no other form event causes them to be nulled and debugged from the End Sub on > the SelectionChangeCommitted event and have not been successful in finding > the cause. It sounds like an out-of-scope problem but I convert to strings > before making any assignments. Any help would be appreciated. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| MVP's, text to speech!!, Can I dictate in other text input program | Vista General | |||
| Howto: Add lines of text from a specific point in a text file.. | VB Script | |||
| Disappearing Text/buttons in Dialogue Boxes | Vista performance & maintenance | |||
| Disappearing text....... | Vista General | |||
| How do I read a text file and sort text by fixed positions? | PowerShell | |||