Canvas - no scroll bar?
How can I set it so my canvas has no scroll bar?
horizontalScrollPolicy = "off".
verticalScrollPolicy = "off" >
Tags: Flex
Similar Questions
-
Hello. I have a form with a very long canvas containing more elements that can contain the screen at a time - which means that elements are far down on the canvas and do not appear unless physically, the user uses the mouse and scroll down. This is a problem for me because as the tabs of the user through the various fields the cursor will eventually "seem to" disappear. He actually disappeared of course, but he simply sailed to an element that is low on the canvas out of sight. So, the user must recognize that this has happened, and then use the mouse to scroll down and find the cursor.
Is there a way to automatically coordinate this scroll so that the cursor always remains for the user - which means that the user must never scroll manually to find the cursor? Or worst case, can I programatically scroll down for the user so that the cursor remains visible?
Any help would be greatly appreciated. If you have a sample code please send it to: [email protected]
Thanks in advance.
Published by: Buechler on June 30, 2009 12:20-> 3) changed to 5 default window width and height to 12
Don't, don't. Apparently, which guarantees the problem you have.
The window size must be no larger than will fit on the screen of the user and the user who runs the screen resolution below should be your target. We create higher forms that fits on the layout of 800 x 600. Our forms always use the real, the Pixel coordinate system, and I create forms with the size of the window out of 784 x 442. These reduced numbers allow the shape to fit in a browser window in web forms. Our forms run under the both Client/Server AND Web 6i and there's a preform that adjusts the size of web form window a bit bigger, but that's all.
In addition, when you run your form, this scroll bar you see here is because your window is not maximized. Our forms always maximize the window and even have a trigger when-window-resized with this:
DECLARE
W0 Window := Find_Window('WINDOW0');
BEGIN
If Get_Window_Property(W0,Window_State)<>'MAXIMIZE' then
Set_Window_Property(W0,Window_State,Maximize);
End if;
END;The wwr trigger ensures the user never sees the Window0 border - is useless, unless you use a form with several windows, which we never have.
Then... Maximize your Window0, and then you will see the behavior I described. Create a stacked canvas with a vertical scroll bar, and it will perform even better.
-
problem with horizontal scroll bar
Hi experts,
I have two scroll bars in my form. The form is retrieving data from the database and showing 20 records at a time. But whenever I use my vertical scroll bar, horizontal scrollbar sometimes moves in the left corner of extream.
The one you suggest please how can I fix this problem.
Concerning
RajatYour scrollbars are window scroll bars? Or as I guess that the portrait is a block scroll bar and the horizontal is a canvas/window scroll bar.
The horizontal scroll bar will move only if a current point of view gets the focus. Make sure that your home is not far jump to an item.
Tony
-
Problem with vertical scroll bar of the block master detail
Have a TC of canvas by tabs with 3 tabs - tab A, B and C
Tab C contains a block of master child multi. Each block can display 5 records.
C tab
-> Master Block can display 5 records
-> Child block can show 5 records. Child block has nearly 20 columns to display. It is therefore a big canvas
question
It comes with vertical toolbars on Master Block and child block.
The horizontal toolbar works very well.
But if there are more than 5 records, we are not able to scroll the vertical toolbar.
Remember reading somewhere that for a block of single bar scrolling can be active. Please specify if this is correct and indicate what are the appropriate actions that we can take.
Thank you
951614 wrote:
But if there are more than 5 records, we are not able to scroll the vertical toolbar.
You have a separate master and detail block, right scroll bar?
If so, then which bar scroll creating problem for you, master? detail? or both?
Make sure you have the block with the appropriate scroll bar card, it can possible you have set the bar of scrolling detail with master block and main scroll bar with detail block.
951614 wrote:
Remember reading somewhere that for a block of single bar scrolling can be active. Please specify if this is correct and indicate what are the appropriate actions that we can take.
It is not correct.
You used the scroll bar with individual block. There is no restriction.
-
Is there a way to disable the keyboard control scroll bars?
Hello world
I have a canvas container, which a lot of objects inside, some of which are larger than the container Canvas itself. As a result, e container canvas attracts the horizontal and vertical scroll bars in order to accommodate all the objects inside himself. The problem I have is by pressing the left/right/up/down keyboard arrow keys, the scroll bars, you will see the canvas container, and I don't want that to happen.
I tried setting the keyUp/keyDown event to null listeners, but that doesn't seem to do anything.
How can I remove the keyboard for the container of the Web controls, so that on the scroll keys will not parade the canvas?
Thank you
Colin
Keyboard scrolling behavior is implemented in the base class of container. Here are two possible ways to turn it off (and I have not tried either):
(1) extend the canvas, override the keyDownHandler with an empty method.
(2) in the event keyDown for your canvas try "Event.stopImmediatePropagation".
-
the scroll bars and panels, weird behavior
When I resize my app just scroll bars do not remain where it belongs.
by using the scroll bars on the signs doesn't seem to work, if the content extends beyond the bottom of the Panel, the Panel offers even scroll, so I had to do with a piece of layout is inside the Panel, i.e. vbox, hbox, tilelist. the problem with this is that the Panel allows to grant under the lower part of the Panel, so that the arrow pointing down in the scroll bar is not visible, the scroll bar. It's driving me crazy.
Ive tried to make a function run on the resizing of the application, but I can't make it work just... has anyone else had a problem with that?
Thank you!Well this isn't the way I wanted, but its simple... put it all in a canvas inside the Panel, and manages scrolling very well. I could have sworn I tried that before... Well... This works.
Edit:
This does not work for everything... like tileLists inside a sign... but if its only text boxes and other... It should work.
-
Can I add a horizontal scroll bar?
Hello
I have a datablock, employees, with the fields
I created a page layout using the layout editor to display all the fields in a table. I could create a vertical scroll bar.SQL> desc employees Name Null? Type ------------------------------- -------- ---- EMPLOYEE_ID NOT NULL NUMBER(6) FIRST_NAME VARCHAR2(20) LAST_NAME NOT NULL VARCHAR2(25) EMAIL NOT NULL VARCHAR2(25) PHONE_NUMBER VARCHAR2(20) HIRE_DATE NOT NULL DATE JOB_ID NOT NULL VARCHAR2(10) SALARY NUMBER(8,2) COMMISSION_PCT NUMBER(2,2) MANAGER_ID NUMBER(6) DEPARTMENT_ID NUMBER(4)
but I also want a horizontal scroll bar.
How can I create one?
Thank you
Published by: user12984479 on April 17, 2010 01:26
Published by: user12984479 on April 17, 2010 01:27After you have created him contant and canvas stacked as you said.
(a). open the canvas of the Department (telling) and select the menu view > stacked views.... It will show you this canvas (bunk) employee simply choose which to canvas and press ok. It will be on your main Department Web. Then adjust the canvas in keyboard and mouse on your condition where you want to place.
(b) and for the tab key you said. To do this, you create a trigger called KEY-NEXT-ITEM. You will create this trigger where you want to go to the Web of the employee. Let's say you want that after the cursor name Department should go to the employee in any field of canvan. Then create the trigger on the name field service called NEXT-ITEM KEY and this trigger just write like this...GO_ITEM('
'); -- Change the name upon your block and field name in form Hope it will work.
-ClémentPublished by: Graham on April 18, 2010 08:22
-
How to configure components of scroll bar?
A custom component, to separate the contents of the scroll bar. To do this, I use the VScrollBar and HScrollBar components. However, when I put the properties of scrolling for what I think is logical, I always get a really tiny scroll thumb. I think that I do not understand the logic to set the scroll bars...
for example, if I have the content with a width of 600 in a box of width 400, I put minScrollPosition HScrollBar to 0 and the maxScrollPosition to 200. But as I said that the slider is tiny.
Here's a simplified example of what I want to do. I hope you can see what I mean about the tiny slider.
Can someone tell me how to solve this problem, it looks like a normal scroll bar by default?
<? XML version = "1.0" encoding = "utf-8"? >
<!-PopUpMenuButton control example. ->
"" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml '
xmlns:OQLControls = "MXMLComponents.OQL.Controls. *" >
< mx:Script >
<! [CDATA]
private function doScroll (): void {}
Content.x = - hScroller.scrollPosition;
}
[]] >
< / mx:Script >
< mx:Canvas width = "400" height = "400" horizontalScrollPolicy = "off" verticalScrollPolicy = "off" >
< mx:HBox id = "content" width = "600" height = "400" backgroundColor = "#3344EE" x = "0" y = "0" >
< text mx:Label = "left" / >
< mx:Spacer width = "100%" / >
< text mx:Label = "left" / >
< / mx:HBox >
< / mx:Canvas >
< mx:HScrollBar id = "hScroller" minScrollPosition = "0" maxScrollPosition = "200" width = "400" scroll = "doScroll ()" / > "
< / mx:Application >It seems that you must specify pageSize = "400". pageSize is the number of visible units (maxScrollPos + pageSize is the max unit). Width is not get factored into the calculations up to the time of page layout
Don't forget, there are scroll bars built into container and ScrollControlBase
-
How to remove the scroll bar of block
In my form it in a canvas named "Canvas2. I hv put a block Ahmed bar here... In the segregated I hv to remove the scroll bar on the canvas.
How can I do this?
Help, please.
DounyaHello
When running? If so, it is not possible.
François
-
How to lock the scroll bar and several tabs to prevent them from scrolling erratically
I have upgraded to Windows 10.
Now the fireplace (Yes, it's the latest version) scrolls top down in erratic Web pages.
I can't control the right scroll bar.
Even after clicking on it or by moving up and down, either with the use of the touchpad, arrows and arrows at the top / below the scroll bar itself, it moves just everywhere anywhere on the page.
The same thing occurs when multiple tabs are open. They scroll left and right erratically.
Help! It's the most boring, frustrating and time consuming.
I have already searched several forums and blogs, disabled the auto-scrolling and scrolling soft, all to nothing will do.On my system, the mouse pad has a mind of its own. So I opened it from the
settings and OD "disable when mouse available.» No problem now. -
For a long time my address bar is backwards, the triangle button (I guess it's called the location bar history or something) always showed my most visited Web sites in a big box with all my sites. Now it always does the same thing but the window its shorter and has now a scroll bar on it, is there a way to restore or change this option to how I got it?
Normally, you should see approximately 12 items in the drop-down list.
This is defined via the pref browser.urlbar.maxRichResults you can review and edit the topic: config page.
If you see a lot less you could have an extension or a theme problem.Start Firefox in Safe Mode to check if one of the extensions (Firefox, Tools/menu key > Modules > Extensions) or if hardware acceleration is the cause of the problem.
- Put yourself in the DEFAULT theme: Firefox, Tools/menu key > Modules > appearance
- Do NOT click on the reset button on the startup window Mode safe
-
How can I disable the zoom of the scroll bar feature?
When I try to use the right scroll bar site zoom in and out. This feature is not useful for me, is it possible to turn it off?
Thank you.You use a touch pad? After you move the pointer over the scroll bar, you use tap/hold/drag to move the 'thumb' scroll bar to the bottom of the page? During this process, the 'thumb' changes usually color - for example, it could be darker than when you just drag the pointer of the mouse around above him. It does not appear that he be chosen successfully?
-
I upgraded my Mac OS 10.10.4 (Yosemite) and now I have no scroll in Firefox windows bar. I can use the arrow down to get a scroll bar to appear, but it is terribly boring. Even after I arrow down and the scroll bar appears, it will disappear after use. Is there a setting to have the visible scroll bar at all times?
I suspect that it is a system setting. Scrollbars disappear was introduced in Mac OS X 10.9 Mavericks. See this thread to find out how to change the world: why the roll bars quickly disappear in firefox on OS x 10.9?
What is fix?
-
I can't find my scroll bar to the right.
I do not understand, everything was fine, but when I looked for my scroll bar to the right, he was gone. I looked up and I can barely see the icon "Open menu". Could someone help me with this?
Maybe that your window is higher than your screen, try to resize, it can also be a problem with xulstore.json corrupt try corrupt localstore.rdf.
-
Linux Firefox 38 Scroll Bars change (for worse) behavior
With the update for Firefox 38, the scroll bars are are suddenly bad. The correct behavior for Linux scroll bars when you click on above view indicator (the part that you can move) is to move to the top of the screen and when you click below view indicator is to move to the bottom of the screen. When you the Middle click in an invisible box, it moves you directly to this part. And you can enter the indicator and drag it anywhere.
With 38, when you click above or below the indicator view, it now moves you directly to this part/area rather than move to the top or the bottom of the SCREEN. This is not another Linux applications - LibreOffice, claws, Pluma, Thunar, etc.. It is inconsistent and a mess of support. Worse, I searched on the preferences and about: config and I cannot find a way to put it back the way that it is supposed to work (as it did in Firefox 1 to 37 and even Netscape Navigator). What is going on?
Help! Thank you
HI crxssi,
I understand that in the linux version of Firefox, there is a difference in the way that scrolling works in version 37 and 38.There are two places that control smooth scrolling:
Subject: #advanced under 'Général' preferences there are scroll smoothly.There was another topic: config entry mentioned here: https://support.mozilla.org/en-US/que.../981140
However if there was a change in the update, please post if there is not always an improvement.
Maybe you are looking for
-
Could not load the profile Thunderbird after chkdsk
A ran chkdsk at windows startup and reported no errors or bad sectors. After that... When I started TB, I got the message "TB is already running but is not responding". I clicked on CLOSE THUNDERBIRD and got the message "Cannot load your TB profile."
-
An application called YourForth showed on my computer this morning. I think it came with something called Yeti who was 'necessary' for I discover something I need to download to a project. I went through the steps of uninstall in the sense indicate
-
Surfed around a site is in contradiction with another and I'm quite confused. I want to install Kali Linux as a dual boot on my Macbook Pro, but I don't know the right way to partition my hd. I'm under El Capitan 10.11.3 (15 d 21). Of simple explatai
-
Preview used to be able to open multiple image files at once
Before the upgrade of the El Capitan might click on several files image and preview them would open as a collection, offering the ability to scroll the images make changes and record as you watch any image clicked on. It was a wonderful ability that
-
Help! How to go Nvidia on Y570?
How to pass the graphics card integrated Nvidia graphics? Thank you!!!