Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / April 2005

Tip: Looking for answers? Try searching our database.

show/hide control w conditional formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David - 29 Apr 2005 20:36 GMT
Hi,

I'm trying to perform, or simulate, the changing of certain control
properties with Conditional Formatting that aren't available in the
Conditional Formatting dialog box.

I want to change the Visible or BackStyle property of a control in a
continuous form on a per-record basis. The purpose of this is to show/hide a
wide textbox over several columns of smaller textboxes based on a user
selection. I can put the textbox in front and either show/hide the texbox on
each line, or make the BackStyle transparent/white for each line.

I've been directed to www.lebans.com , which has a ConditionalFormatting
demo db which says that it shows how to do this. But, from what I can tell,
it actually only shows how to change the Enabled property, which doesn't
help me because the wide textbox would cover the smaller textboxes
regardless of enabled status.

Any help on how to do/simulate this Conditional Formatting technique, or
another way of handling the situation, would be greatly appreciated.

Thanks in advance,
David
Stephen Lebans - 30 Apr 2005 14:55 GMT
The CF FormatConditions object does not expose the Visible or BackStyle
property.

You are wrong in your statement that my sample Form only manipulates the
Enabled property of the control. What I do show is how to use CF to
modify the Backcolor property of a control to have it blend into the
Background color of a form to simulate Visible/ Not Visible.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

> Hi,
>
[quoted text clipped - 19 lines]
> Thanks in advance,
> David
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.