Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling Panels
Message
 
À
18/05/1998 14:42:28
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00095399
Message ID:
00100219
Vues:
26
>DEFINE CLASS MSFORMS2_SCROLLBAR AS OLECONTROL
>
> * use of Microsoft Forms 2.0 Scrollbar, in FM20.dll (RegSrv32 first!)
> OleClass = "Forms.ScrollBar.1"

... * specify, width, height, orientation here

> PROCEDURE Change
> * OLE event
> * ---- do something
> ENDPROC
>
> PROCEDURE Scroll
> * OLE event
> * ---- do something
> ENDPROC
>
> ... etc etc
>
>ENDDEFINE

>You couldn't be more specific, especially with your procedures? I'm not sure what you mean with "Ole event"? or with the 3 procedures.
>
>ray

Change and Scroll are the two events that the control receives when the user moves the scrollbar with the mouse. Insert whatever code you like to respond to these events.

Any other method procedures you include in the class are of your own devising. For example, a 'MoveToHome' method is likely to be needed if you want to programmatically make the form, container, or controls that the scrollbar governs return to the 'home' position.

John Burton
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform