• uifc.list() selected index

    From Ragnarok@VERT/DOCKSUD to DOVE-Net.Sync_JavaScript on Sun Jan 10 07: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 Sun Jan 10 03: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 Mon Jan 11 01: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