Re: Numeric Edit Control


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on December 20, 2007 at 14:59:04:

In Reply to: Numeric Edit Control posted by Mike Saunders on December 20, 2007 at 11:10:21:

I'm using this in a dialog based program and it compiles.

cosCtlId = IDC.STARTING
Gosub COS.AttachNumericEdit

coswParam = NE.CannotBeNegative + NE.Beep.IfInvalid
coslParam = 0 ! nothing to reset
Gosub COS.NumEditSetFlags

coswParam = RANGELEN ! Integer digits
coslParam = 0 ! Fractional digits
Gosub COS.NumEditSetDigits

Don't really know if the NE's work. Can't enter alpha, can't enter "-", but there's no beep.

I vaguely remember a discussion with Brian about the NE's being iffy.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]