Run-Time error 438
Object doesn't support this property or method
.Index = curr_obj.TabIndex
Do we need to add a "Reference"?
Do we need to add the name of the form (i.e. frmRemedy)
added a MsgBox curr_obj
in
Public Sub GetLocation(frmRemedy As Form)
For Each curr_obj In frmRemedy
'Resize the Array by 1, and preserve
'the original objects in the array
ReDim Preserve List(i)
With List(i)
.Name = curr_obj
MsgBox curr_obj & " i " & i
I'm getting "False i 0"
VB6 does have a TabIndex of "0"
What in the programming decides which object in the form is number i = 0, curr_obj?
My program starts with
curr_obj = TabIndex 55, when i= 0, why, I'm looking for the reason why it starts there
TabIndex ends with 238
Ends with i = 222, then Run Time Error 438
Why not start with TabIndex = 0 and count up from there and end it with a IF statement?
What about any "Lines" that are in the Form?
I think it might be the Lines in the Form that is causing the the runtime error, no TabIndex
Yes, removed the "Lines" and it went further, but now error for the Fonts.
lblInstructions.Font = SetFontSize()
has a Run-time error 424
Object Required
I see
lblInstructions.Font = SetFontSize()
and
lblInstructions.FontSize = SetFontSize()
This post has been edited by Athinar: 27 June 2008 - 04:06 AM







MultiQuote





|