Good morning,
sure there are reasons why the DateField is not derived from the
AbstractField. The main reason is, that it is on the implementation side,
like a combo box with an alternative widget in the popup. And the combo box
has a common superclass with the select box and so on...
But we know that this is missing and we have a way to address this problem.
You can get the textfield used in the datefield and set those property
there:
var combo = new qx.ui.form.ComboBox();
this.getRoot().add(combo);
var comboTextField = combo.getChildControl("textfield");
comboTextField.setReadOnly(true);

Regards,
Martin



Burak Arslan-4 wrote:
> 
> hi,
> 
> is there any particular reason why datefield doesn't inherit from 
> abstractfield? there are relevant properties like readonly that 
> datefield is missing.
> 
> best regards,
> burak
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day 
> trial. Simplify your report design, integration and deployment - and focus
> on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/datefield-tp25283173p25288831.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to