home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5330 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.4 KB  |  30 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!cs.ubc.ca!alberta!cpsc.ucalgary.ca!wangc
  3. From: wangc@cpsc.UCalgary.ca (Carol Wang)
  4. Subject: VB: masked edit fields
  5. Message-ID: <WANGC.93Jan24225932@dl.cpsc.UCalgary.ca>
  6. Sender: news@cpsc.ucalgary.ca (News Manager)
  7. Organization: The University of Calgary
  8. Distribution: comp
  9. Date: Mon, 25 Jan 1993 05:59:32 GMT
  10. Lines: 18
  11.  
  12. a co-worker has been having inordinate (IMHO) problems trying to use
  13. masked edit fields.  irregardless of the mask used, the results are
  14. the same. from what i gather from the documentation you should use the
  15. .Text property to manipulate or reference information in the field.
  16. using .Text to test the information in the field is not a problem, but
  17. trying to input into it invariably results in a "invalid property" or
  18. "variable not valid" type error.  so, further perusing the
  19. documentation turned up a .SelText property.  input with this was
  20. possible, but only if it was a direct string in quotes (eg "0") type
  21. assignment.  any assignment with, say, a string _varible_ was
  22. completely ineffective.  
  23.  
  24. i advised that since the project is under time pressure, personally i
  25. would just use regular text fields and verify the input after the user
  26. was done, and this has happened, but has anyone else experienced such
  27. problems with masked edit fields?
  28.  
  29. carol
  30.