[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: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Tue, 3 Dec 2024 20:28:28 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 03/12/2024 à 20:23, Bruce Steers a écrit :
wiki for ScrollView.EnsureVisiblehttps://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 BooleanRe. 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.
Re: ScrollView EnsureVisible Direction? | Bruce Steers <bsteers4@xxxxxxxxx> |
ScrollView EnsureVisible Direction? | Bruce Steers <bsteers4@xxxxxxxxx> |