View remove and scrollbar
#2
It seems the scrollbars are actually attatched to the parent view. place the view you wish to scroll on another view and remove both the scrollable view and its parent.

Code:
View 2,120 to WindowSize_x,WindowSize_y, "parentview", Start_FensterName$
View 0,0 to WindowSize_x-15,WindowSize_y-35, "Malflaeche", "parentview"
SCROLLBAR "scroll", 3, "Malflaeche" //"Malflaeche"
SCROLLBAR SET "scroll", "plain-border"
SCROLLBAR SET "scroll", "Vertical Position", 0
SCROLLBAR SET "scroll", "Horizontal Position", 0

view_exists=view get "Malflaeche","exists"
print view_exists
if (view_exists=1) then
view remove "Malflaeche"
view remove  "parentview"
endif
Reply


Messages In This Thread
View remove and scrollbar - by lorglas - 08-24-2015, 02:02 PM
RE: View remove and scrollbar - by bbjimmy - 08-24-2015, 03:04 PM
RE: View remove and scrollbar - by lorglas - 08-25-2015, 06:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting