Michal Seliga wrote:
yes, use bitmap family..in fact i didn't even thought about
possibility you don't use them, because i always do.
I did set up a bitmap family, with all bit depths, and single
density since it's just a form object. I now get a colored button,
and editing the 8-bit bitmap, I
I (Luc Le Blanc) wrote earlier:
I checked and stepped through my code. Upon stating my app,
and only once, I call
UInt32 width = 160, height = 160, depth = 8;
Boolean color = true;
gError = WinScreenMode( winScreenModeSet, width, height, depth,
color );
and the
why don't you set depth to 16 when you set it?
Luc Le Blanc wrote:
I (Luc Le Blanc) wrote earlier:
I checked and stepped through my code. Upon stating my app,
and only once, I call
UInt32 width = 160, height = 160, depth = 8;
Boolean color = true;
gError =
for a graphic
button or form bitmap (and a textless button above it)? That would perhaps
solve the problem, even though Constructor says my bitmap is 8-bit.
Luc Le Blanc
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers
, but
I just tried it, and my button is still in B+W. And when I open the
UIPickColor, I still only see 256 indexed colors. Can I use a bitmap family
for a graphic button or form bitmap (and a textless button above it)? That
would perhaps solve the problem, even though Constructor says my bitmap
Hi,
T3 default color depth: 8bit.
You MUST set the color depth to 16bits!!!
All the best
Tam Hanna
http://tamspalm.tamoggemon.com
P.S. it is a mess, I know - some devices have 8bit default, while others run
per default in 16bit...
Subject: Displaying a colored graphic button
From: Luc Le
I thought that all devices defaulted to 8-bit colour, for legacy
considerations. I could well be wrong, though.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
thats probably because t3 runs in 8bpp mode by default
try to set mode to 16bpp when your application starts (all colour devices
support it i think)
Luc Le Blanc wrote:
How can I get a colored graphic button to actually display in color? In
Constructor, I picked the only color bitmap option
Michal Seliga wrote:
thats probably because t3 runs in 8bpp mode by default
try to set mode to 16bpp when your application starts
(all colour devices support it i think)
I redrew my bitmap in 8-bit/256 colors with Constructor, but it still appears
in B+W (and OK in Constructor :(
I must be
Philip Sheard wrote:
I thought that all devices defaulted to 8-bit colour, for legacy
considerations. I could well be wrong, though.
treo680 and newer and t|x default to 16bpp, its not problem, all applications
work as expected because 8bpp bitmaps can be shown properly in 16bpp mode
however
I (Luc Le Blanc) wrote earlier:
Michal Seliga wrote:
thats probably because t3 runs in 8bpp mode by default
try to set mode to 16bpp when your application starts
(all colour devices support it i think)
I redrew my bitmap in 8-bit/256 colors with Constructor, but it
still appears in B+W
How can I get a colored graphic button to actually display in color? In
Constructor, I picked the only color bitmap option available: 16-bit
(Thousands of colors.) The graphic button looks right in Constructor, but
displays in black and white when running on a T3 or in POSE.
Luc Le Blanc
In my case, I don't currently worry about color, since I'm doing
this stuff for the Symbol SPT series units, so I've been just
dropping the bitmap on top of a button. Must be something with
the bitmap families...like the occasional garbling of text on
buttons, etc. I don't think
Yeah, I did the same thing you did. I had to build a series of custom tips
forms.
Hierarchical problem? hmmm, I don't think that would be it. I took your i
bitmap and put it into constructor. Then I made a graphic button, and
inserted the resource ID into the Bitmap Resource property. It's
I'm getting the Euro symbol displaying on my button instead of the graphic
I've set up. I see the graphic in constructor, but not when I run the app.
Don't get me wrong, I have nothing against the Euro... I just don't want it
on my graphic button :-)
+
Timothy D. Astle
Embedded
Thanks everyone, I didn't notice the SelectID option in the Resource Editor
before. Got it working nicely now.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
How do I stop a button from automatically inversing when it is pressed, but
otherwise behave normally? I have a graphic button and I'd like it to not
change in the default manner when tapped since it looks really bad.
Actually, as a followup question, can I choose how it looks when tapped if I
[EMAIL PROTECTED] wrote:
How do I stop a button from automatically inversing when it is pressed, but
otherwise behave normally? I have a graphic button and I'd like it to not
change in the default manner when tapped since it looks really bad.
You have to provide the selected image yourself
Hi,
You can change graphic button selected effect by giving 'Selected Bitmap' value.
'Selected Bitmap' is property of Graphic button.
Regards,
Ganesh Pisal
www.skyscape.com
India
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access
Durgesh,
Have you gone mad yet, or have you solved this?
One problem you may be encountering is that the application icons for
the built in applications are not held in the application database, but
in an overlay database.
I'd suggest writing a function that you pass the creator id, the
function
Durgesh,
It seems CtlSetGraphics accepts only Tbmp resources located in open
databases.
I don't know? Maybe you should create a temporary database to which you copy
the tAIB resources as Tbmp resources. Then you can simply use the id of such
Tbmp resource to pass to CtlSetGraphics.
--
please help me regard the
bit map id is 4 the default application means datebook todo etc bca i want to
draw the btmap of the default application on the graphic button.
even u store the id in default database and when u retrive that in that case
if the icon id is 1000 which is always default 4
Means i draw the bitmap on the button by the use of winDrawBitmap .
can u give me any example code for that which make me more clear bcz i m
unable to draw that on button .
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see
is 1000?
Somebody correct me if I'm wrong please.
Regards
John Sutton
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Durgesh
Trivedi
Sent: 14 September 2006 08:26
To: Palm Developer Forum
Subject: RE: Bitmap on graphic button
Means i draw the bitmap
yes it is right that the application icon id is 1000 but in that case it take
the id of my application but i need the icon id of the date book or any other
application so how do i retrive that frm data base with the Dmdatabaselist
--
For information on using the PalmSource Developer Forums,
Durgesh,
You must load the bitmap from the application's database. It's always the
same bitmap. Quote from the Docs:
Your application needs to have two icons:
• A large icon of type tAIB, with an ID of 1000. For compatibility with Palm
OS 2.0, this icon should be 22 x 32 pixels; for all other
But i dont understnad the way toget the icon(or bitmap image) of any
application frm the database bcz if i want to launch any application by use of
any graphic button then i want to show the default icon (or bitmap image)of
that application on graphic button and thats the problem, to get
If i want to get the bitmap of any application or u can say the application
icon on any graphic button how do i do that 4 example if iwant the application
icon of the datebook application how do i reterive it frm datebook data base.
--
For information on using the PalmSource Developer Forums
2006 12:49
To: Palm Developer Forum
Subject: Bitmap on graphic button
If i want to get the bitmap of any application or u can say the
application icon on any graphic button how do i do that 4 example if
iwant the application icon of the datebook application how do i
reterive it frm datebook data
Hi everybody,
my problem is...
- I included a graphic button into one of my forms.
- The Bitmap ID and the Selected ID of that button resource are set to the
corresponding bitmap resources so that the bitmap is shown correctly on the
button within form editor of the Palm OS Resource Editor
On Sun, Jan 22, 2006 at 08:23:22PM -, J??rgen Sch??nke wrote:
- I included a graphic button into one of my forms.
- The Bitmap ID and the Selected ID of that button resource are
set to the corresponding bitmap resources so that the bitmap is shown
correctly on the button within form
When I did the bitmap families for my graphic buttons, I of course have one family for
the normal appearance of the button and one for the selected appearance when you
hold the stylus on it. For the normal bitmap family, I made a 2-color bitmap for
monochrome devices and a 256-color bitmap for
Subject: graphic button in 3.5
From: Mike Margerum [EMAIL PROTECTED]
Date: Wed, 12 Nov 2003 16:29:21 -0500
X-Message-Number: 54
I have a graphical button that i popup occasionally over top of other
controls. Its a mini keyboard. This works fine in 4.x-5.x devices but
on a palm IIIc if you click
Graphic buttons work well in 3.5, which was the version of the OS that
first supported them. But after 3.5, Palm changed the order that
objects are drawn to the screen, and your code probably makes an
assumption about the sequence that objects are drawn.
I never really thought about the
I dont think the frmDrawForm is going to solve my problem because i'm
not making the keyboard active during the frmOpen event. maybe i should
be?
What I am doing is during a fieldEnter, I am resetting the graphic
button's object bounds to put it next to the current field. I then call
The order in which controls are checked for taps is reversed from Palm OS
3.x to Palm OS 4.x -- the consequence is that you can't really rely on
overlapping controls to work correctly unless you explicitly check the
controls yourself.
what do you mean by check the controls yourself?
--
Why do you need overlapping controls anyway? At the very least, disable the
appropriate (overlapped) control.
Alan
well I thought it would be nice if they could click on one of the
partial controls. For instance if i am partially covering a pop
tirgger, it would be nice for them to be
At 11:05 AM 11/13/2003, Mike Margerum wrote:
The order in which controls are checked for taps is reversed from Palm OS
3.x to Palm OS 4.x -- the consequence is that you can't really rely on
overlapping controls to work correctly unless you explicitly check the
controls yourself.
what do you mean
thanks ben that worked. I just do a RctPtInRectangle check on a pendown
event instead of using the ctlSelect even for my keyboard and it works
great. I just return false if it isnt in the rectangle and all of my
other controls fire off properly. Even the control partially hidden by
the
I have a graphical button that i popup occasionally over top of other
controls. Its a mini keyboard. This works fine in 4.x-5.x devices but
on a palm IIIc if you click on the grahics button, it selects whatever
controls are under it. Are graphic buttons not supported in 3.5? What
is my
At 03:29 PM 11/12/2003, Mike Margerum wrote:
I have a graphical button that i popup occasionally over top of other
controls. Its a mini keyboard. This works fine in 4.x-5.x devices but on
a palm IIIc if you click on the grahics button, it selects whatever
controls are under it. Are graphic
Ben Combee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
At 03:29 PM 11/12/2003, Mike Margerum wrote:
I have a graphical button that i popup occasionally over top of other
controls. Its a mini keyboard. This works fine in 4.x-5.x devices but
on
a palm IIIc if you click on the
Pablo Martin Vera escreveu:
i´ve created a graphic button and I assigned it two 16 color bitmap images.
When I start the aplication I see the in black and white not in color.
Please tell me how to solve it.
You could start the color suport in your startup code. There's some examples
post.
Cheers !
-- J. Machado
-- [EMAIL PROTECTED]
Pablo Martin Vera escreveu:
i´ve created a graphic button and I assigned it two 16 color bitmap images.
When I start the aplication I see the in black and white not in color.
Please tell me how to solve it.
--
For information on using the Palm
You could start the color suport in your startup code. There's some examples
in the archives of this list (one very good from Aaron Ardiri, a simple loop
that sets the maximum color support, if I'm not wrong).
you mean this?
UInt32 depthsToTry[] = { 16, 8, 4, 2, 1 };
UInt32
Aaron Ardiri escreveu:
UInt32 depth = 16;
while (WinScreenMode(winScreenModeSet, NULL, NULL, depth, NULL)
depth = 1;
*g* many ways to skin a cat
Heheheh, surely ! I liked this second ... Better than the first one.. :)
This would only have trouble if you wanna extend the display to 24 bit
i´ve created a graphic button and I assigned it two 16 color bitmap images.
When I start the aplication I see the in black and white not in color.
Please tell me how to solve it.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev
At 12:59 AM 7/30/2003, Meg Walraed-Sullivan wrote:
I have a main form that calls a details form via FrmPopUpForm. When I
return to the main form from the details form, a graphic button from the
details form still shows, but on the main form. i've tried erase, setting
the useable feature, hiding
Are you setting anything on the popup form before the call to FrmDrawForm
in its handler?
Yes, I am - I'm filling a list because I thought I needed to load the list
items before the form was drawn so that users wouldn't see the form draw at
first and then arrange itself second. But I'm guessing
I have a main form that calls a details form via FrmPopUpForm. When I
return to the main form from the details form, a graphic button from the
details form still shows, but on the main form. i've tried erase, setting
the useable feature, hiding, etc, but for some reason nothing seems to work
:[EMAIL PROTECTED]
On Wed, Feb 26, 2003 at 03:07:54PM -0500, news.palmos.com wrote:
Has anyone found a fix or work around to the graphic button Selected
Bitmap
problem that exists with OS 3.5. Basically, if a graphic button is
used,
then the item appears as blank when selected. This can
Has anyone found a fix or work around to the graphic button Selected Bitmap
problem that exists with OS 3.5. Basically, if a graphic button is used,
then the item appears as blank when selected. This can be demonstrated with
either selecting the button with the pen or using CtlSetValue to set
On Wed, Feb 26, 2003 at 03:07:54PM -0500, news.palmos.com wrote:
Has anyone found a fix or work around to the graphic button Selected Bitmap
problem that exists with OS 3.5. Basically, if a graphic button is used,
then the item appears as blank when selected. This can be demonstrated
use a graphic button, what is Selected Bitmap ?
Is press bitmap graphic ? but I try it, it's can't show other graphic.
If I want made like button up and botton down, how do that?
thanks~
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
Hello~
I use a graphic button, what is Selected Bitmap ?
Is press bitmap graphic ? but I try it, it's can't show other graphic.
If I want made like button up and botton down, how do that?
thanks~
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
I have place a graphic button on the from in the constructor. And assigned a
valid bitmap resource ID to the button, it display very well in the
constructor. But after I complie and run it, the graphic button disappear.
Why it happen and how can I solve it?
Thanks
Oscar
--
For information
Is it possible that you accidently clicked the Enable checkbox for the
bitmap to false on the form?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Oscar
Sent: Sunday, January 28, 2001 1:15 PM
To: Palm Developer Forum
Subject: Graphic Button Problem
I
Forum
Subject: Re: Bitmap not displaying on Graphic Button
I encountered the same problem (ie. bitmap doesn't appear)
when I ran the
mail app sample on PalmV wih OS 3.1. However, when I ran it on
Palm3c with
OS 3.5, it works ! Is this another OS 3.1 bug ?
H Lee
I'm getting the Euro symbol
In my case, I don't currently worry about color, since I'm doing
this stuff for the Symbol SPT series units, so I've been just
dropping the bitmap on top of a button. Must be something with
the bitmap families...like the occasional garbling of text on
buttons, etc. I don't think
At 12:00am -0700 00-08-04, Palm Developer Forum digest wrote:
Subject: Bitmap not displaying on Graphic Button
From: "Timothy Astle" [EMAIL PROTECTED]
Date: Thu, 3 Aug 2000 17:00:13 -0300
X-Message-Number: 69
I'm getting the Euro symbol displaying on my button instead of the graphic
I
I'm getting the Euro symbol displaying on my button instead of the graphic
I've set up. I see the graphic in constructor, but not when I run the app.
Don't get me wrong, I have nothing against the Euro... I just don't want it
on my graphic button :-)
+
Timothy D. Astle
Embedded
wn special tips FORM to accompany that
button).
-Rus
-Original Message-
From: Timothy Astle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 03, 2000 1:00 PM
To: Palm Developer Forum
Subject: Bitmap not displaying on Graphic Button
I'm getting the Euro symbol displaying on my butt
Yeah, I did the same thing you did. I had to build a series of custom tips
forms.
Hierarchical problem? hmmm, I don't think that would be it. I took your i
bitmap and put it into constructor. Then I made a graphic button, and
inserted the resource ID into the Bitmap Resource property. It's
...
-Rus
-Original Message-
From: Timothy Astle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 03, 2000 1:15 PM
To: Palm Developer Forum
Subject: Re: Bitmap not displaying on Graphic Button
Yeah, I did the same thing you did. I had to build a series
of custom tips
forms.
Hierarchical
:
I think the graphic button only works in OS3.5 so it won't work with OS2
through OS3.3
Right. Graphic buttons are not just color, but they do require OS 3.5 (or
later) to work properly. On earlier releases, you'll see garbage
characters in the button, or you'll just crash
I want a graphic button on a form. I want it to be black (that is, 1-bit
color).
I put the graphic button on the form, and for bitmap resource, I put in a
number an choose Create. It creates a bitmap family, rather than a bitmap,
but I go along with that. I set things up so that the bitmap
I think the graphic button only works in OS3.5 so it won't work with OS2
through OS3.3
-Original Message-
From: Al Macy [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Thursday, March 23, 2000 2:51 PM
Subject: ?Graphic Button Problem
I want a graphic button on a form
At 8:57 PM +0100 23-03-00, Dave Lippincott wrote:
I think the graphic button only works in OS3.5 so it won't work with OS2
through OS3.3
Right. Graphic buttons are not just color, but they do require OS 3.5 (or
later) to work properly. On earlier releases, you'll see garbage
characters
68 matches
Mail list logo