Pace
Well-known member
Databound label text property (RESOLVED)
[FONT=Verdana, Geneva, Arial, Sans-serif]Hi, [/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]I have a form with a combo box... I have a label that is bound to a column that displays info based on whats selected in the combo. [/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]It looks fine when I first load the form. When I change the index of the CBO the text of the label stays the same. I know I need to write code to do this in the SelectedIndexChanged event of the CBO but im struggling. [/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]Can someone tell me how once the index is changed in the CBO, I can get the label's text property to change appropriately to that of the value it should be?[/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]Thanks![/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]Pace[/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]Hi, [/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]I have a form with a combo box... I have a label that is bound to a column that displays info based on whats selected in the combo. [/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]It looks fine when I first load the form. When I change the index of the CBO the text of the label stays the same. I know I need to write code to do this in the SelectedIndexChanged event of the CBO but im struggling. [/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]Can someone tell me how once the index is changed in the CBO, I can get the label's text property to change appropriately to that of the value it should be?[/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]Thanks![/FONT]
[FONT=Verdana, Geneva, Arial, Sans-serif]Pace[/FONT]
Last edited: