Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
View remove and scrollbar
#3
Question 
Hello bbjimmy,

create solution. I have also test it befor, but i have make a mistake with the extra view.
I works, nice.

Smile

(08-25-2015, 07:04 AM)bbjimmy Wrote: 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-25-2015, 06:02 AM
RE: View remove and scrollbar - by bbjimmy - 08-25-2015, 07:04 AM
RE: View remove and scrollbar - by lorglas - 08-25-2015, 10:20 PM

Forum Jump:


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