• uifc.list() selected index

    From Ragnarok@VERT/DOCKSUD to DOVE-Net.Sync_JavaScript on Sun Jan 10 02:48:15 2021
    Hola!

    Any chance to set one default item selected on uifc.list() ?

    ---
    ï¿­ Synchronet ï¿­ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Sat Jan 9 22:21:42 2021
    Re: uifc.list() selected index
    By: Ragnarok to DOVE-Net.Sync_JavaScript on Sun Jan 10 2021 02:48 am

    Hola!

    Any chance to set one default item selected on uifc.list() ?

    Sorry, I don't understand the question. If you want to set the default scroll bar position, you can do that with the "cur" (current selection) and "bar" (lightbar position) properties of the passed "CTX" (context) object. Does that answer the question?
    --
    digital man

    Synchronet/BBS Terminology Definition #15:
    CR = Carriage Return (ASCII 13, Ctrl-M)
    Norco, CA WX: 59.7øF, 20.0% humidity, 6 mph WSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Digital Man on Sun Jan 10 20:50:53 2021
    El 10/1/21 a las 03:21, Digital Man escribió:
    Re: uifc.list() selected index
    By: Ragnarok to DOVE-Net.Sync_JavaScript on Sun Jan 10 2021 02:48 am

    > Hola!
    >
    > Any chance to set one default item selected on uifc.list() ?

    Sorry, I don't understand the question. If you want to set the default scroll bar position, you can do that with the "cur" (current selection) and "bar" (lightbar position) properties of the passed "CTX" (context) object. Does that answer the question?

    i will try it, and yes that was the question. sorry my english and i was sleepy =)

    thanks!

    ---
    ï¿­ Synchronet ï¿­ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar