Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
DATEEDIT value in field
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: DATEEDIT value in field (Read 8671 times)
.
Posts: 9
DATEEDIT value in field
«
on:
February 12, 2010, 03:53:29 pm »
When using a DATEDIT field in a form, is it possible to obtain the value of the date the user has selected in the Calendar widget before they have left the field or accepted the value. Selecting a date in the Calendar sets the field value from a single mouse click but I can't get that value using ui.dialog.GETFIELDBUFFER(). I've also tried ON CHANGE but still can't get the value before the user moves from the field.
Anyone know how to solve this ?
Thanks
Darren
Sebastien F.
Posts: 545
Re: DATEEDIT value in field
«
Reply #1 on:
February 12, 2010, 05:57:05 pm »
Darren,
This should not be specific to DATEEDIT fields. Selecting a date from the calendar is like entering a date by hand in the field.
Buffer synchronization depends from the context where you call DIALOG.getFieldBuffer()...
For example, when called from ON KEY / ON ACTION, the buffer should be sync.
I wonder when do you call this method...
Note also that when using the UNBUFFERED option, the runtime system will try to set the value of the program variable bound to the field (data validation will occur)...
Could you also give us the FE type/version and the fglrun version you are using?
Maybe what you need is the dialogtouched special event, to detect when the user starts to modify a field of a dialog?
Seb
.
Posts: 9
Re: DATEEDIT value in field
«
Reply #2 on:
February 12, 2010, 06:03:41 pm »
Hi Seb,
Environment is Windows - GDC 2.20.10. Just tested with GDC 2.21 and it's working ok.
I am using the dialogtouched ACTION - it's a very useful addition. I did try to capture the fieldbuffer there too but it would not pick up the change. Only double click or Enter from the dateedit would worl.. Anyhow - looks like the new GDC has fixed this.
Thanks for the advice.
Darren
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...