re: Negative Numbers in Numeric Fields - a Solution

2006-08-03 Thread Laurie Davis
I thought that this was a great solution, but I now find an unfortunate side effect. When users use the popup keyboard to enter numbers into a numeric field, they cannot enter the minus sign. Since the field is set to numeric, the Palm OS blocks the minus sign, and in this case I do not have

re: How can I build a simple prc for weight calculations in the jet I fly?

2006-03-09 Thread Laurie Davis
I have created a flight planning application that does these weight and balance calculations - http://lauriedavis9.tripod.com/copilot/ The trial version is fully functional. Laurie -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

re: Switching forms smoothly

2006-01-28 Thread Laurie Davis
I usually put a WinLock before the FrmGotoForm, and a WinUnlock after the FrmDrawForm. Laurie -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Negative Numbers in Numeric Fields - a Solution

2005-12-25 Thread Laurie Davis
I have been searching for an elegant solution to allow negative number input into fields and tables. I initially simply set these fields to text fields. That was an acceptable workaround until the availability of keyboard based devices such as the Treo. With this workaround, the numeric input

Strange Field Behaviour

2005-07-06 Thread Laurie Davis
I have seen some strange field behaviour on the E2 simulator. I have not seen the same behavious on OS4. I have not yet tried other OS versions to isolate when it started happening. The behaviour only happens on fields with autoshift disabled. When you tap in the middle of the text in a field,

Palm Developer Program

2005-01-16 Thread Laurie Davis
I am also having trouble accessing the PalmSource Developer site. I get a message saying that the email address is not registered. I have tried sending an email to the webmaster, but I have not received any response. Laurie -- For information on using the Palm Developer Forums, or to

Development on Macintosh

2005-01-11 Thread Laurie Davis
I am currently using Codewarrior on Windows. I also use both Constructor and PilRC. I am contemplating scrapping my Windows machine and buying a Macintosh. It is not clear what my options would be for Palm development. One potential option is to use VirtualPC and continue using Codewarrior. Does

Exchange Manager Problems on Cobalt

2004-07-31 Thread Laurie Davis
My application uses the exchange manager to transfer text files to the MemoPad application. On Cobalt it causes the simulator to crash (after I have tapped the OK button to accept the data into MemoPad). I have reduced the transfer code down to a bare miniumum to see what is wrong, but it

Re: Problem with BmpCreate and WinCreateBitmapWindow

2004-06-28 Thread Laurie Davis
Did you ever find a resolution to the problem of the boxy bitmaps? I have a similar problem and have not yet found a solution. Laurie -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Basic 68K UI not working on Cobalt Simulator

2004-03-29 Thread Laurie Davis
I would like to add my vote that this is a bug that needs to be fixed. I also allow the user to switch between a set of initialized forms while retaining the values on the form. Of course it would be possible to rewrite the application to treat each form individually and maintain a shadow

VFSFileDBGetRecord on Cobalt

2004-03-25 Thread Laurie Davis
I am seeing a performance problem with VFSFileDBGetRecord on Cobalt. It is significantly slower than it is on OS4. For example, a search function that took a few seconds on the OS4 simulator took HOURS on the Cobalt simulator (or it would have if I had the patience to let it run to completion!).

Re: Unreliable nilEvents on Cobalt

2004-03-23 Thread Laurie Davis
be in the KB. Anyhow, I don't use the function. I use EvtGetEvent and set the nilEvent timeout to at least 2x the periodic event I desire. No issues at least through OS5.2 - Original Message - From: Laurie Davis [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer

Re: Unreliable nilEvents on Cobalt

2004-03-23 Thread Laurie Davis
Good idea, I will change to this method. Laurie David Fedor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In my case I am not using nilEvents for timing, just for background processing. I ask for another nilEvent as soon as I have finished processing one. The intent is to process

Unreliable nilEvents on Cobalt

2004-03-22 Thread Laurie Davis
I use nilEvents to do some background processing in my application. This has worked ok so far, but is not reliable on Cobalt. After processing the nilEvent, I immediately generate another nilEvent using: EvtSetNullEventTick(TimGetTicks()); I do this repetitively until the processing is complete.

Re: Unreliable nilEvents on Cobalt

2004-03-22 Thread Laurie Davis
the number of ticks or the actual time to see if you are done (or should do something). There have been a number of post with example code on how to effectively use nilEvents to create a timing loop. - Original Message - From: Laurie Davis [EMAIL PROTECTED] Newsgroups: palm-dev-forum

Re: Unreliable nilEvents on Cobalt

2004-03-22 Thread Laurie Davis
to generate one by. Then again, I've been wrong before. - Original Message - From: Laurie Davis [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, March 22, 2004 12:21 PM Subject: Re: Unreliable nilEvents on Cobalt There has

Form Drawing on Cobalt

2004-03-15 Thread Laurie Davis
PalmSource? Thanks, Laurie Laurie Davis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have implemented a tabbed database edit screen for may application. It has worked properly since OS version 2.0, but it no longer works on Cobalt. The user launches the database edit screen(s) via

Form Problems on Cobalt

2004-03-10 Thread Laurie Davis
I have implemented a tabbed database edit screen for may application. It has worked properly since OS version 2.0, but it no longer works on Cobalt. The user launches the database edit screen(s) via a menu item. In the frmOpenEvent handler I initialize the other forms using FrmInitForm. I also

Re: ARM MathLib

2004-02-15 Thread Laurie Davis
I asked the same question a few months ago and received the same response - nothing. I believe that some of the newer ARM processors have floating point units, so it would be nice if MathLib was smart enough to use 68K code, ARM code, or use the FPU. Actually I believe that it is time for

Re: How to stop fields from writing over a menu?

2004-01-31 Thread Laurie Davis
I solved the problem in my application in the following way. I use the nilEvent to update some fields dynamically. This was causing a problem when the menu was opened on top of the fields. I simply changed the code in the nilEvent to only update the fields when the main form was the active form:

VFSFileRead and Simulator

2003-11-30 Thread Laurie Davis
I am having a problem with the VFSFileRead function on the Simulator. Whenever I try to read a file, the read stops after 4092 bytes. I get an error code of 7197. I tried reading in smaller chunks, but again it stops after 4092 bytes and returns the same error code for all subsequent reads. I do

Re: VFSFileRead and Simulator

2003-11-30 Thread Laurie Davis
: Laurie Davis [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Sunday, November 30, 2003 5:52 AM Subject: VFSFileRead and Simulator I am having a problem with the VFSFileRead function on the Simulator. Whenever I try to read a file, the read

Is there an Arm version of Mathlib?

2003-10-09 Thread Laurie Davis
I asked this question once before without a response, so I will try once again. I was wondering if there was a version of Mathlib that had been compiled for the Arm processor. For applications with a lot of floating point calculations I assume that a native version of Mathlib would be

Problem Installing CW 9.2

2003-10-03 Thread Laurie Davis
I installed CW 9.2 and received the following errors when attempting to rebuild the headers (Build All): the file 'Palm OS_Headers' cannot be found I get 120 of these errors. I completely removed my old copy of CodeWarrior before starting. I then installed CW 9.0, did a restart,

MathLib for Arm

2003-09-10 Thread Laurie Davis
Is there a version of MathLib available that has been compiled for the arm processor? Laurie -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: FrmReturnToForm

2003-06-04 Thread Laurie Davis
If you call FrmUpdateForm before you return, a frmUpdateEvent will be sent to the returned form. Laurie Chris Apers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Does FrmReturnToForm generate an event to the returned form ? I need to redraw a part of my main form after each

Re: Constructor 1.6.2 bug?

2002-03-19 Thread Laurie Davis
I also had a problem with bitmap corruption. I tracked the problem down to the new version of PalmRezPostLinker that was installed with SDK4.0 Update 1. A new version of PalmRezPostLinker has since been released that solves the problem. You can find the new version on the Palm web site. Laurie

Fast Database Search

2002-03-12 Thread Laurie Davis
Does anyone know of a fast way to search through a very large database (17000 records)? I currently use the the standard approach: for (UInt16 recordNum = 0; recordNum DmNumRecords(db); recordNum++) { MemHandle dbRecordHandle = DmQueryRecord(db, recordNum); MemPtr dbRecordPtr =

Re: Fast Database Search

2002-03-12 Thread Laurie Davis
be very nice if the OS provided a routine to search the entire database for a match based on a user defined callback routine (such as is done for the sorting routines). Laurie Steve Mann [EMAIL PROTECTED] wrote in message news:79606@palm-dev-forum... At 1:56 PM -0500 3/12/02, Laurie Davis wrote

Re: Problems with SDK 4.0 Update 1

2002-02-26 Thread Laurie Davis
As I mentioned in an earlier post, I too have had bitmap corruptions since I installed this update. I resolved the problem by going back to the earlier version of PalmRezPostLinker. Laurie Regis St-Gelais [EMAIL PROTECTED] wrote in message news:78043@palm-dev-forum... First, I would

Re: Problems with SDK 4.0 Update 1

2002-02-26 Thread Laurie Davis
in Constructor. Mark Peters Laurie Davis [EMAIL PROTECTED] wrote in message news:78068@palm-dev-forum... As I mentioned in an earlier post, I too have had bitmap corruptions since I installed this update. I resolved the problem by going back to the earlier version of PalmRezPostLinker

SDK 4.0 Update 1 - Bitmap corruption

2002-02-21 Thread Laurie Davis
Since I installed update 1, two of the bitmaps in my project do not display properly. The bitmaps are somewhat recognizable, but there are extraneous bits, and some of the existing bits have moved around. This only happens to two particular bitmaps, all of the others seem ok. I replaced the

Solved: Using Palm OS Simulator

2002-02-10 Thread Laurie Davis
I found my problem. My firewall was blocking TCP/IP access to the IDE. I had not been using TCP/IP with the emulator, so it was working just fine. Laurie Terry Dennis [EMAIL PROTECTED] wrote in message news:76219@palm-dev-forum... Have you updated to the 7.1 patch? This has some debugger

Using Palm OS Simulator

2002-02-09 Thread Laurie Davis
Launch Parameters: none checked Always download application to device: checked Show Log Window: checked Show Palm menu: checked My palmsim.ini file is as follows: [Settings] ROM=C:\Documents and Settings\Laurie Davis\My Documents\CoPilot\PalmOS Simulator_dr6\enUS\NTFullDbg_enUS.rom RAM=7680 Sound

Using Palm OS Simulator

2002-02-08 Thread Laurie Davis
I have downloaded the new Palm OS Simulator from the Palm website: http://www.palmos.com/alliance/resources.cgi/devseed/ When I try launching my application in the simulator I get the message: PalmSim.exe has generated erros and will be closed by Windows. You will need to restart the program.

Re: Using Palm OS Simulator

2002-02-08 Thread Laurie Davis
I have tried that, I still get the following CodeWarrior log message: CmdReadRemoteMem: error in SlkReceivePacket = Serial Link timeout. Trying to Read address 0x0 Oliver Steinmeier [EMAIL PROTECTED] wrote in message news:76141@palm-dev-forum... How do I select the simulator as the target?

Re: Using Palm OS Simulator

2002-02-08 Thread Laurie Davis
. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Laurie Davis [EMAIL PROTECTED] wrote in message news:76130@palm-dev-forum... I have downloaded the new Palm OS Simulator from the Palm website: http://www.palmos.com/alliance/resources.cgi/devseed/ When I try

Re: Never Mind Re: Question about database backup bit

2002-02-01 Thread Laurie Davis
I don't think that you want that either. It will toggle the backup bit, but not necessarily force it to off, Try iAttrib = ! dmHdrAttrBackup; Mark Biek [EMAIL PROTECTED] wrote in message news:75411@palm-dev-forum... Never mind. I, of course, realized my mistake 30 seconds after

Graphical Buttons - solution

2001-12-19 Thread Laurie Davis
I started a thread a few weeks ago in an attempt to find a good way to provide graphical buttons that worked on color devices and was backwards compatible with Palm OS 3.0. I have found a solution that seems to work. Palm OS has a graphical button that works great, but is only available on OS

Button Font

2001-12-14 Thread Laurie Davis
Michael Glickman [EMAIL PROTECTED] wrote in message news:71236@palm-dev-forum... If appearence is the only think you care, then what you do is having a push button without any group. In ctlSelect you use CtlSetValue to remove highlighting. This is the way I use it. Doesn't look elegant,

Re: Rectangle Button Frame

2001-12-13 Thread Laurie Davis
I like this as a potential solution to providing graphic buttons that are compatible with OS3.0. The usual method of overlaying a bitmap with a button works ok in black and white, but does not highlight properly in color. I have been able to create an appropriate custom font, but I have not

Re: Rectangle Button Frame

2001-12-13 Thread Laurie Davis
to use it for button. eg. BUTTON \001 ID FancyButton AT ( ... ) FONT MyCustonFont, where \001 should be replaced by the character you want in your custom font. I also heard there is pilrc plugin for CW. You may want to look into that. Max --- Laurie Davis [EMAIL PROTECTED] wrote: I like

Re: Installing sample data

2001-12-12 Thread Laurie Davis
I have been following this thread with interest. I have tried to install a sample database into my application but have run into a small problem. I have created a .r file with a line like the following: read 'abc ' (Resource#) DBName; PalmRez does not like the last character of the TypeID to

Graphic Buttons

2001-10-30 Thread Laurie Davis
I use a number of graphic buttons in my application. Since I want to preserve compatibility with Palm OS version 3.0, rather than use the built in graphic button capability, I put a button with no label over a bitmap graphic. This works fine, but has some subtle side effects on color displays.

Re: Graphic Buttons

2001-10-30 Thread Laurie Davis
news:66407@palm-dev-forum... If only the label matters, you may try put a label with all space characters. Just a guess. Max --- Laurie Davis [EMAIL PROTECTED] wrote: I use a number of graphic buttons in my application. Since I want to preserve compatibility with Palm OS version 3.0, rather

Event Queue Question

2001-09-24 Thread Laurie Davis
I have been reviewing event logs in order to debug a problem. I do not understand the sequence of events when you exit one form (a dialog box with an ok button) and return to a base form. 62048.591 (63236): - EvtGetSysEvent: penDownEventX:9 Y:142 62048.601 (63236): - EvtGetEvent:

Re: This target is not registered

2001-09-10 Thread Laurie Davis
- Laurie, is this happening consistently for your code in Palm OS 3.0? Is there any way for you to send us your code? -- jkl - Original Message - From: Laurie Davis [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Saturday, September 08

This target is not registered

2001-09-08 Thread Laurie Davis
I can use CodeWarrior POSE to debug on PalmOS 4.0 and 3.5. When I try to use PalmOS 3.0 I get the message This target is not registered when I try to debug. Thanks, Laurie -- For information on using the Palm Developer Forums, or to unsubscribe, please see

External Memory

2001-06-26 Thread Laurie Davis
I'm having trouble understanding how external memory should be used. I would like to have the option of moving some of my very large database files onto external memory (expansion cards). My startup code is the standard: dbHandle = DmOpenDatabaseByTypeCreator(dbType, creator, dmModeReadWrite);