Sliders are devils :|

Blitz3D Forums/Blitz3D Beginners Area/Sliders are devils :|

Well they are, what Im trying to do is put a canvas in a panel and whatever te canvas's size is the slider can keep track of it and can scroll I tryed:
...
	ChildPanel = CreatePanel(215,30,395,310,MainPanel,1)
		SetGadgetLayout ChildPanel,1,1,1,1
...
	CAN_M = CreateCanvas(0,0,600,600,ChildPanel)
		SetGadgetLayout CAN_Map,1,0,1,0
...
	SetSliderRange SLI_Chi_Ver,ClientWidth(ChildPanel),GadgetWidth(ChildPanel)
	SetSliderRange SLI_Chi_Hor,ClientHeight(ChildPanel),GadgetHeight(ChildPanel)
....


Shouldnt that work? Help me... hopefully thats enough information