 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Roozbeh GHolizadeh Guest
|
Posted: Fri Nov 28, 2003 3:07 pm Post subject: HOW: TValueListEditor...pcikuplist |
|
|
Hi there
I want to assign a stringlist to a TValueListEditor and make all its values props-ie itemProps-to
esPickUp and also readonly to true and also all new string that are added by user have the same properties,ie when he/she enters a key then new values come from PickupList.
if i call this at onFormShow it gives me exception why?
ValueListEditor_English.Strings.AddStrings(st);
for i:=0 to ValueListEditor_English.RowCount-1 do
begin
ValueListEditor_English.ItemProps[i].EditStyle:=esPickList;
ValueListEditor_English.ItemProps[i].ReadOnly:=true;
end;
if gives me exception at RowCount-2....
And also how can i make defualt Column to key not to Value?
Thanx
Roozbeh GHolizadeh
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|