Re: Using php

2004-09-21 Thread david
--- Begin Message --- Pierre Sahores wrote: Le mer 18/02/2004 à 16:28, Brian Yennie a écrit : FWIW, I've also used a method similar to Pierre's for PHP script <-> MetaCard daemon work. I have easily supported 50+ users hitting the system hard (with many database queries and a lot of HTML gene

Basic scrollbar question

2004-09-21 Thread david
I have this scroll bar - horizontal, scale style, with showValue off I am using it as a control to allow scrolling from a start date to an end date (dates in seconds). So I set the start and endValues. Next I set the lineInc to 24*60*60 which jumps a day - ok But I have to set the pageInc as foll

Re: Proportional scaling

2004-09-21 Thread Ray Horsley
Simon, Wouldn't this be just a matter of making sure you increase or decrease the object's width the same number of pixels its height is increased or decreased for every change in size that's made, or am I not understanding your question? Ray Horsley Developer, LinkIt! Software On Monday, Septe

Re: Proportional scaling

2004-09-21 Thread Simon Lord
This would only work for an object who's height and width are the same. Objects like a rectangle on it's side will get wider at a faster rate than they will get taller. That's where the math kinda runs away from me (and when fond memories of me doodling in 6th grade math come to mind). On S

Re: Proportional scaling

2004-09-21 Thread Jeanne A. E. DeVoto
At 2:46 PM -0400 9/20/2004, Simon Lord wrote: I have an abject on my card which can be scaled at runtime, the next step is to get this object to scale proportionally using it's current H x W as the aspect ratio when the shiftKey is down. A quick and dirty way is to use the width as your key value

Re: Proportional scaling

2004-09-21 Thread Ray Horsley
Ah yes. Now I see what you want. How about this. Pick either one, say width, and adjust it by (the amount you've adjusted height) times (width divided by height). In your rectangle laying on its side example, if it's 100 pixels wide by 50 tall and you want an increase in 10 pixels of height

Re: Basic scrollbar question

2004-09-21 Thread Ken Ray
On 9/21/04 7:08 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I have this scroll bar - horizontal, scale style, with showValue off > > I am using it as a control to allow scrolling from a start date to an > end date (dates in seconds). So I set the start and endValues. > > Next I set the

Re: Proportional scaling

2004-09-21 Thread Wilhelm Sanke
On Mon, 20 Sep 2004, Simon Lord wrote: I have an object on my card which can be scaled at runtime, the next step is to get this object to scale proportionally using it's current H x W as the aspect ratio when the shiftKey is down. So if the object is currently shaped like a rectangle, when I hol

Re: Proportional scaling

2004-09-21 Thread Simon Lord
Uber Danka. :) On Sep 21, 2004, at 1:52 PM, Wilhelm Sanke wrote: On Mon, 20 Sep 2004, Simon Lord wrote: I have an object on my card which can be scaled at runtime, the next step is to get this object to scale proportionally using it's current H x W as the aspect ratio when the shiftKey is down.

Re: Using php

2004-09-21 Thread Pierre Sahores
Hello David, In the way i use my PHP sockets listener and ports translator, we are only speaking from 20 lines of code (no need to know more about PHP). All the application logic is build and run by the MC or Rev application server. To have an eye about the detail, you can get this example app i

Re: Using php

2004-09-21 Thread david
Pierre Sahores wrote: Yes, it's a server side app directly speaking trought html forms on the client side and binded to a rock solid SQL databases server on the back-end. It works as a remplacement solution (and paradigm !) to the less stuitable Java-based stuffs built to run on top of Tomcat or

Re: Using php

2004-09-21 Thread Pierre Sahores
Le 21 sept. 04, à 21:28, [EMAIL PROTECTED] a écrit : Pierre Sahores wrote: Yes, it's a server side app directly speaking trought html forms on the client side and binded to a rock solid SQL databases server on the back-end. It works as a remplacement solution (and paradigm !) to the less stuitab

Re: Using php

2004-09-21 Thread scott unkefer
Hi. At quick glance I think you have to free_result to free up the memory at the end(?). http://us2.php.net/manual/en/function.pg-free-result.php /scott Pierre Sahores wrote: Le 21 sept. 04, à 21:28, [EMAIL PROTECTED] a écrit : Pierre Sahores wrote: Yes, it's a server side app directly speaking