Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do this in .NET
Message
 
 
À
14/04/2005 14:25:05
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01004810
Message ID:
01005077
Vues:
31
Hi, Walter.

>>Before going into much detail about the idea of converting the code, can you clearly explain what's the purpose of that? I'm not sure I'll apply the same approach at all.
>
>The idea is that when I design a form, I want to specify the object which receives focus when adding a record, just by setting a property to .T. I do want to avoid writing code doing that.

Ok. I thought it was this, but I wanted to be sure that was the requirement. I'm sorry I didn't have time to go back to this, as I'm quite busy right now. Anyway, I see that some people offered interesting approaches already.

My take, anyway, would be probably to handle this by raising an event to which the control you designated would subscribe (to keep your idea of just switching a bit on). I don't do so much user interface stuff on my own these days, so I didn't have to resolve this particular problem, but I could write the example later for you. I just have to find some time in the middle of a few tasks I have to finish first.

In any case, Walter, I guess that as curious and motivated as you are, you should try learning .NET, not with a "conversion" idea, but just to get to new ideas that you always could apply to VFP or any other tool. I'm sure you'd enjoy the ride.

See you!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform