Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nice grid but rebel
Message
De
01/11/2011 09:47:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Nice grid but rebel
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01527772
Message ID:
01527772
Vues:
83
Hi friends:

I have a grid with this characteristic:

column.textbox.controlsource="(IVA(field1,field2))"

As I need change field:

column.textbox.gotfocus:
this.controlsource="thisform.cost"
thsform.cost=IVA(field1,field2)

column.textbox.valid:
replace field1 with thisform.cost/(1+(field2/100))
thisform.cost=0
column.textbox.controlsource="(IVA(field1,field2))"

If I change next column no problem, if I change next row value in next row replace value in first row but only for display, field is ok since if I return to first row value in second row displays first row field.

I tried with beforerowcolchange but I discovered it executes before even valid event...

fieds are ok but the problem is how they are displayed.

If I include thisform.grid.refresh() every row shows my entry but not real fields.

Does anyone know how can I avoid this?

Thank you.

Héctor
Répondre
Fil
Voir

Click here to load this message in the networking platform