Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't access TextBox
Message
From
14/02/2008 16:26:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/02/2008 16:10:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01292790
Message ID:
01292795
Views:
21
Oh, well, I think I have it figured out now.

On starting the form, the relevant cursor was on EOF() (no data yet). Later, data was loaded, but the TextBoxes were not refreshed.

>I am looking at an application, and when running a form, I can't select a certain TextBox.
>
>I verified (with the debugger) that .Enabled = .T., and .ReadOnly = .F.
>
>I put custom code - starting with SET STEP ON - into .When() and .GotFocus(), but that doesn't even get executed.
>
>I also checked that the .ControlSource points to a valid field.
>
>What other reasons can make it impossible to even click within the TextBox?
>
>TIA,
>
>Hilmar.
>
>Update: Oh, and when I leave the .ControlSource empty, I CAN enter all right. But specifying a valid .ControlSource makes the information inaccesible.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform