[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DocumentView confusion
[Thread Prev] | [Thread Next]
- Subject: Re: DocumentView confusion
- From: Gianluigi <gradobag@xxxxxxxxxxx>
- Date: Sun, 16 Nov 2025 16:43:50 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Il 16/11/25 15:09, Gianluigi ha scritto:
Hi Fabien, gbWilly, and Lee,I apologize for the intrusion, but to better understand you (us), I posted Fabien's test project here:https://paste.c-net.org/UrgencyPulseI used an old lecture by Professor Hans and incorporated it into the project.It contains indexes, so I think the PDF is suitable.
For example, one question for Fabien could be this: Public Sub Button1_Click() If (Val(TextBox1.Text) - 1) < 0 Then' Assuming that FirstVisibleDocument and FirstVisiblePage are the same thing,
' why doesn't dv[dv.FirstVisiblePage].EnsureVisible do this?
dv[0].EnsureVisible
Else If (Val(TextBox1.Text) - 1) >= dv.Count Then
' Assuming that LastVisibleDocument and LastVisiblePage are the
same thing,
' why doesn't dv[dv.LastVisiblePage].EnsureVisible do this?
dv[dv.Max].EnsureVisible
Endif
End
Regards
Gianluigi
| Re: DocumentView confusion | Lee <t.lee.davidson@xxxxxxxxx> |
| DocumentView confusion | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: DocumentView confusion | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: DocumentView confusion | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: DocumentView confusion | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: DocumentView confusion | Fabien Bodard <gambas.fr@xxxxxxxxx> |
| Re: DocumentView confusion | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: DocumentView confusion | Gianluigi <gradobag@xxxxxxxxxxx> |