zeusdos
Jan 4 2009, 04:30 PM
Does anyone know a property setting to hide a DropdownList at design time? I can do it with a script, but it doesn't make sense to have a "visible" property at run time and not at design time.
R. Hicks
Jan 4 2009, 04:34 PM
Why would you need to do this ???
Can you explain ???
RDH
datAdrenaline
Jan 4 2009, 04:59 PM
>> but it doesn't make sense to have a "visible" property at run time and not at design time. <<
On the contrary ... it make perfect sense! If you hide an object at Design time, then how do you design it? Also, your users should not be interacting with your application in a "Design Time" manner, that should be reserved for you ... the designer/developer of the app...

...
zeusdos
Jan 4 2009, 05:52 PM
The dropdownlist's are part of an add-on calculator - selections that would be available only under certain conditions. For the most part, they would not be available at all.
It's much easier to only show them under certain conditions.
datAdrenaline
Jan 4 2009, 05:56 PM
>> It's much easier to only show them under certain conditions <<
You description seems to fall in line with "run time" visibility ... You can toggle the .Visible property utilizing the conditions for visibility and VBA....
zeusdos
Jan 4 2009, 05:57 PM
For all the other controls available for data access pages, all except these allow setting these properties at design time and and only go into effect at rendering (They are always visible in the design environment). The drop down lists seem to be an exception. The label for the dropdown has a "visible/hidden" property, but not the control. The control does have a "visible/hidden" property that can be set with scripting- why not in the design environment. Is there another property that does the same thing?
datAdrenaline
Jan 5 2009, 07:42 AM
Ah ... more information ... ADP, and your desire to set the property as design time ....

......
Well ... when I add a DropDown list control to a DAP, the control itself has a "Visibility" property (that I can see at Design Time) that defaults to "inherit" and I have the choices of inherit; visible; hidden .... is this not what you want? .. (Format tab, second from the bottom)
zeusdos
Jan 5 2009, 09:13 AM
That is exactly what I want. On this particular control it is not there. It is on the control's label, but not on the control itself. I'm using 2002- are you using the same version?
datAdrenaline
Jan 5 2009, 09:22 AM
>> I'm using 2002- are you using the same version? <<
I checked this out in A2003 .... this does seem to be quite odd .... I am assuming that you have deleted and recreated the DropDown list control?
zeusdos
Jan 5 2009, 09:29 AM
Yes I have- on simple databases as well. Same result. I will try it on a different computer as well.
zeusdos
Jan 5 2009, 09:44 AM
I did same thing on another machine. It did have the property available on a page I created earlier and "hidden" can be set, but still displays when rendered in IE. Can you tell me if this is the case on yours (2003)?
I also tried to create another page on this machine, and on the new page this property was not available. I can't seem to duplicate the initial success.
Bob
datAdrenaline
Jan 7 2009, 01:13 AM
>> but still displays when rendered in IE. Can you tell me if this is the case on yours (2003)? <<
I will check this out tommorrow if I get the chance to "play"! ...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.