New topic: 

How would you dynamically create controls on a web App?

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        BrianOBrien          Post subject: How would you dynamically 
create controls on a web App?Posted: Wed Mar 23, 2011 11:16 am                  
               
Joined: Wed Jul 07, 2010 2:55 pm
Posts: 242
Location: University Of Calgary, Faculty Of Medicine                I tried the 
example in chapter 5 
http://docs.realsoftware.com/index.php/UsersGuide:Chapter_5:Creating_New_Instances_of_Controls_On_The_Fly
 however i wasn't able to get it to work for a web application.

Perhaps that is normal, because the example is for a desktop application.
I just thought it might work.

any ideas?      
_________________
If at first you don't succeed... Try REALBasic.  
                             Top                 logicalvue          Post 
subject: Re: How would you dynamically create controls on a web App?Posted: Wed 
Mar 23, 2011 8:13 pm                                 
Joined: Fri Sep 30, 2005 9:35 am
Posts: 575
Location: South Portland, Maine                On a web app, you have to create 
new controls a little differently.  An example (this code needs to be on a web 
page):

Code:Dim myNewButton As CloneButton // CloneButton is a WebButton on the page 
that has its index set to 0

myNewButton = Self.AddCloneButton // Adds a new button to the page at runtime   
   
_________________
Paul Lefebvre
LogicalVue Software, Inc. --- Software Made Simple Blog ---  RBDevZone --- 
Association of RB Professionals

Join me at the 2011 REAL Studio Summit, March 19th and 20th in Atlanta!  
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
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