• uifc.list() selected index

    From Ragnarok@VERT/DOCKSUD to DOVE-Net.Sync_JavaScript on Sunday, January 10, 2021 02:48:15
    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 Saturday, January 09, 2021 22:21:42
    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 Sunday, January 10, 2021 20:50:53
    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