Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MaskEdit
Message
From
29/06/1999 13:04:17
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00235026
Message ID:
00235339
Views:
22
Thanks again Éric for your help. It is greatly appreciated.

>For date input, have you tried the date time picker (if you installed VB6!).

No, but I will give it a try.

>For other, I never use the maskedit control because it is sluggish!!! I normally use a regular textbox with validation rules which is included in an ActiveX Control of our own.

I feared that response.

>>Next, I tried the mask edit box, it was doing what I needed, until I tried to assign a value to it that's smaller than it's mask (if mask = "###" and I tried assigning 10 to it with MaskEdit.Text = 10, I would get an error message).
>
>With my sample of yesterday I had no problem (do you use .Text or .SelText?).

I finally got it to work with SelText.

>>Is there any other control that I can use that will do what I want them to do and is easier to use? I would rather write one line of code than 3 lines for each control...
>
>A real good one that I know is Input Pro from FarPoint (http://www.fpoint.com/).

I will check this out.

>>On another hand, would I be better to bound the controls to the data source instead of writting a routine that will read the data from the table and write it to the controls and another one for the other way around? Would the mask edit box work better in that scenario?
>
>I never had real good experiences with the binding (except for grid or the like). I had always switch to manually feeding the controls.

I was going the unbounded way. I wanted to know the pov of other (more experienced) VB developpers on this subject.
Previous
Reply
Map
View

Click here to load this message in the networking platform