Solved

Minor converting prob. from VBA to VB

Posted on 1999-01-02
1
159 Views
Last Modified: 2010-05-03
 I have written some stuff in Access, and there are a few things I haven't been able to figure out how to make happen when converting it to Visual Basic.

1.  On a form in Access, hitting ENTER will automatically tab to the next field.....hitting enter on a VB form does nothing.  In access I could tell the form how I want it to react to the ENTER key....how do I do this in VB.  Or do I have to do it with previewing the keys?

2.  I was able to get a full screen, no title bar, no task bar.....how do I do this in VB?

3.  Shortcuts on buttons also could be used without having to hit the ALT key in access.....does this work in VB?

Thanks,

 Craig
0
Comment
Question by:cyberimage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
agrillage earned 100 total points
ID: 1453619
The windows standard for moving from one control to another is the TAB key. Use the Tab Index property to control the order. The Enter key is often tied to a button (eg. the OK button) by setting the default property of the button. To get a full screen, set your form's borderstyle property to none and maximize to true. To get a shortcut on a button, place a & before the appropriate letter in the caption property.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

740 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