Hi John,
Try in the onBeforeDisplayEvent of the ComboBox:
CSpComboBox cb = (CSpComboBox) getDisplayField("cb");
cb.select(new CSpString("item"));
Regards,
Ceriani Roberto
[EMAIL PROTECTED] a �crit:
> Hi All,
>
> I am trying to get my combo box to display a default
> value upon loading. The combo box is being filled with
> VARCHAR values from a table (not a data object).
>
> I want one of these values to be displayed as a default.
> I tried entering them in the "Default Field" cell in the
> Properties Inspector, but it doesn't seem to affect the
> page.
>
> Does anyone have any suggestions? Thanks in advance!
>
> Regards,
> John G. de Freitas
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]