C Dolan
|
Posted: 01/19/2002, 4:10 AM |
|
How can I change the text properties for a listbox, eg. Font, size, regular/bold etc.
|
|
|
Alex Alexapolsky
|
Posted: 01/19/2002, 9:27 AM |
|
JavaScript. Access a given element via browser object model. Set
properties. Place this javascript into Header&Footer section.
Or set custom style for a form in Properties/Style section.
|
|
|
C Dolan
|
Posted: 01/20/2002, 11:04 AM |
|
In the properties/style settings which ones affect the listbox ?
I am a bit lost by the other advice - can I do this in CC or do I need some Java Compiler software ?
Thanks
Chris
|
|
|
Nicole
|
Posted: 01/21/2002, 1:54 AM |
|
Dolan,
add JavaScript to Form->Properties->Header&Footer tab to Footer section. You don't need Java Compiler to use java script.
|
|
|
C Dolan
|
Posted: 01/21/2002, 3:30 AM |
|
Can you tell me what Javascript would change text properties - I have no idea where to begin
|
|
|
Nicole
|
Posted: 01/21/2002, 6:01 AM |
|
Dolan,
refer to MSDN->DHTML references. Select "SELECT" and look at its options to find all styles settings. E.g. to change the background color of listbox add the code like below to the footer section of the form:
<script language = "javascript">
document.Form_name.ListBix_Field_name.style.backgroundColor = "#000FFF";
</script>
|
|
|
C Dolan
|
Posted: 01/21/2002, 10:10 AM |
|
Found what I needed and all working fine now.
|
|
|