Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I mistake or is truly one bad chosen?
Message
De
19/03/2003 10:15:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00767420
Message ID:
00767566
Vues:
7
Hi Sergey

IT IS THE POINT !

With SET CONFIRM OFF I have:

If the customer paste the text of the clipboard in the control, all good
( inputMask='XXXX' and paste 'ABCDEFG' result is 'ABCD' )
and not lost control !

but if user write 'TRZU oops!! skip to next tab control
( i do not want this )
( that can go well on the old interface of VFP, without mouse )

Someone use SET CONFIRM OFF ?

With SET CONFIRM ON I have:

If the customer paste the text of the clipboard in the control, all badly
( inputMask='XXXX' and paste 'ABCDEFG' result is 'ABCG'.)
(To you it goes well?)

if the customer write 'TRZZUEDR oops!! result is TRZR
( i do not want this)
( to you it goes well?)
and no exit by control ( i do want this ).

You have seen some other program that it works in this way?
Demential for me!

To manage this is uselessly complex, because Fox architect
implement only thinking to SelStart not to cursor position.

Example ( metacode ) I want this operation:

0. .inputMask='XX'
1. .Text=''; .SelStart=0
2. type 'A'
3. .Text='A'; .SelStart=1
2. type 'B'
3. .Text='AB'; .SelStart=2 ( fox remains to 1 ! )
4. type 'C'
4. .Text='AB'; .SelStart=2 ( BELL sound .... )
4. type 'D'
4. .Text='AB'; .SelStart=2 ( BELL sound .... )
.....

Someone has one simple stateless solution?

Without to speak about the other Format!
( VFP removes the spaces, with the rest tries to gain a value )

Example:
Datetime textbox text='01/01/ 16:48'
press ENTER
.text='01/01/2016 00:48' ( the hours become years )

I could write examples for hours.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform