home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / axpicker / form1.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-05-09  |  1.4 KB  |  49 lines

  1. VERSION 5.00
  2. Object = "{C4838E49-0637-11D3-B48C-444553540000}#15.0#0"; "AXPICKER.OCX"
  3. Begin VB.Form Form1 
  4.    Caption         =   "Form1"
  5.    ClientHeight    =   4455
  6.    ClientLeft      =   60
  7.    ClientTop       =   345
  8.    ClientWidth     =   6495
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   4455
  11.    ScaleWidth      =   6495
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin axPicklistControl.axPicker axPicker1 
  14.       Height          =   2130
  15.       Left            =   225
  16.       TabIndex        =   1
  17.       Top             =   810
  18.       Width           =   5910
  19.       _ExtentX        =   10425
  20.       _ExtentY        =   3757
  21.    End
  22.    Begin VB.CommandButton Command1 
  23.       Caption         =   "Show Selected"
  24.       Height          =   510
  25.       Left            =   3465
  26.       TabIndex        =   0
  27.       Top             =   3780
  28.       Width           =   1860
  29.    End
  30. Attribute VB_Name = "Form1"
  31. Attribute VB_GlobalNameSpace = False
  32. Attribute VB_Creatable = False
  33. Attribute VB_PredeclaredId = True
  34. Attribute VB_Exposed = False
  35. Private Sub Command1_Click()
  36.   arg = ""
  37.   For x = 0 To axPicker1.ListCountS
  38.     arg = arg + axPicker1.ListS(x) + vbCr
  39.   Next
  40.   MsgBox arg
  41. End Sub
  42. Private Sub Form_Load()
  43.   axPicker1.AddItemA "Atest1"
  44.   axPicker1.AddItemA "Btest2"
  45.   axPicker1.AddItemA "Ctest3"
  46.   axPicker1.AddItemA "Dtest4"
  47.   axPicker1.AddItemA "Etest5"
  48. End Sub
  49.