Window.ListBoxSelect Method | |
Provide a method that is invoked when an item in a list box owned by this window is clicked.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD ListBoxSelect(
oControlEvent
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual ListBoxSelect(
Usual oControlEvent = default
)
Request Example
View SourceParameters
- oControlEvent (Optional)
- Type: Usual
The ControlEvent object that describes which list box contained the item that was clicked.
Return Value
Type:
UsualThis method calls Window.Default() and returns the result of Window.Default()
Remarks Tip |
---|
Important! This is a callback method used by X#.
Normally, it should not be called in your application code.
|
Examples
Typical example below of using this method:
1METHOD ListBoxSelect(oControlEvent) CLASS TeamInfo
2LOCAL oControl AS Control
3LOCAL sSym AS SYMBOL
4oControl := IIf(oControlEvent == NULL_OBJECT, NULL_OBJECT, ;
5oControlEvent:Control)
6SUPER:ListBoxSelect(oControlEvent)
7
8sSym := oControl:nameSym
9IF sSym == #cbxTeamNumbers
10IF SELF:cLastTeamNr != SELF:oDCcbxTeamNumbers:Value
11SELF:cLastTeamNr := SELF:oDCcbxTeamNumbers:Value
12SELF:BreakDownTeamNumber( SELF:oDCcbxTeamNumbers:Value )
13ENDIF
14ENDIF
See Also