dimanche 31 juillet 2016

How to communicate with a CustomView

Hi everyone, I'm playing with creating a CustomView for the first time and I can't figure out how to communicate with it reliably.

The key thing I want to do at the moment is, at any time I want, pass a timestamp to my view and then have the view update the date field within it.

I tried creating a public "SetDate" method in the customview, which crashes out when I run it.

Here's the relevant parts of what I did:

CDDatePicker
(My custom view)

Sub Class_Globals
Private EventName As...

How to communicate with a CustomView

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2amFN0r
via IFTTT

Aucun commentaire:

Enregistrer un commentaire