New topic: 

Remove instances of label

<http://forums.realsoftware.com/viewtopic.php?t=45798>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        grechcj          Post subject: Remove instances of labelPosted: 
Sat Nov 03, 2012 4:43 pm                         
Joined: Sun Feb 14, 2010 11:19 pm
Posts: 188
Location: Australia                My program creates instances of a label to 
display a list of hyperlinks.
I have a hidden label called "link" on the form with index 0 and create more 
using
dim newlink as new link
newlink.visible = true
newlink.left = intLinkLeft
newlink.textSize = intLlinkFontSize
newlink.top = intLastTop
newlink.caption = strLinkCaption

All good and working well. Just that every so often I need to remove them all 
and start again.
I tried this but the program can't find newlink
for i = 0 to Ubound(newlink)
  newlink.remove(i)

Any ideas?   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to