Dear Dabo,

  I am new to Dabo and python.  I been reading up on python and Dabo.

 
The Version Information:
 
Platform: GTK
Python Version: 2.5.2 on Linux2 using Ubuntu 8.04
Dabo Version: Version 0.8.4; Revision ~4111
UI Version: 2.8.7.1 on wxGTK (gtk2)

   I am using Dabo ClassDesigner that has a dForm with a dHtmlBox with
the RegID set to ObjectBoxHtml.  I have two buttons, one to change the
second button caption and to set the value in the dHtmlBox.

self.Form.QuickButton2.Caption = "New Test"
self.Form.QuickBuuton2.Visible = true       # Set Button to be visible
self.Form.QuickButton2.redraw()             # draw button on screen

# examples came from DaboDemo dHtmlBox

self.Form.ObjectBoxHtml.DataSource = self.Form.ObjectBoxHtml
self.Form.ObjectBoxHtml.DataField = "Source"
self.Form.ObjectBoxHtml.Value = """
<HTML>
<head>
<title>Hello Wikipedia!</title>
</head>
<body>
<font color="yellow">
 Hello World
</font>
</HTML>
"""
When I select run I get

Attribute Error: 'NoneType' object has no attribute 'ObjectBoxHtml'

I looked on Dabo-users Archives NoneType but nothing about dHtmlBox.

Thank You

Bob






_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to