| Author |
Choice Button Problem
|
Peter Phung
Ranch Hand
Joined: Dec 06, 2001
Posts: 138
|
|
The list of choices in my choice button is very long, so part of it appears off screen. Does anyone know of a solution? Thanks, Pete. p.s. i'm using jdk 1.0 for browser compatibility ------------------ "Reality is an illusion brought on by a lack of drink, drugs and smut"
|
Pete<br />"Reality is an illusion <br />brought on by a lack of <br />drink, drugs and smut"
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4120
|
|
How many items do you have in your Choice? If you replaced it with a List component you don't have to worry about the menu going off the edge of the screen. ( I think they have fixed this problem in newer versions of Java by making the menu a fixed size and adding a scrollbar if there are more items. ) Also, you don't have to go with Java 1.0 for applets. Most browsers support 1.1, and you get quite a few more things in 1.1 than 1.0 ( more bugs fixed, 1.1 event model, etc. ). -Nate
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
Peter Phung
Ranch Hand
Joined: Dec 06, 2001
Posts: 138
|
|
I'm programming in 1.0 because of the requirements of the company i'm doing my work placement with. They are using older versions of browsers so i'm forced to use 1.0. Do ypu know of any way to solve this problem? ------------------ "Reality is an illusion brought on by a lack of drink, drugs and smut"
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4120
|
|
Can't you replace the Choice with a List?
|
 |
Peter Phung
Ranch Hand
Joined: Dec 06, 2001
Posts: 138
|
|
A list would screw up my layout if I make it obvious that it's a list, and the user may not understand what to do with it, if only one value is showing. I have however, been told that I can use Java 1.1 but i don't know if it will make a difference. I would be grateful for any suggestions that you may have. ------------------ "Reality is an illusion brought on by a lack of drink, drugs and smut"
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4120
|
|
If the choice is only slightly going off the screen, you may be able to save some size by changing the size of the font of the Choice... Otherwise, I would change my layout and use a List that displays more than one item... -Nate
|
 |
 |
|
|
subject: Choice Button Problem
|
|
|