Re: [gnome-db] Making a field mandatory in a form/grid
- From: "Vivien Malerba" <vmalerba gmail com>
- To: "Johannes Schmid" <johannes schmid gmx de>
- Cc: gnome-db-list gnome org
- Subject: Re: [gnome-db] Making a field mandatory in a form/grid
- Date: Wed, 31 Jan 2007 20:50:11 +0100
On 1/31/07, Johannes Schmid <johannes schmid gmx de> wrote:
Hi!
Is it possible to make a field/parameter of a GnomeDbForm or GnomeDbGrid
mandatory? The user should be able to enter any text in the field so it
should not be restricted by a combo box but the field should not be empty.
Just get a pointer to the GdaParameter and call
gda_parameter_set_not_null() _before_ creating the form or grid (if
you do it after, then it will work but the label for the parameter in
the form won't have the little '*' at the end meaning the entry is
mandatory, though this could be corrected).
Regards,
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]