Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I stop headers click in mouseup event?
Message
 
 
À
20/08/2001 11:45:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00546254
Message ID:
00546261
Vues:
17
Hi!

1. Try nodefault can help in MouseDown event. I doubt it will help in MouseUp event because mouseDown fire the header movement or resizing process that is finished by Click event always.

For what do you need it? If you want to prevent column movement or resizing, just set column properties Moveable and Resizable to .F.

2. You can use COM object in VFP, but beware about data types for functions - they all should be variant. You cannot update VFP data from COM object, you can use C++ functions for some and complex calculations that require better speed. There is VFP SDK for C++ - you can write the FLL library for VFP application that can use VFP internal functions to access data and otehr things from VFP. You can read abot this more at the site of the developers of the FOCUS.FLL library (http://www.fastwrite.com/PRODUCTS/FOCUS/FLL/index.cfm?CFID=200066&CFTOKEN=61419824). They also give guidelines and additional tools for that.

HTH.

>Hello
>
>i have a few basic questions related to vfp
>1. can i stop a headers click event by putting a "nodefault" in the mouseup event?
>2. is it possible to use C++ Com Objects in VFP?
>and if so, can i use it to update a cursor or any other object?
>
>thx in advance
>
>Christian
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform