` Printed Icetips Article

Icetips Article



Par2: Report controls - dynamically creating
1998-05-05 -- Maarten Veenstra
 
Every control must have a unique number (on reports, also remember to ensure that the 
Target is set to the report). Initialize your number to a number higher than can be
already 
used in your report, say 100.
CurrControl = 100
Loop index# = 1 to 5
  CurrControl += 1
  Create(CurrControl,create:string,?PageHeader)
  SetPosition(CurrControl,100,100+(50*Index#))
  CurrControl{Prop:Text} = 'some text'
  UNHIDE(CurrControl)
End



Printed November 21, 2024, 12:37 pm
This article has been viewed/printed 35193 times.