Re: Strange issue

2003-08-14 Thread Engi
In news [EMAIL PROTECTED],
José dos Santos Machado <[EMAIL PROTECTED]> wrote:

> Engi escreveu:
>> Hi,
>> If you go to http://aquapalm.free.fr , you could see my problem.
>> When my records don't have any note, all is fine.
>> But if I add a note, all the characters which are drawed after the
>> note indicator are weird.
>
>
> Hello Engi,
>
> Ahm, let's see: Could you provide more information on this issue ?
> Like: This program you're developing ? Are you using a Table, a List,
> a Gadget ?

My program uses a table which is divided in 3 columns : date, operator and
value.
All the columns have customTableItem style.

> Have you tried to debug you APP and found something strange ?

Yes, I have and nothing strange.

> And... Aren't you forgeting any pointer lost on your program ?

Perhaps, but I don't see anything ...


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Strange issue

2003-08-14 Thread Engi
On Thursday, August 07, 2003 1:48 AM [GMT+1=CET],
Alan Ingleby <[EMAIL PROTECTED]> wrote:

> "Engi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>> When my records don't have any note, all is fine.
>> But if I add a note, all the characters which are drawed after the
>> note indicator are weird.
>
> How are you drawing the note icon?

In fact, my value column have textTableItem style when there is no note and
textWithNoteTableItem style when there is a note.
In this case, the note indicator is shown by the system.

>  It seems to me that you night be setting the font to a weird value?
>
> Try wrapping all your plain text custom drawing in this:
>
> // Before drawing text...
> FontID oldFont = FntSetFont(stdFont);
>
> ///Normal text drawing code here...
>
> // After drawing text...
> FntSetFont(oldFont);
>
> Let me know how this goes.

Unfortunately, I never change the font in my sources !


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Strange issue

2003-08-12 Thread Engi
On Thursday, August 07, 2003 8:28 AM [GMT+1=CET],
Engi <[EMAIL PROTECTED]> wrote:

> On Thursday, August 07, 2003 1:48 AM [GMT+1=CET],
> Alan Ingleby <[EMAIL PROTECTED]> wrote:
> 
>> "Engi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>>> When my records don't have any note, all is fine.
>>> But if I add a note, all the characters which are drawed after the
>>> note indicator are weird.
>> 
>> How are you drawing the note icon?
> 
> In fact, my value column have textTableItem style when there is no
> note and textWithNoteTableItem style when there is a note.

> In this case, the note indicator is shown by the system.

It was my problem : system changes font to draw note indicator.
I just added FntSetFont(stdFont) and bug disappear 

Thanks to Alan who put me on this direction ...<>-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Strange issue

2003-08-11 Thread José dos Santos Machado
Engi escreveu:
Hi,
If you go to http://aquapalm.free.fr , you could see my problem.
When my records don't have any note, all is fine.
But if I add a note, all the characters which are drawed after the note
indicator are weird.


Hello Engi, 

Ahm, let's see: Could you provide more information on this issue ? Like: 
This program you're developing ? Are you using a Table, a List, a Gadget ? 

Have you tried to debug you APP and found something strange ? 

Please, give us a little bit more info. 

And... Aren't you forgeting any pointer lost on your program ? :) 

-- J. Machado
-- [EMAIL PROTECTED] 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Strange issue

2003-08-08 Thread Alan Ingleby
"Engi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> In fact, my value column have textTableItem style when there is no note
and
> textWithNoteTableItem style when there is a note.
> In this case, the note indicator is shown by the system.
> Unfortunately, I never change the font in my sources !

Oh.  Buggered if I know then... Good luck sucker!!! *grin* :-)

Alan



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Strange issue

2003-08-07 Thread Alan Ingleby
"Engi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> When my records don't have any note, all is fine.
> But if I add a note, all the characters which are drawed after the note
> indicator are weird.

How are you drawing the note icon?  It seems to me that you night be setting
the font to a weird value?

Try wrapping all your plain text custom drawing in this:

// Before drawing text...
FontID oldFont = FntSetFont(stdFont);

///Normal text drawing code here...

// After drawing text...
FntSetFont(oldFont);

Let me know how this goes.

Alan



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Strange issue

2003-08-06 Thread Engi
Hi,

If you go to http://aquapalm.free.fr , you could see my problem.

When my records don't have any note, all is fine.
But if I add a note, all the characters which are drawed after the note
indicator are weird.

Thanks for help and sorry for my bad english,
Engi


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/