Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabled = Huh?. Strange weird behavior in my form... Wha
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00426179
Message ID:
00426188
Views:
19
If textboxes bound to table/cursor, use '? eof()'. If it shows '.T.' - thats the source of problem. Textboxes disabled automatically in VFP when the control source alias have 'eof()'.

>I have a form with textboxes, checkboxes, comboboxes, editboxes on it. When I run the EXE for that app and press the Edit button and go to that form, it enables all the boxes on the form as it should.
>
>But when I run a different EXE and call the EXE that has that same form in it and go into Edit mode based upon a saved value in a record, the boxes on the form are not enabled. They should be enabled as if I had pressed the Edit button on the form.
>
>I put " ? gcEditSW " followed by WAIT WINDOW so I could see that the code to enable the boxes on the form was running. I placed that same command throughout my form and saw the gcEditSW = 1 as it should when I want to enable the boxes on the form, but they are enabled when I come into the form from another EXE rather than the EXE that I have the problem form in.
>
>Any ideas? I can't see why the form's boxes enable in the one case and not the other. The code is the same as far as I can tell. Thanks for helping. I don't see anything wrong. Weird...
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform