Focal Point
Scroll Bars in Dropdown lists

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5901033341

December 13, 2005, 05:31 PM
k.lane
Scroll Bars in Dropdown lists
For the life of me, I cannot get a scroll bar in a dropdown list I've created. In Resource layout, I should (note I said should) have an option for overflow - that's according to the documentation on 5.3. However, it doesn't show up for me and I'm trying to do this manually.

Can anyone provide me the verbage as to what I need to include in my dropdown.

Thanks
Ken


Prod - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Dev - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Databases: Oracle 10g, SQL Server 2000, DB2.
December 14, 2005, 03:41 PM
Tony A
Hi Ken,

Firstly what have you got there at present? Perhaps we could use that as a starting point?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
December 14, 2005, 06:35 PM
k.lane
Tony,

Here's what I have. It's for a field entitled VENDOR:

~SELECT id=ITEM7 style="Z-INDEX: 21; LEFT: 60px; WIDTH: 320px; POSITION: absolute; TOP: 40px; HEIGHT: 22px" name ="VENDOR" elementname="combobox7" elementtype="combobox" labelid caption="combobox" operation="NONE" ibiformat datatype="1" addalloption="0" dynalldisplayvalue="ALL" inchainindex="2" chainnumber="0" cacheruntimedata="0" displayfield="DFLT_REPORTING_GROUP" numofrecords="-1" datafield="DFLT_REPORTING_GROUP" sourcetype="typeFex" datasource="scu0003.fex" datafieldtype="CHAR" IBIC_server IBIAPP_app="cs_scr"~
~/SELECT~

The less than/greater than symbols have been replaced with the tilde (~).

Ken


Prod - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Dev - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Databases: Oracle 10g, SQL Server 2000, DB2.
December 14, 2005, 07:35 PM
susannah
not sure if this is what you want, ken, but
<select size="1" name="D1">
  <option value="FRED">FRED   </option>
  <option value="ETHEL">ETHEL </option>
  <option value="LUCY">LUCY   </option>
  <option value="RICKY">RICKY </option>
  </select>

If you change the size="1" to size="2", you'll see both FRED and ETHEL in your list
If you leave it at 1, you'll just see the arrow to click to see all the other guys.
Your code snippet looks painful. Is that what a GUI generated for you? yikes.

or are you thinking of presenting your list in some sort of iframe w/ scrollbars??

This message has been edited. Last edited by: susannah,




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
December 15, 2005, 04:59 AM
Tony A
Ken,

Susannah has the right answer for you ...

... but you will have to make another amendment to the HTML generated by the GUI, and that is the Height parameter within the CSS Style code -
<SELECT id=ITEM7 size=10 style="Z-INDEX: 21; LEFT: 60px; WIDTH: 320px;
        POSITION: absolute; TOP: 40px; HEIGHT: 220px" name ="VENDOR"
        elementname="combobox7" elementtype="combobox" labelid
        caption="combobox" operation="NONE" ibiformat datatype="1"
        addalloption="0" dynalldisplayvalue="ALL" inchainindex="2"
        chainnumber="0" cacheruntimedata="0" displayfield="DFLT_REPORTING_GROUP"
        numofrecords="-1" datafield="DFLT_REPORTING_GROUP" sourcetype="typeFex"
        datasource="scu0003.fex" datafieldtype="CHAR" IBIC_server IBIAPP_app="cs_scr">
</SELECT>
You might have to play with the value for height to get it to display properly but working on the normal height of 22px, then 10 rows should require a height of 220px?

Unfortunately, as i do not use the GUI that often, I do not know whether the size and height attributes will be overwritten if you open it up again in the resource layout painter. Keep a back-up and try it!! What's the worst that can happen? (I try not to think about that! Frowner)

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10