Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving trough form controls
Message
De
17/12/1997 04:23:40
Stoyka Kurteva
Busoft Engineering Ltd.
Bourgas, Bulgarie
 
 
À
16/12/1997 11:27:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00066143
Message ID:
00066473
Vues:
33
Thank you Cetin.

Stoyka

>>>>Hi all,
>>>>
>>>> I have a form with several controls. I'd like to move trough controls only by pressing Tab key, Ctrl+Tab or by mouse clicking.
>>>> Would you please tell me how can I do this.
>>>>
>>>>Thanks
>>>>
>>>>Stoyka
>>>Hi,
>>>You can at least disable Tab by setting tabstop property to .f. for the controls. Ctrl+Tab is reserved by windows by default. So for those controls only Mouse click works. Disabling mouse might not be good in windows.
>>>Cetin
>>
>> Hello, Cetin!
>>Thank you for being so kind to answer my question.
>>Perhaps it is my fault to form the question in a wrong way, but please read
>>it in the following form:
>>=====
>>I have created a form, including different controls /text box, edit box,
>>etc/. I want to make the cursor move from one control to another both:
>>1. by pressing TabKey /forward/, Shift+TabKey /backward/, Ctrl+Tab / for edit box/
>>2. by mouse.
>>How can I do it? I mean, how can I allow moving from one control to another
>>only in these two way and not by pressing Arrows, BackSpace, etc.
>>====
>>
>>Stoyka
>Hi,
>I understood just the reverse before, sorry.
>You can set form.keypreview to .t. and in the keypress event set nodefault for arrows,
>but you should also control if backspace or leftarrow is pressed at selstart = 0, rightarrow at selstart = seltext etc.
>Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform