Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Little problem
Message
 
 
To
31/01/1999 00:33:17
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00182232
Message ID:
00182264
Views:
11
Pierre,

Another way of doing it, that's better if you have more than one property to set:
local loCombo
loCombo = eval( "thisform." + tcComboname )
with loCombo
   .ListIndex = lnComRec
endwith
>This refresh is good but the name of the combo is in
>the VAR.
>
>LOCATE FOR cnoproduit = tcNoprod
>lnComRec = recno()
>if FOUND( )
> Thisform.cbo1.listindex = lnComRec
>ENDIF
>
>I try this
>
> Thisform.&tcComboname.listindex = lnComRec
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform