Visit Gigasoft's Web Site
 ProEssentials v9 Help

SBCode

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

Int32

Default

0

.NET

PeUserInterace.Scrollbar.SBCode

Ocx|Vcl

SBCode

DLL

PEP_nSBPOS

 

Purpose

The .NET developer reads this property in response to a PePreHScroll or PePreVScroll event.

When using the ActiveX/VCL interface, in response to a PreHScroll or PreVScroll event handler.

When implementing the DLL, in response to a PEWN_PREHSCROLL or PEWN_PREVSCROLL notification message.

 

This property returns the current scroll bar or thumbtrack position depending on the corresponding scroll bar code retrieved with SBCode.

 

If the developer wants to prevent the future scroll event, set SBCode to 1. If the developer wants to alter the future scrollbar position, set SBCode to SB_LINEUP or SB_LINEDOWN and set SBCode to a value 1 less or 1 more so that after the event, the position is as desired.

 

Comments

PeUserInterface.Scrollbar.SBPos members of Pego.PeUserInterface.Scrollbar, Pesgo.PeUserInterface.Scrollbar, Pe3do.PeUserInterface.Scrollbar, Pepso.PeUserInterface.Scrollbar, Pepco.PeUserInterface.Scrollbar

 

See Also: SBCode, PePreHScroll, PePreVScroll, PreHScroll, PreVScroll, PEWN_PREHSCROLL, or PEWN_PREVSCROLL