Results 1 to 2 of 2

Thread: Combo and listbox properties

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    karachi
    Posts
    90
    Hello,
    Could any one tell me wht are intergral height,
    Newindex and item data property and how do they work
    Plz give me examples
    Thanks


  2. #2
    Guest
    IntegralHeight, it resizes by the height of each item. If it's off, it sets the height exactly it is given. Just try how it works, here's somekind of example:

    Code:
    'Create new form and insert a listbox
    Private Sub Form1_Resize ()
        List1.Move 0, 0, ScaleWidth, ScaleHeight
    End Sub
    
    Private Sub List1_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
        List1.IntegralHeight = Not List1.IntegralHeight
    End Sub
    NewIndex tells the next free index I think, but it really has no use, because new items have automatically the last index.

    I haven't ever needed item data and so I can't help with it. Hopefully someone else can tell.

    [Edited by MerryVIP on 11-06-2000 at 06:19 AM]

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