![]() |
Модераторы: Snowy, MetalFan, bems, Poseidon |
![]() ![]() ![]() |
|
muratboy31 |
|
|||
Бывалый ![]() Профиль Группа: Участник Сообщений: 230 Регистрация: 7.1.2010 Репутация: нет Всего: нет |
i want to autoscroll the web page from top to bottom and then bottom to top, i can do scrolling with timer but i dont know how to do it to scroll top when it is at the bottom ??
|
|||
|
||||
Mikel |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Клуба Сообщений: 882 Регистрация: 30.3.2002 Где: Саратов Репутация: нет Всего: 2 |
-------------------- ...so remember, it's better to burn out than to fade away |
|||
|
||||
muratboy31 |
|
|||
Бывалый ![]() Профиль Группа: Участник Сообщений: 230 Регистрация: 7.1.2010 Репутация: нет Всего: нет |
yes yes it works but i want to do it automaticly... when the scroller is at the bottom then it should scroll to top and when it is at the top then scroll to bottom automaticly...
i hope you understand what i mean... |
|||
|
||||
Mikel |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Клуба Сообщений: 882 Регистрация: 30.3.2002 Где: Саратов Репутация: нет Всего: 2 |
-------------------- ...so remember, it's better to burn out than to fade away |
|||
|
||||
muratboy31 |
|
|||
Бывалый ![]() Профиль Группа: Участник Сообщений: 230 Регистрация: 7.1.2010 Репутация: нет Всего: нет |
thanks alot Mikel
![]() i used it with spin edit it works perfect apart from 1 thing... how can i stop user type . or , in spin edit becuase it gives error if there is . or , in spin edit...
|
|||
|
||||
Mikel |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Клуба Сообщений: 882 Регистрация: 30.3.2002 Где: Саратов Репутация: нет Всего: 2 |
You should convert SpinEdit1.Text to number with val procedure and not use SpinEdit1.Value. Another variant- use try...except...end construction to catch exceptions.
-------------------- ...so remember, it's better to burn out than to fade away |
|||
|
||||
muratboy31 |
|
|||
Бывалый ![]() Профиль Группа: Участник Сообщений: 230 Регистрация: 7.1.2010 Репутация: нет Всего: нет |
ok i will do that Mikel...
do you think it will work with pages that has frames ? because i tried one and it didnt scroll it... you can also tyr it... here is the web site; http://www.canliskor.com/ |
|||
|
||||
Mikel |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Клуба Сообщений: 882 Регистрация: 30.3.2002 Где: Саратов Репутация: нет Всего: 2 |
May be, because ScrollTo doesn't influe on WB1.OleObject.Document.Body.ScrollTop, which is always equal to 0. Look for info about TWebbrowser and Document interface
![]() -------------------- ...so remember, it's better to burn out than to fade away |
|||
|
||||
muratboy31 |
|
|||
Бывалый ![]() Профиль Группа: Участник Сообщений: 230 Регистрация: 7.1.2010 Репутация: нет Всего: нет |
||||
|
||||
muratboy31 |
|
|||
Бывалый ![]() Профиль Группа: Участник Сообщений: 230 Регистрация: 7.1.2010 Репутация: нет Всего: нет |
i tried like that but i got error says;
![]()
|
|||
|
||||
Mikel |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Клуба Сообщений: 882 Регистрация: 30.3.2002 Где: Саратов Репутация: нет Всего: 2 |
It's seems that this will help you http://www.rudins.ru/technoshop/lyceum/polosy_prokrutki/
-------------------- ...so remember, it's better to burn out than to fade away |
|||
|
||||
muratboy31 |
|
|||
Бывалый ![]() Профиль Группа: Участник Сообщений: 230 Регистрация: 7.1.2010 Репутация: нет Всего: нет |
thanks for reply Mikel
![]() but do i have create the scroll bar !!! it is all russian and if i tranlate it to english then it becomes something strange and really difficult to understand... can i not just use a code from the page taht will take me there ! because i couldnt find this;
Это сообщение отредактировал(а) muratboy31 - 11.2.2010, 18:17 |
|||
|
||||
muratboy31 |
|
|||
Бывалый ![]() Профиль Группа: Участник Сообщений: 230 Регистрация: 7.1.2010 Репутация: нет Всего: нет |
ok i found how to scroll down and up, but i need to combine it so when it is at the bottom scroll top and if it is on top then scroll bottom...
Это сообщение отредактировал(а) muratboy31 - 13.2.2010, 00:28 |
|||
|
||||
volvo877 |
|
||||
![]() Эксперт ![]() ![]() ![]() ![]() Профиль Группа: Комодератор Сообщений: 2073 Регистрация: 15.11.2004 Репутация: 9 Всего: 116 |
|
||||
|
|||||
Mikel |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Клуба Сообщений: 882 Регистрация: 30.3.2002 Где: Саратов Репутация: нет Всего: 2 |
There is a loop, where we search element for scrolling. Find it in DownloadComplete event, and then you may scroll it.
volvo877, wrote example for you with test for end of page. -------------------- ...so remember, it's better to burn out than to fade away |
|||
|
||||
![]() ![]() ![]() |
Правила форума "Delphi: Для новичков" | |
|
Запрещается! 1. Публиковать ссылки на вскрытые компоненты 2. Обсуждать взлом компонентов и делиться вскрытыми компонентами
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, Snowy, MetalFan, bems, Poseidon, Rrader. |
1 Пользователей читают эту тему (1 Гостей и 0 Скрытых Пользователей) | |
0 Пользователей: | |
« Предыдущая тема | Delphi: Для новичков | Следующая тема » |
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |