PDA

View Full Version : Event correspondance



aefrisch@lorentzian.com
2017-11-15, 16:22
Hi. I'm just starting a FoxPro conversion. My code uses the When and Valid events for data fields extensively. What are the best events (delegates?) to use in Lianja for these purposes. The got focus and lost focus ones seem the closest, but the documentation for them seems sparse. Thanks.

barrymavin
2017-11-15, 19:45
Hi Aeleen,

The easiest way is to declaratively specify validation in the field attributes.
https://www.lianja.com/doc/index.php/Field_Attributes

Alternatively there are a wide range of delegates available to you.
https://www.lianja.com/doc/index.php/Custom_Delegates

josipradnik
2017-11-16, 01:50
Hi,

If you are also interested in what others were asking here about validation,
take a look at the collection of forum answers: http://www.lianja.com/community/showthread.php?3106-Answers-Validation

And about events sequence: http://www.lianja.com/community/showthread.php?2785-Answers-Events-sequence

aefrisch@lorentzian.com
2017-11-16, 10:14
Fantastic info. Thanks. This needs to be merged into the documentation :-)