-
April 26th, 2006, 10:49 #1
Disable scrolling for a formattedtextcontrol?
Is it possible to disable the default behaviour that allows the mouse scroller to scroll the data within a formattedtextcontrol?
I have some text that fits nicely into my fixed-sized window and just want to prevent the user accidentally scrolling it up out of view...
-
April 26th, 2006, 17:14 #2
- Join Date
- Mar 2005
- Posts
- 540
Yes there is. I can't remember off the top of my head the exact text. If somebody doesn't answer you before I get home, I'll check and let you know.
-
April 28th, 2006, 02:07 #3
I discovered a partial workaround:
If you put a static graphic (fully transparent) over the top of the formattedtext contol then the mouse scroller won't work (its trying to scroll the graphic not the text)
However, while that helps it doesn't work if you have links in the formatted tex - you can't click on them (the mouse clicks are applied to the static static graphic too...)
-
April 28th, 2006, 03:34 #4
- Join Date
- Mar 2005
- Posts
- 540
Originally Posted by Cantstanzya
-
April 28th, 2006, 06:34 #5
Does the tag <noreset /> help?
KalmarjanUltimate Licence holder
I've had FG for so LONG I DON'T KNOW HOW TO USE IT!
But I'm learning!
-
April 28th, 2006, 12:05 #6Originally Posted by Toadwart
-
April 28th, 2006, 17:05 #7
Thanks Ged. Thought that was probably the case but it's good to have official confirmation.
My workaround also relies on another effect and I'm not sure if its reliable:
The order in which controls are defined in the xmlseems to affect their relative placement.
e.g. I define a stringcontrol and a staticgraphic (both with the same bounds)Is this intentional behaviour? i.e. is it likely to change in future releases
If I define the staticgraphic first it appears in front of the string.
If I define the stringcontrol first then the string appears in front of the graphic.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks