Link to home
Create AccountLog in
Avatar of ljcor
ljcorFlag for United States of America

asked on

VB6 - Can' get text into StatusBar

This code receives a runtime error 438: Object does not support this property or method.  Error is in the StatusBar1 line of code.  The passed control is a textbox with info in the Tag.

Private Sub ShowTag(ctl As Control)
    Dim TagMsg As String
    TagMsg = ctl.Tag
    StatusBar1 =  TagMsg
End Sub
ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of ljcor

ASKER

Thanks jp.  I appreciate that.
Glad I could help and thanks for the grade.
jpaulino