aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1056

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1056  BUG?: MENU command

14/01/2005 @ 16:16
by Montalvo

Anonymous



There seems to be a problem with the MENU command. I created a new menu resource in BIRD with ID 101. It defines ID 60 for menuitem 1, and ID 69 for menuitem 2. Then I tried the following code:


'solomenus.ibas
{CreatorID "mCo3"}
{resourcefile "menu-2"}

Begin
menu 101
repeat
a=doevents
if a=1001 then
n=menuitem
select case n
case 60
'clear
x=messagebox("clear",1)
case 69
'bye
a=-1
end select
endif
until a<0
End


If I open the menu with the silkscreen button the menus works fine, but if I open the menu touching the TITLE of application, then the menu opens but cannot be closed, no menuitem can be selected and a small white point appears around coordinate 3,3.

Can someone replicate this?
Write to Montalvo   Post an answer  Top

[]   


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
14/01/2005 @ 16:21
by aldweb

Anonymous

visitor
Hello Montalvo,

There was a bug in version 4.0. I just posted today version 4.1 which you should have received that solves this bug.

Cheers

@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
14/01/2005 @ 18:31
by Montalvo

Anonymous

visitor
I forgot to mention that this was compiled with version 4.1, that I receive this morning (thanks!).

Write to Montalvo   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
14/01/2005 @ 19:18
by aldweb

Anonymous

visitor
And, indeed, if I had read carefully, I would have answered that this appears to be a complete other bug!

Could you remind me your device model?
As you can imagine, I tested it in my Tungsten C since it is my development device, in POSE with various old ROMs (from 3.0 to 4.1) and in PalmSimulator 5.

But, some devices or OS models react differently on very sharp API calls... this was the case for the penDownEvent not so long ago!

So, better know and then try to figure out where to do a chirurgical operation on iziBasic's source code

Cheers

@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4
--------
14/01/2005 @ 19:46
by Montalvo

Anonymous

visitor
Well, I tested it on:

* Zire 31 (PalmOS 5.2.8)
* Tungsten T (PalmOS 5.0)
* PalmOS Simulator 5.1.0.28
* m515 (PalmOS 4.1)
* AlphaSmart Dana Wireless (PalmOS 4.1.2)

On this last one two models, the application cannot open the menu, and it reports a:

Fatal Alert
MemoryMgr.c, Line:4450
NilPtr
[Reset]

Hope this info helps.
Write to Montalvo   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5
--------
14/01/2005 @ 21:52
by Mike

Anonymous

visitor
And I see it on

* Tungsten T5 (5.4.5)
* Tungsten T3 (5.2.1)

I've only actually compiled it on the T5 however then beamed it to the other device.
Write to Mike   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 6
--------
14/01/2005 @ 22:13
by aldweb

Anonymous

visitor
No crash in Palm Simulator 5 but, indeed, not what is expected.
And I am very sure it did work well in the past... so I'll have to reverse engineer my own stuff!

Thanks for reporting my friends.

Cheers

@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 7
--------
16/01/2005 @ 11:11
by Khertan

Anonymous

visitor
Aldweb, do you remember the screenshoot of KalcObs ... where the menu which is open from the application title freeze with a grey rect.

In 4.0 and 4.1, i ve exactly the same things... i'm sorry i can t test actually on simulator too ... while palmsource make a macos compliant simulator. ...

Do you want i send you again mine source code ?
Write to Khertan   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 8
--------
18/01/2005 @ 20:54
by aldweb

Anonymous

visitor
Good news, I have solved this bug.

Just a question of removing some unecessary code from iziBasic!

I will release an upgrade (version 4.2) within a few days. Stay tuned my friends.

Cheers

@+
aldweb
Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^