Thanks for the advice. AS you suspected, the problem lays in my mind-set - a
VFP mindset. Fact is that VFP is an easy language to use and even more so,
the language is intuitive. VB/C# .NET is very very different and I hadn't
expected the level of differences. Ive gone back to forgetting much about
the GUI aspect and just getting my head around the data access and getting
that right. However, I'm stil interested in knowing how other developers
code their GUIs when their controls are disabled for data entry. In fox I
often used readonly or enabled=false but that appears to be problematic in
.net. If you have an opinion to share I'd love to hear it.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Stephen Russell
Sent: Sunday, 28 December 2008 10:41 AM
To: ProFox Email List
Subject: Re: Visual Studio vs VFP

On Fri, Dec 26, 2008 at 11:47 PM, Geoff Flight <[email protected]> wrote:
> Thanks for your lack of subtlety! I think it is my VFP mindset that is
> hindering my transition to .net. IN fact, that was what I wanted to know!
> Changing my thinking patterns is the hardest thing. I'm not convinced
about
> binding to objects as opposed to datasets at this stage. It seems to be
slow
> and binding to datasets is supposed to work well.
>
> Just a query about 'rbtPull.Checked=ds3.Tables(0).Rows(0)("Log.IsPull")'.
> Can you expand a bit on that? When I said newbie to .net I wasn't kidding!
----------------------------------------------------------

RadioButtonPull.Property"Checked" = DataSet3.FirstTable.Row# ( ColumnName )

rbtPull.Checked=ds3.Tables(0).Rows(0)("Log.IsPull")

I have my translation above the code.

HTH.

In all seriousness getting my head to think in another syntax was very hard.

Are you going for winforms first?

I honestly suggest that you buy into www.LearnVisualStudio.NET   They
have so many videos for getting over the basics of how .NET operates
from the easy stuff to the difficult items.

Fist thing you need to do is make your DAL for fetching data in all
CRUD operations.  Don't worry about the GUI yet, that is the last
thing you code, right?

After that we will add in the Biz Layer project that will make the
calls for data and do something at that point.

After those are done we set up a Test Harness to imitate messages from
the GUI to your BizLayer.

Once those are running properly, then we bind up the GUI to data.

HTH.




-- 
Stephen Russell
Sr. Production Systems Programmer
Mimeo.com
Memphis TN

901.246-0159


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to