[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DocumentView confusion
[Thread Prev] | [Thread Next]
- Subject: Re: DocumentView confusion
- From: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Sat, 15 Nov 2025 10:49:31 +0000
- To: Gianluigi <gradobag@xxxxxxxxxxx>
- Cc: user@xxxxxxxxxxxxxxxxxxxxxx
On Friday, November 14th, 2025 at 16:30, Gianluigi gradobag@xxxxxxxxxxx wrote: > Il 14/11/25 15:14, gbWilly ha scritto: > >> Anyone that can shed some light on this matter? > > Hi Willy, > > Could there be redundancies, as some properties like Text and Title? > From what's written on the wiki, it looks like this: > https://gambaswiki.org/wiki/comp/gb.form/documentview Wiiki: [FirstVisibleDocument](https://gambaswiki.org/wiki/comp/gb.form/documentview/firstvisibledocument) :Return the number of the first visible page [FirstVisiblePage](https://gambaswiki.org/wiki/comp/gb.form/documentview/firstvisiblepage): Return the index of the first visible page They both return the same! My understanding of number of page and index of page is that they should NOT be the same. An index is not a page number, it is usually 1 lower. And looking at the names I would expect FirstVisiblePage to return number of page instead of index and FirstVisibleDocument to return the index. That makes more sense linguistic. So, if they are the same, then the wiki should be more clear, if they are different, then there is a bug, simple as that. They can't both be right. gbWilly [GambOS](https://gambos.gambas.one/) [Gambas3 for Debian/Ubuntu](https://gitlab.com/gbWilly/gambas3-debian-repository) [GambOS](https://gambos.gambas.one/) ...there is always a Catch if things go wrong! Sent with [Proton Mail](https://proton.me/mail/home) secure email.
| DocumentView confusion | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: DocumentView confusion | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: DocumentView confusion | Gianluigi <gradobag@xxxxxxxxxxx> |