Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Header in Grid used as Listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01054695
Message ID:
01054697
Vues:
13
>Hello All,
>
>I have setup a grid to behave like a listbox with
>
>THISFORM.eView.Page1.grdEvents.AllowCellSelection = .F.
>
>which works well. However, the user can still click the header bar which has no effect other than to change the mouse pointer to a down arrow.
>
>Is there anyway of disabling the click event on a header when a grid is setup this way?
>
>Regards...Rex

See in wich event of the header you can put this code (Click, MouseEnter ...)
(I am too sleepy to try it now :o)
IF NOT this.Parent.Parent.AllowCellSelection
   NODEFAULT
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform