[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ScrollView EnsureVisible Direction?
[Thread Prev] | [Thread Next]
- Subject: Re: ScrollView EnsureVisible Direction?
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Tue, 3 Dec 2024 19:34:32 +0000
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On Tue, 3 Dec 2024 at 19:28, Benoît Minisini < benoit.minisini@xxxxxxxxxxxxxxxx> wrote: > Le 03/12/2024 à 20:23, Bruce Steers a écrit : > > wiki for ScrollView.EnsureVisible > > https://gambaswiki.org/wiki/comp/gb.qt4/scrollarea/ensurevisible > > <https://gambaswiki.org/wiki/comp/gb.qt4/scrollarea/ensurevisible> > > > > Function *EnsureVisible* ( _X_ As Integer, _Y_ As Integer, _W_ As > > Integer, _H_ As Integer *[* , _Direction_ As Integer *]* ) As Boolean > > > > Re. the last arg "Direction As Integer" > > > > The mystery is what class constants is it looking for ? > > Is it Align? > > Align.Bottom / Top / Left / Right > > > > I want to add it to the wiki > > Respects > > BruceS > > > > It's a method of ScrollArea, not ScrollView. > > The 'Direction' argument takes one of the following values: > - Scroll.Both to allows scrolling in all directions (the default). > - Scroll.Horizontal to only scroll horizontally. > - Scroll.Vertical to only scroll vertically. > > Regards, > > -- > Benoît Minisini. > Thanks Benoit , that was nicely md formatted to paste straight in to the wiki :) Respects BruceS
ScrollView EnsureVisible Direction? | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: ScrollView EnsureVisible Direction? | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |