Menu

#19 Buttons without captions cause a crash

v0.2
open
Form Layout (1)
5
2003-12-05
2003-12-05
No

I have a push-button with one image and without
caption.
This is the code:

Code:

Begin VB.CommandButton Command1
Height = 495
Left = 4080
Picture = "frmIns.frx":0884
Style = 1 'Graphical
TabIndex = 5
Top = 4080
Width = 615
End

vb2py generates this error:
class vbobj_Command1 has no attribute 'Caption'

Thanks, Nicola

Discussion


Log in to post a comment.

MongoDB Logo MongoDB