Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of AfterRowColChange in List Boxes
Message
De
13/10/2008 07:55:48
 
 
À
13/10/2008 07:49:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01354517
Message ID:
01354526
Vues:
18
>>>>Either I'm very rusty or it doesn't exist but is there an equivalent of the .AfterRowColChange() event in List Boxes?
>>>>
>>>>Because grids don't have mover buttons I'm displaying records in a list (the user needs to be able to change their order).
>>>>
>>>>But, as with a grid, I want the static fields on the form, pertaining to those in the list, to change as the user selects a different "row" in the list.
>>>>
>>>>IOW I want my list to behave like a grid.
>>>>
>>>>'ppreciate it.
>>>>
>>>>Terry
>>>
>>>
>>>InteractiveChange() ?
>>
>>Thanks guys.
>>
>>That's where I originally put my code, being rusty and thinking in terms of .AfterRowColChange(), then I realised that .IRC():
>>
>>"Occurs when the user changes the value of a control using the keyboard or the mouse."
>>
>>Further
>>
>>This event occurs each time the object's value changes interactively. For example, as a user types in a text box, the InteractiveChange event is triggered after each keystroke.
>>
>>Now I'm not programmatically or otherwise changing a value in the list - merely selecting a different value
>
>???
>
>When the user selects another item in the listbox - the value is different
>
>
>&& listbox.interactivechange
>acti screen
>?m.this.Value
>
Yes, Greg, thanks. I was misinterpreting the ambiguous wording of the above, where it refers to e.g "For example, as a user types in a text box, the InteractiveChange event is triggered after each keystroke" - not using keystrokes. But, the IRC() does fire with each change of row so I'm looking along those lines now..
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform