Re: Deactivate event for pagepanel
donJ <[email protected]> Sun, 31 Dec 2017 12:29:12 -0600
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/31/2017 10:58 AM, Antonio Rinaldi wrote: > The dirty property/event already exist in a Window: it's the contentsChanged property/event > > When the user modify the data you can set the property to true, in the event (that has the same name) enable/disable the save/cancel/apply buttons using the property value, check the property value in the cancelClose event and before changing the record with the listbox, finally set the property to false every time you load/create a record. > > Ciao > Antonio > > Thank you antonio. I never noticed a contentchanged event before. I'll look at that this evening. If it fires when the content of an enclosed control changes, that would be convenient. Thank you Don To unsubscribe, email [email protected]