Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The 'Active Row In Grid' Class
Message
De
17/09/1998 03:37:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/09/1998 22:33:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00137605
Message ID:
00137682
Vues:
16
>lcARiG = 'Active Row In Grid Class'
>
>It was suggested that I download the lcARIGC and I did.
>The lcARIGC worked immediately with out a hitch. However,
>when I do multiple instances of the same form, POW, the
>error messages appear. The messages are regarding the lcARIGC
>for it is the only place that uses 'Dynamiccolors'. This is
>the type of error messages I receive ......
>
>'Expression Invalid. Use a valid expression for "Dynamic___color'
>
>I receive 8 of these messages in a row before my program will resume.
>Of course, the lcARID is not longer in effect thereafter.
>The lcARID works perfect when only one form is run. Any suggestions?
>
>On the topic of GRIDS ... How do I set it up so that when I depress
>the ENTER button the focus leaves the grid and set's focus to another
>object outside of the grid that I would like to specify?
>
>Thank Y'all... :o)
Hi Malcolm,
I didn't check that class so just making an assumption what could be wrong. For current row highlighting classes use a custom property to hold currec. I don't think instead of custom grid property, a custom form method or public var was used tohold it. Probably dynamicbackcolor expression is containing an expression with recno() w/o an alias. Also there is an "highlighted" class in "two grid classes - gridx.zip". You can compare two class code (most probably in init - setall) to see what's missing.
For ENTER key you could set form.keypreview = .t. and in form.keypress check for nKeycode = 13. But beware when form.keypreview is true, any commandbutton with default=.t. will kick in.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform