` Printed Icetips Article

Icetips Article



Par2: Creating EIP drop list at runtime
2002-05-19 -- Bjarne Havnen
 
Find the corresponding .Init method for your EditDroplist on your
field,Typical Editinplace::Pre:Field.Init. Then it is simly just like any
other listbox.
Self.Feq{Prop:From}='1|2|3'
or
Self.Feq{Prop:From}='Choice 1|#1|Choice2|#2' !gives choice 1 as text if
correct picture
or
Self.Feq{Prop:From}=SomePrefilledQueueWithChoices

You may also alter the other properties. This is an example from one of my
apps.
  Self.Feq{Prop:From}=Codeq !the queue
  Self.Feq{Prop:DropWidth}=50 !need more place
  Self.Feq{Prop:Drop}=Records(Codeq) !default is only 5



Printed April 29, 2024, 1:14 am
This article has been viewed/printed 35109 times.