Excellent, thank you. Richard
On 3 December 2013 18:24, Bart <[email protected]> wrote: > On 12/3/13, Richard Mace <[email protected]> wrote: > > Hi, > > Is it possible to have a Pick List within the ValueList editor or is it > > just strings? > > >From my ValEdit test suite: > > procedure TForm1.Button6Click(Sender: TObject); > begin > ValEd.Strings.Clear; > Valed.Strings.Add('MyYesNoRO=No'); > > with ValEd.ItemProps['MyYesNoRO'] do > begin > KeyDesc := 'MyYesNo: PickList'; > EditStyle := esPickList; > ReadOnly := True; > PickList.Add('Yes'); > PickList.Add('No'); > end; > .... > > Bart > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
