🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2309

VB: masked edit fields

#2309
From: Carol Wang
Date: Mon, 25 Jan 1993 05:59
18 lines
1427 bytes
a co-worker has been having inordinate (IMHO) problems trying to use
masked edit fields.  irregardless of the mask used, the results are
the same. from what i gather from the documentation you should use the
.Text property to manipulate or reference information in the field.
using .Text to test the information in the field is not a problem, but
trying to input into it invariably results in a "invalid property" or
"variable not valid" type error.  so, further perusing the
documentation turned up a .SelText property.  input with this was
possible, but only if it was a direct string in quotes (eg "0") type
assignment.  any assignment with, say, a string _varible_ was
completely ineffective.  

i advised that since the project is under time pressure, personally i
would just use regular text fields and verify the input after the user
was done, and this has happened, but has anyone else experienced such
problems with masked edit fields?

carol
Technical Details
Message-ID: <WANGC.93Jan24225932@dl.cpsc.UCalgary.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!cs.ubc.ca!alberta!cpsc.ucalgary.ca!wangc

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!cs.ubc.ca!alberta!cpsc.ucalgary.ca!wangc
From: wangc@cpsc.UCalgary.ca (Carol Wang)
Subject: VB: masked edit fields
Message-ID: <WANGC.93Jan24225932@dl.cpsc.UCalgary.ca>
Sender: news@cpsc.ucalgary.ca (News Manager)
Organization: The University of Calgary
Distribution: comp
Date: Mon, 25 Jan 1993 05:59:32 GMT
Lines: 18