NumberGadget(GID,X,Y,W,H,MINVALUE,MAXVALUE,TYPE)
Posted: Thu Sep 02, 2004 12:57 pm
This would be very nice and save (me) countless lines of correction code.
NumberGadget(123,x,y,w,h,0,100,1) - 0 = Integer 1 = Float
Or Perhaps the functionality could be added as a parameter to TextGadget.
(I think NumberGadget makes more sense though)
What would be really cool, though would be a RegularExpressionGadget
eg: REGadget(GID,x,y,w,h,"[A-Z][A-Z][0-9]-[0-9][A-Z][A-Z]")
would only allow input of a UK style postcode eg: S43-2BB
NumberGadget will do just fine, though
NumberGadget(123,x,y,w,h,0,100,1) - 0 = Integer 1 = Float
Or Perhaps the functionality could be added as a parameter to TextGadget.
(I think NumberGadget makes more sense though)
What would be really cool, though would be a RegularExpressionGadget

eg: REGadget(GID,x,y,w,h,"[A-Z][A-Z][0-9]-[0-9][A-Z][A-Z]")
would only allow input of a UK style postcode eg: S43-2BB
NumberGadget will do just fine, though
