O$: show line selected (solved)
Franco Maregotto
franco.maregotto at icloud.com
Thu Mar 16 12:06:56 EDT 2017
Grazie Andrea
very useful.
Franco
> Il giorno 16 mar 2017, alle ore 15:11, Andrea Zen <a.zen at athesiavr.it> ha scritto:
>
> Hello, you have to set the grid property $vscroll at runtime, to 28 in your example. The grid will scroll until the first line shown at top is the 28th.
>
> Andrea Zen
>
>
>> -----Original Message-----
>> From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On
>> Behalf Of Franco Maregotto
>> Sent: Thursday, March 16, 2017 2:29 PM
>> To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
>> Subject: O$: show line selected
>>
>> Hi
>> with many thanks for the replies to the other question I posted (Date Parts...
>> many brilliant solutions!) I ask you again another trick that I'm sure was
>> already discussed here, but I can't find any keyword to look into the archive..
>>
>> I have a list of 30 lines, showing 10 lines.
>> when I
>> Do List.$search($ref.ID=pID,ktrue,kfalse,ktrue,kfalse)
>> it set $line and selects the right line, but if this one is on bottom (say #28) the
>> list does not scroll to show the current line.
>> the list is a ComplexGrid, extendable=F, enterable=F, multipleselect=T
>>
>> Is there a way to scroll the list?
>>
>> Thanks in advance
>> Franco
>> __________________________________________________________
>> ___
>> Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list