Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing Forms
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00524602
Message ID:
00524677
Views:
13
>Ok, I'm sure I'm being completely daft here, but I've got what should be a simple problem. I want to control a Form from a PRG (alter captions, values, change colors, etc). But how?
>
>I tried FormName.Controlname.PropertyName=Value, and _Screen.Formname.etc doesn't work either. I read something about a FormSet (multiple forms in one SCT, which you can then reference: FormSet.Form.Control.Property=Value), but that isn't an option in the project I'm working on.
>
>I'm certain that there is a simple, slap me upside the head, easy answer to this, but heck if I know it :)

Can you just pass your form into the program, e.g.
form's button click:

=ChangeAppearance(thisform)
++++++++++++++++++++++
ChangeAppearance
lparameter toForm

for each loControl in toForm
   ....
next
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform