# Created by Leo from: C:\Development\Python22\Lib\site-packages\vb2py\vb2py.leo
"""The main form for the application"""
from PythonCardPrototype import model
class Background(model.Background):
def __getattr__(self, name):
"""If a name was not found then look for it in components"""
return getattr(self.components, name)
from vb2py.vbfunctions import *
class MAINFORM(Background):
""" This form has radio buttons on it ... these are tougher than they look"""
# VB2PY (UntranslatedCode) Attribute VB_Name = "frmRadio"
# VB2PY (UntranslatedCode) Attribute VB_GlobalNameSpace = False
# VB2PY (UntranslatedCode) Attribute VB_Creatable = False
# VB2PY (UntranslatedCode) Attribute VB_PredeclaredId = True
# VB2PY (UntranslatedCode) Attribute VB_Exposed = False
if __name__ == '__main__':
app = model.PythonCardApp(MAINFORM)
app.MainLoop()
|