Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Columnwidth of a grid
Message
De
06/12/2001 11:29:24
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/12/2001 10:19:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00590438
Message ID:
00590588
Vues:
29
>Okay, I have done what you have told me, but what do you mean by "Now go to dblclick of grid and code what you want"?
>
>Because when i put a messagebox there, nothing happens when i doubleclick the grid.
>
>Isn't that strange?
>
>Ron.

Ron,
I think you missed something. After those steps when you check text1 in grid.columns, for dblclick you should see code 'this.parent.parent.dblClick()' written. Check that.
If right then any dblclick on textboxes call grid's dblclick method. However as I said before I assumed you were using default controls (text1). If currentcontrol is different then dblclick code won't be invoked. You could extent the code to write dblclick code to other controls too :
for each oControl in oCol.Controls
 if upper(oControl.BaseClass) # 'HEADER' and pemstatus(oControl,'DBLCLICK',5)
     oControl.WriteMethod(...)
 endif
endfor
Cetin

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform