Solved

Minor converting prob. from VBA to VB

Posted on 1999-01-02
1
161 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month3 days, 15 hours left to enroll

630 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