Group Scrolling
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Group Scrolling
Hello everybody,
i got a group with a scrollbar in card 1 and everytime i scroll the scrollbar to the bottom and when i go to card 2 then go back the card 1, the scrollbar is still in the same position....
How can i make it to the top when i re-enter the card??
i got a group with a scrollbar in card 1 and everytime i scroll the scrollbar to the bottom and when i go to card 2 then go back the card 1, the scrollbar is still in the same position....
How can i make it to the top when i re-enter the card??
Re: Group Scrolling
Not on a dev machine, but off the top of my head wouldn't it be something like (psuedo code) -
Code: Select all
on openCard
set the thumbPosition of scrollbar x to 0
end openCard
Re: Group Scrolling
Hello bogs, thanks for your reply!
How to know my name of the scrollbar in my group???
As i just go to the group's property and tick "Vertical Scrollbar" ~ ~ ~
How to know my name of the scrollbar in my group???
As i just go to the group's property and tick "Vertical Scrollbar" ~ ~ ~
Re: Group Scrolling
Hi jwtea,
the "build-in" scrollbars of objects (fields and groups) do not have a name of their own.
I think in your case you need to reset THE SCROLL (VSCROLL or HSCROLL) of the group!
You need something like this:
Best
Klaus
the "build-in" scrollbars of objects (fields and groups) do not have a name of their own.
I think in your case you need to reset THE SCROLL (VSCROLL or HSCROLL) of the group!
You need something like this:
Code: Select all
on preopencard
set the VSCROLL of grp "your group here" to 0
end preopencard
Klaus
Re: Group Scrolling
Hello Klaus,
THANKS!!! you solved my problem
THANKS!!! you solved my problem
Re: Group Scrolling
Sorry jwtea, Klaus has it right, I misunderstood the question. Thanks Klaus