Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Igor/10Tec  
#1 Posted : Thursday, September 15, 2011 7:43:08 AM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,114

Thanks: 15 times
Was thanked: 141 time(s) in 141 post(s)
When you code in MS Access, in the VBA editor you do not see the list of the members of an ActiveX control when you type in its name and "." (dot). Instead, you see a list of members MS Access as a host environment provides you with.

To have the ability to use the list of the "real" members in the IntelliSense list, you need to access the Object sub-property and cast it to the proper object data type. For iGrid ActiveX the code will look like the following:

Code:
Dim grd As iGrid
Set grd = iGrid0.Object


Now, when you type in "grd.", you'll see the iGrid members, such as the RowCount or RowMode property, or the FillFromRS method.

Edited by user Thursday, October 6, 2016 8:29:54 AM(UTC)  | Reason: Igor/10Tec added code formatting

Igor/10Tec  
#2 Posted : Thursday, November 10, 2016 11:53:02 AM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,114

Thanks: 15 times
Was thanked: 141 time(s) in 141 post(s)
See also the related KB article:

iGrid events are not always raised in MS Access
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.