TheBobynator Posted October 7, 2008 Share Posted October 7, 2008 hi at first, I ve created a guictrlcreateinput, but now i want that you can type only numbers and comas (","). please help Link to comment Share on other sites More sharing options...
enaiman Posted October 7, 2008 Share Posted October 7, 2008 Help file quote: GUICtrlCreateInput -------------------------------------------------------------------------------- Creates an Input control for the GUI. GUICtrlCreateInput ( "text", left, top [, width [, height [, style [, exStyle]]]] ) Parameters text The text of the control. left The left side of the control. If -1 is used then left will be computed according to GUICoordMode. top The top of the control. If -1 is used then top will be computed according to GUICoordMode. width [optional] The width of the control (default is the previously used width). height [optional] The height of the control (default is the previously used height). style [optional] Defines the style of the control. See GUI Control Styles Appendix. default ( -1) : $ES_LEFT, $ES_AUTOHSCROLL forced styles : $WS_TABSTOP only if no $ES_READONLY. $ES_MULTILINE is always reset. exStyle [optional] Defines the extended style of the control. See Extended Style Table. and also from help file: $ES_NUMBER Accepts into the edit control only digits to be typed. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now