MyRightSlidingWindow is used to handle the right sliding window associated with the current window. When running the window,
MyRightSlidingWindow is replaced with the window (and not by the name of the window). Then,
MyRightSlidingWindow can be used like any other window.
Benefit: MyRightSlidingWindow allows you to handle, from the current window, the controls found in the right sliding window associated with the current window.
MyRightSlidingWindow.ConnectAfter(False)
WinSlidingVisible(swRight, True)
Remarks
Handling the controls of the sliding window from the current window
MyRightSlidingWindow is always replaced with the right sliding window defined for the current window. In the example below, the
Color property is used on a Static control:
// Changes the caption color in the right sliding window
MyRightSlidingWindow.STC_Caption.Color = LightRed