?
Solved

Loading  a Form with Option boxes in it

Posted on 1998-09-19
3
Medium Priority
?
150 Views
Last Modified: 2010-04-30
How do I get all the option boxes in one form to hold values
of false (none selected) when the form loads (Some of my forms are loading with an option box already selected, but others are not). Also, I am using a command button on another form to load the form with the option boxes in it.  I am not using frames or picture boxes.
0
Comment
Question by:pkastanek
[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
  • 3
3 Comments
 
LVL 3

Accepted Solution

by:
a111a111a111 earned 100 total points
ID: 1435733
Private Sub OptionX_GotFocus()
OptionX.Value = False
End Sub


when X is the option button TabIndex = 0

or

Private Sub Option1_GotFocus()
Option1.Value = False
End Sub

0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1435734
You can download a sample of that project at:
http://www.hili.com/~shay/opt-box.zip

0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1435735
Maybe some of you guys will not like this answer/way.

You can comment to me at shayplace@hotmail.com

Thanks.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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

649 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