gettingstarted
[Top] [All Lists]

Re: PC code and Mac code different?

To: gettingstarted at lists dot realsoftware dot com
Subject: Re: PC code and Mac code different?
From: "Lennox Jacob" <lenpartico at hotmail dot com>
Date: Sun, 27 Feb 2005 02:09:52 +0000
Delivered-to: gettingstarted at lists dot realsoftware dot com
OK Joe and Paul'
I didn't have access to PC until now.
Here is one problem
 If me.SelStart=0 then
   aKey=Key
   Return False ' This will save the first keypress
 End if

 If me.SelStart=1 and val(aKey+Key) >59 Then
   Beep
   Return True ' If the number is greater than 59 it will be blocked.
 End If
that work beautifully on Mac,
It will not allow the user to enteranything greater than 59 bu on PC it allows up to 99. Printing is a problem too. I can print on Mac without any hitches but on PC I get a tiny output in the top left hand corner.
This is what I have in Printersetup
 Dim ok as Boolean
 Dim ps as printersetup

 ps = new printersetup
 ' ps.maxverticalResolution = -1
 ' ps.maxhorizontalResolution = -1
 ok = ps.pagesetupdialog
 if ok then
   self.ps = ps 'store in property
   ' else
   ' self.ps = new printersetup
 end
 return ok

With Mac I had a similar problem, I had to use a magnification factor, (500%), so I commented-out
 ps.maxverticalResolution = -1
 ps.maxhorizontalResolution = -1
as shown above and that solved tha problem.

Had another problem with LongDate but I corrected it by using shortdate.

How can I Code a Print Preview MenuItem on PC?

Please advise.

Thanks.


From: "Joseph J. Strout" <joe at realsoftware dot com>
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: PC code and Mac code different?
Date: Sat, 26 Feb 2005 11:54:22 -0600

At 3:34 AM +0000 2/26/05, Lennox Jacob wrote:

I have an app works excellent in Mac but when compiled for PC some features don't work asexpected.
Info please.

I agree -- info please. :) We can't possibly address this without more detail. What features, and how do their behavior differ from what you expected?

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>