Solved

Help!!

Posted on 1998-11-04
1
134 Views
Last Modified: 2010-04-30
I have a dictonary program and i have made some code to put text in to the boxes and hit the find button but my problem is the find button isn't active unless you manuly type in the word to find so when my project puts the text in it can't hit the find button because it isn't available can some one help? If you dont know what I mean ask a auestion or e-mail me at marka64@hotmail.com and i will send you the prog sorce and the dictonary prog.

Im using VB3
Thanks
0
Comment
Question by:marka64
1 Comment
 
LVL 3

Accepted Solution

by:
TheAnswerMan earned 50 total points
ID: 1443213
instead of making the find button active on TextBox Keypress..
add this to TextBox change

cmdFind.enabled =  len(trim$(textbox))>0
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now