Information générale
Catégorie:
Visual ProMatrix
Versions des environnements
Network:
Windows 2003 Server
The form has a property lAskToSaveMessage: set it to .F.
Hank
>>I guess we added that property and set it when it needed to be. Oh well, you can always eval(<textbox>.cSaveControlSource).
>>
>>>>In VPME9.0, and probably 9.1, the lookup textbox and combobox stores the real controlsource in cSaveControlSource, or some such. When the value is changed, the framework populates the value back to whatever the cSaveControlSource happens to be. There are also one or more u*val properties on the controls; e.g., uLastVal. At any given point you can find the PK value of the textbox in that variable. The names might have changed for 9.1, but something like that will be there.
>>>>
>>>>Hank
>>>
>>>In design-time I don't see any properties of the textbox that start with u.
>
>Hi Hank,
>
>I used reftable.MyIDField instead suggested by Richard S - worked great.
>
>Basically, the form is working, the only minor detail is that when I change values in a grid and move to another record, the question "Do you want to save?" is asked. I don't want this question. Do you know how to disable it for grid's movements?
>
>Thanks again.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement