Results 1 to 2 of 2

Thread: to display combo on user request

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    hyderabad
    Posts
    4

    Question

    I want to dispaly the combo box or list box with
    data from table on user request. means when a user
    press "F4" or "ALT+F1" then the combo box should
    is visible with data from table and selected value
    should be placed in corresponding text box .


  2. #2
    Lively Member
    Join Date
    Aug 2000
    Location
    Holden Beach NC
    Posts
    85
    Private Sub mnuShowCombo_Click ()
    combo1.clear
    '
    'Code to populate combo1 with appropriate Data
    '

    combo1.visible=true
    combo1.enabled=true

    end sub


    This assumes that you have an entry in your menu named mnuShowCombo that is triggered by "F4". If you are trying to trap for "F4" from a particular object then use the ObjectName_KeyUp event to trap for "F4".

    Hope it helps

    Hunter

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