try this:

this is the filename-code.py file
# -*- coding: utf-8 -*-
### Dabo Class Designer code. You many freely edit the code,
### but do not change the comments containing:
###             'Dabo Code ID: XXXX', 
### as these are needed to link the code to the objects.

## *!* ## Dabo Code ID: dForm-top
def afterInitAll(self):
        self.carl1.Value = "hello Carl"
        self.carl2.Value = "this is for"
        self.carl3.Value = "You!"

the cdxml file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<dForm code-ID="dForm-top" Caption="Dabo Class Designer" Top="269" 
Height="827" Width="934" designerClass="DesForm" UseSizers="True" Left="526">
        <dSizer SlotCount="1" designerClass="LayoutSizer" 
Orientation="Vertical">
                <dPanel Width="934" sizerInfo="{'BorderSides': ['All'], 
'Proportion': 
1, 'HAlign': 'Center', 'VAlign': 'Middle', 'Border': 0, 'Expand': True}" 
designerClass="controlMix" Height="773">
                        <dSizer SlotCount="3" designerClass="LayoutSizer" 
Orientation="Vertical">
                                <dTextBox RegID="carl1" Width="934" 
sizerInfo="{'BorderSides': 
['All'], 'Proportion': 0, 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 
0, 'Expand': True}" designerClass="controlMix"></dTextBox>
                                <dTextBox RegID="carl2" Width="934" 
sizerInfo="{'BorderSides': 
['All'], 'Proportion': 0, 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 
0, 'Expand': True}" designerClass="controlMix" Name="dTextBox1"></dTextBox>
                                <dTextBox RegID="carl3" Width="934" 
sizerInfo="{'BorderSides': 
['All'], 'Proportion': 0, 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 
0, 'Expand': True}" designerClass="controlMix" Name="dTextBox2"></dTextBox>
                        </dSizer>
                </dPanel>
        </dSizer>
</dForm>


this should display three textboxes 
-- 
John Fabiani


_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to