Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute Default Behaviour
Message
From
07/04/1998 05:51:05
Steve Camsell
Windmill Associates
Bath, United Kingdom
 
 
To
07/04/1998 05:37:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00088334
Message ID:
00090087
Views:
25
Thanks very much for the advice Carlos,

The solution that I have implemented very similar to what you suggested. It uses code like this in the Refresh():

LPARAMETERS llSetControls

IF PCOUNT() = 1 AND llSetContols
Actions...
ELSE
DODEFAULT()
ENDIF

Several people have however suggested to me that this smacks of bad design, so this may be an interim solution until I can manage a restructure. Thanks anyway!

>The code in the commandbutton seems like
> thisform.refresh(.f.).
>The code in the refresh() method of your form seems like
> lparameters true
> if parameters() = 0 or true
> ...sentences
> endif
>¿is this a solution for you ?
Steve Camsell
Development Consultant
Steve.Camsell@Windmill-DBM.Co.Uk
Previous
Reply
Map
View

Click here to load this message in the networking platform