Results 1 to 8 of 8

Thread: vb's intellisense doesn't work

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566

    vb's intellisense doesn't work

    Hi
    say i have declare the following types

    VB Code:
    1. Public Type objinner
    2.   Top As String
    3.   Bottom As String
    4. End Type
    5.  
    6. Public Type obj
    7.   Something As String
    8.   subobj As objinner
    9. End Type
    10.  
    11. Public Myobj As obj

    now i m wrinting Myobj.subobj and then press the dot ".". Vb's intellisense feature is supposed to drop down the list box but it doesn't why? am i missing somthing?
    Come and get our ISDN CallerID http://www.3wm.biz

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    This works:
    VB Code:
    1. Option Explicit
    2.  
    3. Public Type objinner
    4.   Top As String
    5.   Bottom As String
    6. End Type
    7.  
    8. Public Type obj
    9.   Something As String
    10.   subobj As objinner
    11. End Type
    12.  
    13. Public Myobj As obj
    14.  
    15. Private Sub Form_Load()
    16.  
    17.    Myobj.Something
    18.  
    19. End Sub


  3. #3

  4. #4
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    Be sure the option Auto list members is checked in the editor tab of tools options .
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566
    this works for me too Myobj.Something
    but this Myobj.subobj.top doesn't the list that contains top and bottom doesn't being shown. is that the same to your VB?
    Come and get our ISDN CallerID http://www.3wm.biz

  6. #6
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    Works for me with top and bottom.
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  7. #7
    Addicted Member Geoff Gunson's Avatar
    Join Date
    Jun 1999
    Posts
    241
    Two things to check...

    Firstly what is the scope of the Type declaration???

    Have you defined the type declaration properly??

    Run the app with CTLR + F5 and see if you get any errors


    HTH

    G

  8. #8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width