hi
I need to save splitter location on runtime when the user exits and app were closed.
Bun when i read the splitter width from registery(seved settings) and set splitter by it, splitter width does not work and not change.
My Code is :
It is correct But don't work.
I need to save splitter location on runtime when the user exits and app were closed.
Bun when i read the splitter width from registery(seved settings) and set splitter by it, splitter width does not work and not change.
My Code is :
Dim
p1
As
Integer
= GetSetting(
"splWidth1"
, 100)
Dim
pnl
As
SplitPanel = SPL.SplitPanels(0)
pnl.SetBounds(pnl.Left, pnl.Top, p1, pnl.Height)
SplitPanel1.Size =
New
Point(p1, SplitPanel1.Height)
SplitPanel2.Width = GetSetting(
"splWidth2"
, 100)
It is correct But don't work.