Archive: How to create Label repeatly inside the looping condition?


How to create Label repeatly inside the looping condition?
I have created user defined custom page..I have auto increment variable for count.
Based on this count value i want create label.

Function custompage
${While } count ! = 0
${NSD_CreateLabel} 0 0 100% 15u "sample label"
Pop $Label
IntOp $0 $0 - 1
${EndWhile}
FunctionEnd

If the count value is 3.I need to create 3 labels in this page.

Is it possible to create label dynamically?


Originally posted by ilaiyaraja
Is it possible to create label dynamically?
Yes but you probably have to use the count to calculate the top/left label location so they don't overlap...