Announcement

Collapse
No announcement yet.

How to create Label repeatly inside the looping condition?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    Originally Posted by ilaiyaraja View Post
    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...
    IntOp $PostCount $PostCount + 1

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎