Re: Displaying a colored graphic button

2008-11-15 Thread Luc Le Blanc
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

Re: Displaying a colored graphic button

2008-11-14 Thread Luc Le Blanc
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

Re: Displaying a colored graphic button

2008-11-14 Thread Michal Seliga
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 =

Re: Displaying a colored graphic button

2008-11-14 Thread Luc Le Blanc
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

Re: Displaying a colored graphic button

2008-11-14 Thread Michal Seliga
, 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

RE: Displaying a colored graphic button

2008-11-13 Thread Tam Hanna
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

RE: Displaying a colored graphic button

2008-11-13 Thread Philip Sheard
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/

Re: Displaying a colored graphic button

2008-11-13 Thread Michal Seliga
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

Re: Displaying a colored graphic button

2008-11-13 Thread Luc Le Blanc
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

Re: Displaying a colored graphic button

2008-11-13 Thread Michal Seliga
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

Re: Displaying a colored graphic button

2008-11-13 Thread Luc Le Blanc
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

Displaying a colored graphic button

2008-11-12 Thread Luc Le Blanc
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

Re: Bitmap not displaying on Graphic Button

2008-05-29 Thread Timothy Astle
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

Re: Bitmap not displaying on Graphic Button

2008-05-29 Thread Timothy Astle
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

Bitmap not displaying on Graphic Button

2008-05-29 Thread Timothy Astle
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

re: Graphic button question

2007-08-17 Thread stuffandstuffandstuffus
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/

Graphic button question

2007-08-16 Thread stuffandstuffandstuffus
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

Re: Graphic button question

2007-08-16 Thread Borszczuk
[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

re: Graphic button question

2007-08-16 Thread Ganesh Pisal
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

RE: Bitmap on graphic button

2006-09-26 Thread John Sutton
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

Re: Bitmap on graphic button

2006-09-19 Thread RaNo
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. --

Re: Bitmap on graphic button

2006-09-19 Thread Durgesh Trivedi
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

RE: Bitmap on graphic button

2006-09-14 Thread Durgesh Trivedi
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

RE: Bitmap on graphic button

2006-09-14 Thread John Sutton
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

RE: Bitmap on graphic button

2006-09-14 Thread Durgesh Trivedi
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,

Re: Bitmap on graphic button

2006-09-14 Thread RaNo
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

Re: Bitmap on graphic button

2006-09-14 Thread Durgesh Trivedi
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

Bitmap on graphic button

2006-09-13 Thread Durgesh Trivedi
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

RE: Bitmap on graphic button

2006-09-13 Thread John Sutton
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

bitmap resource for graphic button not found

2006-01-22 Thread Jürgen Schönke
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

Re: bitmap resource for graphic button not found

2006-01-22 Thread Jay Ts
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

Graphic Button Select Bitmap

2003-11-20 Thread Gordon, Douglas
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

RE: graphic button in 3.5

2003-11-13 Thread Roger Stringer
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

Re: graphic button in 3.5

2003-11-13 Thread Mike Margerum
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

Re: graphic button in 3.5

2003-11-13 Thread Mike Margerum
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

Re: graphic button in 3.5

2003-11-13 Thread Mike Margerum
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? --

Re: graphic button in 3.5

2003-11-13 Thread Mike Margerum
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

Re: graphic button in 3.5

2003-11-13 Thread Ben Combee
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

Re: graphic button in 3.5

2003-11-13 Thread Mike Margerum
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

graphic button in 3.5

2003-11-12 Thread Mike Margerum
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

Re: graphic button in 3.5

2003-11-12 Thread Ben Combee
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

Re: graphic button in 3.5

2003-11-12 Thread Alan Ingleby
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

Re: graphic button

2003-08-14 Thread José dos Santos Machado
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

Re: graphic button

2003-08-14 Thread José dos Santos Machado
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

Re: graphic button

2003-08-14 Thread Aaron Ardiri
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

Re: graphic button

2003-08-09 Thread José dos Santos Machado
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

graphic button

2003-08-09 Thread Pablo Martin Vera
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

Re: graphic button wont delete

2003-07-30 Thread Ben Combee
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

Re: graphic button wont delete

2003-07-30 Thread Meg Walraed-Sullivan
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

graphic button wont delete

2003-07-29 Thread Meg Walraed-Sullivan
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

Re: Graphic Button Bitmap Problem in OS 3.5

2003-02-27 Thread Dave Lane
:[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

Graphic Button Bitmap Problem in OS 3.5

2003-02-26 Thread news.palmos.com
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

Re: Graphic Button Bitmap Problem in OS 3.5

2003-02-26 Thread Adam McDaniel
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

Re: graphic button

2001-05-18 Thread Jamie Macleod
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

graphic button

2001-05-17 Thread I am johnny~
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

Graphic Button Problem

2001-01-28 Thread Oscar
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

RE: Graphic Button Problem

2001-01-28 Thread Mike Walters
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

RE: Bitmap not displaying on Graphic Button

2000-08-07 Thread Nesse, Rustin
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

Re: Bitmap not displaying on Graphic Button

2000-08-04 Thread Timothy Astle
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

Re: Bitmap not displaying on Graphic Button

2000-08-04 Thread Ken Krugler
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

Bitmap not displaying on Graphic Button

2000-08-03 Thread Timothy Astle
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

RE: Bitmap not displaying on Graphic Button

2000-08-03 Thread Nesse, Rustin
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

Re: Bitmap not displaying on Graphic Button

2000-08-03 Thread Timothy Astle
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

RE: Bitmap not displaying on Graphic Button

2000-08-03 Thread Nesse, Rustin
... -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

Re: ?Graphic Button Problem

2000-03-24 Thread Al Macy
: 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

?Graphic Button Problem

2000-03-23 Thread Al Macy
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

Re: ?Graphic Button Problem

2000-03-23 Thread Dave Lippincott
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

Re: ?Graphic Button Problem

2000-03-23 Thread Bob Ebert
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