Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with Data Environments
Message
 
To
17/01/1997 14:19:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00017515
Message ID:
00017718
Views:
76
>
> ><snip> create cursor
> (lastname,firstname) in
> >> Form.Init
> ><snip>
> >
> >Should that not be in the Form.Load, because otherwise there will be no
> >way to bind the variables to the objects that are created before the
> >Init event?
> >
> >Marc
>
> Not exactly. I used to have List.RowSource=(None) and reset this property
> to cursor alias in Form.Init after the cursor has been created in the same
> snippet.

OIC. But I is it not easier to use the Load? This way you can bind
everything at design time and you do not have to bother with it at run
time. List does not belong to my standard objects at this stage so I
might be missing something, but for txtboxes and grids, I defenitely
would go for the Load.

Or it might just be a question of taste after all.

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform