Autofit and then refresh, or vice-versa?

2014-06-13 Thread mbsoftwaresolutions
Do you issue the grid.refresh() first, then .autofit(), or vice-versa? ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/p

Re: Proper procedure for including Craig Boyd's DateTime Picker in a project

2014-06-13 Thread Joe Yoder
Thanks Rafael - that fixed the calendar display problem. I had hoped that taking care of the calendar would also address the problems I am seeing with 24 hour time but that problem still remains. Actually the problem is present in the demo itself so I should have known that setting the classlib w

Re: Proper procedure for including Craig Boyd's DateTime Picker in a project

2014-06-13 Thread Rafael Copquin
set classlib to ..\Libraries\ vfpcalendar.vcx additive I guess that should do it Rafael Copquin El 13/06/2014 14:20, Joe Yoder escribió: What I have done is simply select the control on the design surface in his demo project and copy and paste it to my project. This seemed to work but when I

AppID of your VFP installed app

2014-06-13 Thread mbsoftwaresolutions
Long story short: I backed up my source code, but my Inno setup files were outside of the backup area, and hence why my laptop died, I lost my setup scripts for them. Lesson learned: Put them in the same backup tree as the source code. How do I get the AppID of my installed apps on another pe

Re: [NF] Looking for name of algorithm

2014-06-13 Thread mbsoftwaresolutions
Did this years ago (1998?) and called it an "Nth" program. Wrote this in ASSEMBLER!!! Basically, you take your total count, divide by the number of buckets, and of that answer, the whole part we'll call Nth and the remainder we'll call LeftoverFraction. As I start to cycle through the data,

Spellchecker

2014-06-13 Thread Koen Piller
No I have not used it in my Dutch applications have installed and used it in development no problem Op vrijdag 13 juni 2014 heeft > het volgende geschreven: > On 2014-06-13 01:30, Koen Piller wrote: > >> Hi, >> >> try Craig Boyd's spellchecker at : >> http://www.sweetpotatosoftware.com/SPSBlog/P

Re: [NF] Looking for name of algorithm

2014-06-13 Thread Paul McNett
Hi Malcolm, I would consider something like the following (pseudocode): from random import shuffle buckets = [] bucket_count = 3 class Bucket: tot_qty = 0 items = [] for i in range(bucket_count): buckets.append(Bucket()) # Sort the input_table by qty

Re: [NF] Looking for name of algorithm

2014-06-13 Thread Stephen Russell
On Fri, Jun 13, 2014 at 12:09 PM, Malcolm Greene wrote: > Looking for an algorthim for the following use case (highly > simplified): > > > > 1. I have buckets (probably 3-5) > > - Round Robin Distribution is the term you are looking for I believe. You sort the value column

Re: [NF] Looking for name of algorithm

2014-06-13 Thread M Jarvis
On Fri, Jun 13, 2014 at 10:45 AM, Malcolm Greene wrote: > Matt, > > Good questions. I don't care how many records are in each bucket as long > as the sum total of all quantity fields in each bucket are balanced as > much as possible. > On the phone so not giving this full CPU power so bear with m

RE: UTC and why you should use it

2014-06-13 Thread Adam Buckland
Or move to the UK and live on UTC or Zulu Time or GMT for 50% of the time, move to iceland to get it all year round Slightly OT.. but it is Friday.. From: ProFox [profox-boun...@leafe.com] on behalf of Richard Kaye [rk...@invaluable.com] Sent: 13 Ju

Re: [NF] Looking for name of algorithm

2014-06-13 Thread Malcolm Greene
Matt, Good questions. I don't care how many records are in each bucket as long as the sum total of all quantity fields in each bucket are balanced as much as possible. Taking the extreme case, if I had 999,999 records with a quantity value of 1, one record with a quantity value of 1,000,000 and t

Re: [NF] Looking for name of algorithm

2014-06-13 Thread M Jarvis
> > I would like to optimally shuffle my 1 million records across my > buckets so that the total quantity (based on the sum of each record's > quantity field) in each bucket is balanced (as much as possible) across > buckets. > > > > This sounds like the type of problem that has been solved before

Proper procedure for including Craig Boyd's DateTime Picker in a project

2014-06-13 Thread Joe Yoder
What I have done is simply select the control on the design surface in his demo project and copy and paste it to my project. This seemed to work but when I click the calendar dropdown I get the message "Class definition CALCALENDAR is not found. I checked and calcalendar does show up under Class

[NF] Looking for name of algorithm

2014-06-13 Thread Malcolm Greene
Looking for an algorthim for the following use case (highly simplified): 1. I have buckets (probably 3-5) 2. I have 1 million records with a quantity field containing values in the range 1 to 1000 I would like to optimally shuffle my 1 million records across my buckets so that the total

Re: [OT] Steve Balmer

2014-06-13 Thread Leland F Jackson, CPA
Notable quotes: #- Brief History Of Linux (#17) Terrible calamity IBM chose Microsoft's Quick & Dirty Operating System instead of CP/M for its new line of PCs. QDOS (along with the abomination known as EDLIN) had been acquired from a Seattle man, Tim Paterson, for the palt

Re: Spellchecker

2014-06-13 Thread Jeff Johnson
On 6/13/2014 6:01 AM, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: On 2014-06-13 01:30, Koen Piller wrote: Hi, try Craig Boyd's spellchecker at : http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,8800bdb9-a9c2-484f-942f-6a08947d903a.aspx Regards, Koen Thanks to you and Dav

RE: Spellchecker

2014-06-13 Thread Dave Crozier
Mike, I have used it and it works quite well. The usual idiosyncrasies of American and English Spelling differences are sometimes irritating but basically it does what it says on the tin and is easy to integrate. Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On

Re: Spellchecker

2014-06-13 Thread mbsoftwaresolutions
On 2014-06-13 01:30, Koen Piller wrote: Hi, try Craig Boyd's spellchecker at : http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,8800bdb9-a9c2-484f-942f-6a08947d903a.aspx Regards, Koen Thanks to you and Dave for posting that link. Are you using it or have you used it in your appli

Re: VAT Rates

2014-06-13 Thread Gérard Lochon
- Original Message - From: "Rafael Copquin" To: Sent: Thursday, June 12, 2014 9:33 PM Subject: Re: VAT Rates Oui monsieur, you are right. When we send the monthly tax return to the tax department, we always indicate the true net and the VAT, and the gross is the sum of both amounts. O

Re: VAT Rates

2014-06-13 Thread Gérard Lochon
- Original Message - From: "Paul Hill" To: "ProFox Email List" Sent: Thursday, June 12, 2014 7:18 PM Subject: Re: VAT Rates On 12 Jun 2014 16:59, "Gérard Lochon" wrote Tha't the only true way, whatever the country. Except, it seems South Africa. Which is the reason I created thi

Re: VAT Rates

2014-06-13 Thread Peter Cushing
Gérard Lochon wrote: You have a net value, 2 decimals provided, then you calculate the taxes round(rate*net,2), and then you add the net and the taxes to get the gross. And the result can be different from round(net*(1+rate),2). The true gross is always an addition (net+taxes), and never a mult

RE: UTC and why you should use it

2014-06-13 Thread Richard Kaye
Of course. I'm not about to re-architect my current applications as the effort is not justified. But if I had the luxury of approaching timestamps fresh I would take this approach to it. -- rk -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul Mc

Re: [OT] Steve Balmer

2014-06-13 Thread Michael Madigan
I would suspect something like 80% of the income of the Clippers goes to labor, so all that money is being put into the economy.  Additionally Sterling will not live forever and that money will go to his heirs and to the treasury to spend.  - Original Message - From: Ken Kixmoeller (Pr

RE: Integrating spell checking in your VFP app

2014-06-13 Thread Dave Crozier
Mike, You mean this? http://www.sweetpotatosoftware.com/spsblog/CommentView,guid,8800bdb9-a9c2-484f-942f-6a08947d903a.aspx or http://tinyurl.com/n6v44c2 Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of mbsoftwaresoluti...@mbsoftwaresolutions.com Sent: