Ed Leafe wrote:
> On Sep 22, 2008, at 6:37 AM, Sibylle Koczian wrote:
>
>> What is a "float textbox"? Or how should a dTextBox be used for
>> float or
>> decimal values?
>
>
> I believe that there was a problem a while ago with the way that
> decimal/float values were handled in a textbox. Textboxes can only
> understand text; i.e., strings, so we have to handle the type
> conversion in code.
There's no problem using dTextBox with decimal values. It works. Either
assign it a DataField where the field is a decimal, or do textbox.Value
= Decimal("45.5").
You can also assign dates, datetimes, boolean, int, and float to a raw
dTextBox. As Ed says, dTextBox works out the conversions when necessary
between the underlying Value and the string representation shown in the
textbox.
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]