Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange TextBox behavior
Message
From
27/10/1998 15:14:13
 
 
To
27/10/1998 15:10:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00151169
Message ID:
00151234
Views:
21
>>>I have a formset with various forms. My primary form has command buttons, each of which activates another form. Whenever I activate the one and only form with a grid control on it (which has two columns, one for a checkbox, the other for a textbox) and subsequently activate any of my other forms, the textboxes in the other forms suddenly do not repond to the Enter key, i.e. the focus does not advance to the next object on the form.
>>>
>>>If I never ever activate the form with the grid control on it, everything else works fine.
>>>
>>>It's as though accessing the grid control changes the default behavior of my textboxes in general.
>>>
>>>Is this a bug (version 3.0b) or should I be looking at a property for one of my controls ?
>>>
>>>- Werner
>>
>>Definitely, it's not a bug, at least known one:). Are you sure that ON KEY LABEL ENTER ... doesn't fire somewhere?
>
>Edward,
>
>I'm sure that there is no ON KEY LABEL ENTER statement anywhere.

In this strange situation, I would debug from Textbox.KeyPress event, just to see, it receives nKeyCode=13 or not. If yes, at least you have workaround. There is one more fantastic opportunity, that you issued NODEFAULT there, but I don't believe in this.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform