|
-
Apr 18th, 2008, 02:14 AM
#1
Thread Starter
New Member
Return types
Can any one tell me return type of
Thanx in advance
Last edited by jdev.techno; Apr 18th, 2008 at 02:24 AM.
-
Apr 18th, 2008, 02:32 AM
#2
Hyperactive Member
Re: Return types
Sounds like a variable - where did you see 'gInc'?
-
Apr 18th, 2008, 03:27 AM
#3
Thread Starter
New Member
Re: Return types
Its a property for incrementing/decrementing green colour of a form/textbox
Last edited by jdev.techno; Apr 18th, 2008 at 03:34 AM.
-
Apr 18th, 2008, 03:37 AM
#4
Re: Return types
You can return the data type by using MsgBox TypeName(Something)
Are you sure this is VB6? What is form? A form? VB6 doesn't have a .gInc property for forms.
-
Apr 18th, 2008, 03:56 AM
#5
Thread Starter
New Member
Re: Return types
Hi,
It is vb6
Code:
gPlaceBulbs Tenant, Tenant.gInc, tCurNumBulbs
In the above code gPlaceBulbs is a method that takes 3 arguments form,datagrid and an integer.
Tenant is a form and tCurNumBulbs is an integer variable.
now when I compile I get following error ByRef argument type mismatch and it points to Tenant.gInc.That's why the question.
-
Apr 18th, 2008, 04:49 AM
#6
Re: Return types
 Originally Posted by jdev.techno
In the above code gPlaceBulbs is a method that takes 3 arguments form,datagrid and an integer.
Tenant is a form and tCurNumBulbs is an integer variable.
Tenant.gInc must be a DataGrid Contro then, if that's what the method expects.
-
Apr 18th, 2008, 05:52 AM
#7
Thread Starter
New Member
Re: Return types
can picturebox act as a container for any other control
-
Apr 18th, 2008, 05:53 AM
#8
Re: Return types
Yes - PictureBoxes and Frames can
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|