Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional GetFldState Excluding Specific Fields
Message
De
26/07/2001 11:05:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/07/2001 10:58:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00535632
Message ID:
00535745
Vues:
20
However you could use some tricks with assign :)
*Notify combo with controlsource='mytable.myfield'
thisform.Setall('Tag','mytable.myfield','Combobox')

*Combos all have tag_assign
lparameters vNewVal
if lower(this.Controlsource) = lower(vNewVal) && Calling me
 * do whatever
endif
Cetin

>Oh this is record browsing. What you say is possible with recursion. There is a sample in FoxyClasses.
>Cetin
>
>>Cetin,
>>
>>What about only looping for ones of a certain type? For example, if I'm only interested in Comboboxes? or Textboxes?
>>
>>Renoir
>>
>>>Like finding out the modified one ?
>>>
>>>
lnMembers = amembers(arrMembers,loCurrent)
>>>for ix=1 to lnMembers
>>> if thisform.RecOnEntry.&arrMembers[ix] # loCurrent.&arrMembers[ix]
>>>    * modified
>>>    * arrMembers[ix] is field_name
>>>    *....
>>> endif
>>>endfor
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