home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / codebsic / browse.frm (.txt) < prev    next >
Visual Basic Form  |  1995-02-01  |  4KB  |  96 lines

  1. frmBrowse1
  2. CodeControls 2.0
  3. MS Sans Serif
  4. Form15    
  5.     CbMaster1
  6. Master4
  7. BROWSE 
  8. BROWSE.DBF!
  9. -    CbMaster1
  10. cmbTags
  11.     ComboBox4
  12. L_NAME:
  13. cmbTags
  14. cmdMain
  15.     Main Menu
  16.     lstBrowse
  17. ListBox4
  18. Courier New
  19. UPPER( L_NAME) + F_NAME + PHONE3
  20. L_NAME6    lstBrowse
  21. cmbExpr
  22.     ComboBox4
  23. UPPER(L_NAME) + F_NAME + PHONE:
  24. cmbExpr
  25. Label1
  26. Sort Order
  27. Label1
  28. The following CodeControls combo box can be used to experiment with the browser feature. Try selecting an expression from the following list and watch CodeControls create your browse window immediately.
  29. Label1
  30. dBASE Expression
  31. Label1
  32. You can control which fields to display through the expression entry of the list or edit control. You can also control the ordering of the records by specifying an index for the control.
  33. Label1
  34. For example, in a data file with the fields L_NAME, F_NAME and INITIAL, the expression "L_NAME +  F_NAME + INITIAL" would result in entries in a list control like "Smith     John  J", etc.
  35. Label1
  36. Although CodeControls does not provide a grid control, you can simulate an 'on-the-fly' browser through use of the Edit and List controls. Each of these controls can be used to specify an expression that consists of field names and optional expression modifying functions and operators.
  37. Label1
  38. Browser Feature
  39. MS Sans Serif
  40. CbCombo1_Change
  41. cbList1
  42. DataExpr
  43. cbCombo1
  44.     Cbmaster1
  45.     ErrorCode
  46.     IndexItem
  47. DataTag
  48. cbCombo2#
  49. CbCombo2_Change
  50. Command1_Click^
  51. @    Form_Load0
  52. SetFormPos
  53.     d4tagNext
  54. Data4
  55.     tag4alias
  56.     ListIndex
  57. IndexNo
  58. Form_Unload
  59. Cancel$
  60. frmMain
  61. cmdMain_Click
  62. CbMaster1_Click
  63. ButtonCode`
  64. DataSource
  65. items
  66. added
  67. cmbExpr_Change
  68. cmbExpr
  69. cmbTags_Change
  70. cmbTags
  71.     lstBrowse
  72. FormLoading
  73. lstBrowse_DragDropp
  74. Sourceu
  75. Control
  76. DataExprSource
  77. cbMaster
  78. Visible
  79. UPPER
  80. L_NAME
  81. F_NAME
  82. PHONE
  83. cmbExpr_Change
  84. CbMaster1
  85. cmbTags_Change
  86. cmdMain_Click
  87. Form_Load
  88. Sample dBASE expressions for the browse window
  89. UPPER( L_NAME) + F_NAME + PHONE
  90. L_NAME + ACCT_NO + '   $ ' + STR(BALANCE,8,2)
  91. CITY + L_NAME + F_NAME
  92. Get list of tags
  93. Set tag for browse lists
  94. CbMaster1
  95. Form_Unload
  96.