![]() |
Text property? |
Post Reply ![]() |
Author | |
rdeboer ![]() Groupie ![]() Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() Posted: 03 October 2005 at 7:06am |
In v9.70. I used: CommandBars.Item(3).Controls(1).Text = "Hello" to change the text within a DropDownList Since 9.80, that doesn't work anymore?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, use ListIndex if your DropDownList doesn't allow edit: CommandBars.Item(3).Controls(1).ListIndex = 2 |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
rdeboer ![]() Groupie ![]() Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
I don't want to use the Listindex property, but the TEXT property. Why doesn't this work in 9.80 ?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
if you want to set index by text replace it to Set Control = CommandBars.Item(3).Controls(1) Control.ListIndex = Control.FindItem("Hello") |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |