Página 1 de 1

TDBDatePicker lCheckbox

Publicado: Mié Abr 22, 2009 6:03 pm
por g.s.rogers
Question:
The documentation states that if the property lCheckBox for TDBDatePicker is
..T., "the control includes a checkbox to indicate blank dates. The only way
to indicate a blank date in this control is using this property."
Ok, so if the property is set to true, a checkbox appears on the control. If
the checkbox remains unchecked, then the control is treated as a blank date.
If the checkbox is checked, then the control's value is considered to be a
valid date.
How can I programatically tell whether the user has checked the box?
TIA,
Gary S. Rogers

TDBDatePicker lCheckbox

Publicado: Mié Abr 22, 2009 8:36 pm
por ignacio
Gary,
When the property lCheckBox is set to true, a checkbox is shown in the
control.
When THAT checkbox is checked the property TDatePicker:dValue returns the
date value of the control, if not, it returns an empty date.
So, if TDatePicker:lCheckBox is set to true, you can be sure the checkbox
is cheked when TDatePicker:dValue returns a non empty value.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:49ef3fde$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Question:
>
> The documentation states that if the property lCheckBox for TDBDatePicker
> is .T., "the control includes a checkbox to indicate blank dates. The only
> way to indicate a blank date in this control is using this property."
>
> Ok, so if the property is set to true, a checkbox appears on the control.
> If the checkbox remains unchecked, then the control is treated as a blank
> date. If the checkbox is checked, then the control's value is considered
> to be a valid date.
>
> How can I programatically tell whether the user has checked the box?
>
> TIA,
> Gary S. Rogers
>
>
>

TDBDatePicker lCheckbox

Publicado: Mié Abr 22, 2009 8:36 pm
por ignacio
Gary,
When the property lCheckBox is set to true, a checkbox is shown in the
control.
When THAT checkbox is checked the property TDatePicker:dValue returns the
date value of the control, if not, it returns an empty date.
So, if TDatePicker:lCheckBox is set to true, you can be sure the checkbox
is cheked when TDatePicker:dValue returns a non empty value.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:49ef3fde$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Question:
>
> The documentation states that if the property lCheckBox for TDBDatePicker
> is .T., "the control includes a checkbox to indicate blank dates. The only
> way to indicate a blank date in this control is using this property."
>
> Ok, so if the property is set to true, a checkbox appears on the control.
> If the checkbox remains unchecked, then the control is treated as a blank
> date. If the checkbox is checked, then the control's value is considered
> to be a valid date.
>
> How can I programatically tell whether the user has checked the box?
>
> TIA,
> Gary S. Rogers
>
>
>

TDBDatePicker lCheckbox

Publicado: Vie Abr 24, 2009 7:29 pm
por g.s.rogers
Ignacio,
Is it possible that when the checkbox is NOT checked, that the control could
show a blank date, rather than the current date? It is confusing to my users
to see a date there when in fact the value is empty.
Regards,
Gary
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:49ef63c8$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Gary,
>
> When the property lCheckBox is set to true, a checkbox is shown in the
> control.
>
> When THAT checkbox is checked the property TDatePicker:dValue returns the
> date value of the control, if not, it returns an empty date.
>
> So, if TDatePicker:lCheckBox is set to true, you can be sure the checkbox
> is cheked when TDatePicker:dValue returns a non empty value.
>
> Regards,
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
> news:49ef3fde$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Question:
>>
>> The documentation states that if the property lCheckBox for TDBDatePicker
>> is .T., "the control includes a checkbox to indicate blank dates. The
>> only way to indicate a blank date in this control is using this
>> property."
>>
>> Ok, so if the property is set to true, a checkbox appears on the control.
>> If the checkbox remains unchecked, then the control is treated as a blank
>> date. If the checkbox is checked, then the control's value is considered
>> to be a valid date.
>>
>> How can I programatically tell whether the user has checked the box?
>>
>> TIA,
>> Gary S. Rogers
>>
>>
>>
>
>

TDBDatePicker lCheckbox

Publicado: Vie Abr 24, 2009 7:29 pm
por g.s.rogers
Ignacio,
Is it possible that when the checkbox is NOT checked, that the control could
show a blank date, rather than the current date? It is confusing to my users
to see a date there when in fact the value is empty.
Regards,
Gary
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:49ef63c8$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Gary,
>
> When the property lCheckBox is set to true, a checkbox is shown in the
> control.
>
> When THAT checkbox is checked the property TDatePicker:dValue returns the
> date value of the control, if not, it returns an empty date.
>
> So, if TDatePicker:lCheckBox is set to true, you can be sure the checkbox
> is cheked when TDatePicker:dValue returns a non empty value.
>
> Regards,
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
> news:49ef3fde$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Question:
>>
>> The documentation states that if the property lCheckBox for TDBDatePicker
>> is .T., "the control includes a checkbox to indicate blank dates. The
>> only way to indicate a blank date in this control is using this
>> property."
>>
>> Ok, so if the property is set to true, a checkbox appears on the control.
>> If the checkbox remains unchecked, then the control is treated as a blank
>> date. If the checkbox is checked, then the control's value is considered
>> to be a valid date.
>>
>> How can I programatically tell whether the user has checked the box?
>>
>> TIA,
>> Gary S. Rogers
>>
>>
>>
>
>

TDBDatePicker lCheckbox

Publicado: Vie Abr 24, 2009 8:31 pm
por ignacio
Gary,
Use the TDateEdit control from the Aditional tab.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:[email=49f1f6eb@svctag-j7w3v3j....]49f1f6eb@svctag-j7w3v3j....[/email]
> Ignacio,
>
> Is it possible that when the checkbox is NOT checked, that the control
> could show a blank date, rather than the current date? It is confusing to
> my users to see a date there when in fact the value is empty.
>
> Regards,
> Gary
>
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
> news:49ef63c8$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Gary,
>>
>> When the property lCheckBox is set to true, a checkbox is shown in the
>> control.
>>
>> When THAT checkbox is checked the property TDatePicker:dValue returns the
>> date value of the control, if not, it returns an empty date.
>>
>> So, if TDatePicker:lCheckBox is set to true, you can be sure the
>> checkbox is cheked when TDatePicker:dValue returns a non empty value.
>>
>> Regards,
>> --
>> Ignacio Ortiz de Zúñiga
>> Xailer support / Soporte de Xailer
>> http://www.xailer.com
>> http://www.xailer.info
>> "Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
>> news:49ef3fde$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Question:
>>>
>>> The documentation states that if the property lCheckBox for
>>> TDBDatePicker is .T., "the control includes a checkbox to indicate blank
>>> dates. The only way to indicate a blank date in this control is using
>>> this property."
>>>
>>> Ok, so if the property is set to true, a checkbox appears on the
>>> control. If the checkbox remains unchecked, then the control is treated
>>> as a blank date. If the checkbox is checked, then the control's value is
>>> considered to be a valid date.
>>>
>>> How can I programatically tell whether the user has checked the box?
>>>
>>> TIA,
>>> Gary S. Rogers
>>>
>>>
>>>
>>
>>
>
>

TDBDatePicker lCheckbox

Publicado: Vie Abr 24, 2009 8:31 pm
por ignacio
Gary,
Use the TDateEdit control from the Aditional tab.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:[email=49f1f6eb@svctag-j7w3v3j....]49f1f6eb@svctag-j7w3v3j....[/email]
> Ignacio,
>
> Is it possible that when the checkbox is NOT checked, that the control
> could show a blank date, rather than the current date? It is confusing to
> my users to see a date there when in fact the value is empty.
>
> Regards,
> Gary
>
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
> news:49ef63c8$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Gary,
>>
>> When the property lCheckBox is set to true, a checkbox is shown in the
>> control.
>>
>> When THAT checkbox is checked the property TDatePicker:dValue returns the
>> date value of the control, if not, it returns an empty date.
>>
>> So, if TDatePicker:lCheckBox is set to true, you can be sure the
>> checkbox is cheked when TDatePicker:dValue returns a non empty value.
>>
>> Regards,
>> --
>> Ignacio Ortiz de Zúñiga
>> Xailer support / Soporte de Xailer
>> http://www.xailer.com
>> http://www.xailer.info
>> "Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
>> news:49ef3fde$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Question:
>>>
>>> The documentation states that if the property lCheckBox for
>>> TDBDatePicker is .T., "the control includes a checkbox to indicate blank
>>> dates. The only way to indicate a blank date in this control is using
>>> this property."
>>>
>>> Ok, so if the property is set to true, a checkbox appears on the
>>> control. If the checkbox remains unchecked, then the control is treated
>>> as a blank date. If the checkbox is checked, then the control's value is
>>> considered to be a valid date.
>>>
>>> How can I programatically tell whether the user has checked the box?
>>>
>>> TIA,
>>> Gary S. Rogers
>>>
>>>
>>>
>>
>>
>
>