New topic: 

NilObjectException on FormatToolBtn.name = "Format"

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        brianheibert          Post subject: NilObjectException on 
FormatToolBtn.name = "Format"Posted: Sat Mar 20, 2010 12:59 pm                  
       
Joined: Sat Jan 23, 2010 3:03 pm
Posts: 95                Hi,
I have this code so far to create a ToolButton...
Code:  Dim FormatToolBtn as ToolButton
  FormatToolBtn.name = "Format"
  FormatToolBtn.caption = "Format"
  FormatToolBtn.icon = FormatBtn
  
  FormatToolBtn.Style=ToolButton.ToolStyleDropDown
  me.append FormatToolBtn


But it doesn't like FormatToolBtn.name = "Format"
I get a NilObjectException on that line

What am I doing wrong?      
_________________
Brian Heibert
brianheibert.net
insanemonkeysoftware.com
[email protected]  
                             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