That's exactly what you want to do. As long as you don't copy a string that
is longer than the original string, you're in good shape. Do a CtlGetLabel
to get a pointer to the original string, copy your string into the buffer
and call CtlSetLabel to update it.
//Ray
-Original Message-
You need to handle the popSelectEvent and add the text to the trigger
yourself. The problem is that the system thinks that there is data in your
list and, of course, there isn't. Your handler for popSelectEvent needs to
return true to indicate that the OS should not try to do it itself.
//Ray
Your structure MyData has a Char* member at the end. That is, it's a pointer
to a string somewhere and not that the bytes starting at that location are
the actual string. In other words, its not equivalent to having char
name[ x ] where x is the length of the string.
I suspect that your record
How about using WinSetTextColor?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert
Purcell
Sent: Friday, June 15, 2001 2:02 PM
To: Palm Developer Forum
Subject: Colored Text...does anyone know the answer??
This is the 2nd time I've posted this
You want to associate the list and the trigger at design time. You just need
to create an empty list and then fill the list to what ever you want at
runtime.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nicolás
Zeitlin
Sent: Sunday, June 03,
That is true. If you have a database of type 'DATA' and you have a conduit
installed for the creator ID of that database, the backup conduit won't
backup the database. I guess it assumes that you will since you wrote a
conduit or the nature of your conduit doesn't require backing up. (ie,
you're
You are going to need to put only the fields that will fit on the screen and
manage the scrolling yourself. For example, if you can fit 12 fields on the
screen and you need 24, you will display the first 12 items in the fields to
start. When you get a scroll event from your scroll bar, will move
Does anyone know what this linker error means? I am using CodeWarrior 7. The
only change I've made recently was to convert some code to C++.
Any ideas?
//Ray
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Thanks Ben! That solved my problem.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben Combee
Sent: Tuesday, April 17, 2001 7:43 PM
To: Palm Developer Forum
Subject: Re: Link Error: __RuntimeModule__: Entry Point '__InitCode__' is
undefined
&quo
I've struggled a bit lately with the ole "Save Behind" feature of a form. I
searched the forum archives and didn't quite get the answer I was looking
for and so I thought I would post my conclusions for future searches. Also,
if I have misunderstood this very odd feature, please let me know.
The
How about the DmQueryRecord( dbPtr, 1 ) instead. You're adding 1 to the
DmOpenRef and not the record index.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jim Garozzo
Sent: Thursday, April 12, 2001 12:46 PM
To: Palm Developer Forum
Subject:
nly plain text this time)
-Original Message-
Ray Marshall wrote:
Unless I am not understanding what you are doing, you shouldn't need to
have
any application bloat (except for a slight duplication of the resources).
You should write common code to handle the navigation form and have the
event ha
Unless I am not understanding what you are doing, you shouldn't need to have
any application bloat (except for a slight duplication of the resources).
You should write common code to handle the navigation form and have the
event handler for each form just call the common navigation code. Not only
Can anyone explain how memory modules work under the Palm OS? I've tried to
find good documentation on this subject but haven't been able to get clear
answers. I recently got a report that my application isn't working quite
right when my database files are on a memory module. Sure enough, I
write before you do a
write to a database. That way, if it's possible to write you do, and if
it's not possible you don't. And you can at least decide what you want
to do from there.
Hope this helps,
DeAnna
-Original Message-
From: Ray Marshall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
This is been nagging at me for a couple of months now. Does anyone know what
Handspring is going to do for upgrading their users? I have read that they
strategy is to release patches for older versions but have yet to see one. I
am very skeptical that it would work very well. Having a Prism, I am
I am implementing categories across numerous databases (vs. the typical Palm
method of having all of the records in a category within a single database).
Basically, I have a single "master" database that I use with the category
routines to display the CategorySelect list. I then do the work
GetObject is getting a pointer to the specified object and is unaware of
what type of object it is. That is why it returns a void*. As the
programmer, you need to know which type of object it points to and use/cast
it appropriately. For example, in this case, ContactDetailFirstNameField
happens
A struct is nothing more than a public class.
That's funny, I always thought a class was nothing more than a private
struct.;)
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of herry
Sent: Wednesday, January 31, 2001 3:22 PM
To: Palm Developer Forum
Did you remember to put your app's creator ID in the settings of your
CodeWarrior project (assuming you are using CW)? They are at
SettingsLinkerPalmRez Post Linker.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ender
Wiggin
Sent: Wednesday,
-Original Message-
From: Ray Marshall [SMTP:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 9:25 PM
To: Palm Developer Forum
Subject:RE: Please Help with Emulator Problem
I solved it by upgrading to R7. R7 works much better with the emulator.
Debugging speed seems
If you set the values of a scroll bar to 0s, it should hide itself:
SclSetScrollBar( barP, 0, 0, 0, 0 );
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Flora_Mahdavi
Sent: Tuesday, January 30, 2001 2:55 PM
To: Palm Developer Forum
Subject:
Try
var-name instead of var.name.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chad
Harrison
Sent: Tuesday, January 30, 2001 8:27 AM
To: Palm Developer Forum
Subject: cannot StrCopy
here is my typedef struct:
#define NAME_SIZE 25
#define
You can do something like:
RGBColorType color;
color.r = 0x0;
color.g = 0xFF;
color.b = 0x0;
WinSetBackColor( WinRGBToIndex( color ) );
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike
Walters
Sent:
PROTECTED]]On Behalf Of Ray
Marshall
Sent: Tuesday, January 30, 2001 10:30 PM
To: Palm Developer Forum
Subject: RE: Setting background color of text
You can do something like:
RGBColorType color;
color.r = 0x0;
color.g = 0xFF;
color.b = 0x0;
WinSetBackColor
I solved it by upgrading to R7. R7 works much better with the emulator.
Debugging speed seems to be about 5 times faster as well.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alan
Ingleby
Sent: Monday, January 29, 2001 8:22 PM
To: Palm Developer
26 matches
Mail list logo