Modify SCROLLSTEP of a ScrollAreaGadget in live [Resolved]
Posted: Mon Jan 11, 2010 2:57 pm
Hello at all
I have create a simple ScrollAreaGadget with a StepValue of scrolling of 100, InsideWidth = 1000 and InsideHeight = 1500
But i want modify this value, in live after creating the ScrollArea
I have try ResizeGadget() but this function don't manage the "Option value" or all the value other the X, Y, Width, Height
How can i do for modify, the "StepValueScroll" or the "InsideWidth" and "InsideHeight"
Thanks and good day to you
I have create a simple ScrollAreaGadget with a StepValue of scrolling of 100, InsideWidth = 1000 and InsideHeight = 1500
Code: Select all
StepValue = 100
InsideWidth = 1000
InsideHeight = 1500
If OpenWindow(0, 0, 0, 305, 200, "ScrollAreaGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ScrollAreaGadget(0, 10, 10, 290, 120, InsideWidth, InsideHeight, StepValue)
TextGadget(4,30,30, 230, 20,"Hello !",#PB_Text_Right)
CloseGadgetList()
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
End
EndSelect
ForEver
EndIf
I have try ResizeGadget() but this function don't manage the "Option value" or all the value other the X, Y, Width, Height

How can i do for modify, the "StepValueScroll" or the "InsideWidth" and "InsideHeight"
Thanks and good day to you