Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional GetFldState Excluding Specific Fields
Message
From
26/07/2001 11:05:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/07/2001 10:58:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00535632
Message ID:
00535745
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform