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

   visitor online

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

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1152  SUGESTION: ImageButton frame parameter

08/03/2005 @ 02:07
by Montal

Anonymous



Is there a way to include a parameter in the IMAGEBUTTON statement to optional draw the frame of the button?

I mean, as it is now, it always draw the frame. Without it, you can create your custom buttons.
Write to Montal   Post an answer  Top

[]   

StartPrevious [ 1 2 ] NextEnd

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
08/03/2005 @ 07:30
by Leonard Zajaczkowski

Anonymous

visitor
I was thinking the same thing, a little while ago, then I created my own code to track images on screen, a la dice'em. However, if you added a parameter (0/1) to imagebutton, that would be great.
Write to Leonard Zajaczkowski   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
--------
08/03/2005 @ 10:26
by Khertan

Anonymous

visitor
Hum i was thinking for the same things yesterday :)
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° 3
--------
08/03/2005 @ 20:58
by aldweb

Anonymous

visitor
OK, if you are many to think the same thing... I will start to think about it too!

Meanwhile, I will provide you with my prefered easy answer... give a try to a "PP applet"...

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
--------
09/03/2005 @ 00:54
by Leonard Zajaczkowski

Anonymous

visitor
If I could program in pascal and use the api calls, I don't think I would be using izibasic.

Well, maybe to make fast fixes, oh who am I kidding, I'd still use izibasic.

Just thought I'd give you an answer to your answer.
Write to Leonard Zajaczkowski   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
--------
09/03/2005 @ 03:06
by Montalvo

Anonymous

visitor
Hi!

Well I found an easy way to deal with custom buttons using BIRD and the new OPENFORM command.

In BIRD:
1. Create a bitmap for your button. Take note of the dimensions and the ID (you will need it later). For this example, I created a 32x22 px / Depth:2 / ID:300

2. Create a new form. I use a new form with:
- width=160 / Height=160
- ID=101 / Usable

3. Into the form, create a new GRAPHIC CONTROL with the following specs:
- ID=80 / BitmapID=300
- top=30 / left=30
- width=32 / height=22
- Style=Button / Frame=NoFrame
- Enabled / Usable

4. Save your resource file. For this example, I will call it: "Perio-rsc" (Remeber to use Creator=pRES / Type=RESO)

In iziBasic:
5. Let's code the program:

'Perio.ibas
{creatorID "mCo8"}
{resourcefile "Perio-rsc"}

Begin
' Open the form created in BIRD
openform 101
repeat
x=doevents
'Did we press the graphic button?
'The graphic control in form has
'ID=80
if x=80 then
'Display a message
m$­­="Bingo!"
m=messagebox(m$­­,0)
endif
until x=-1
End


6. That's all! Easy, don't you think?

Greetings from Mexico!

Montal-vo

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° 6
--------
09/03/2005 @ 08:47
by apdi2003

Anonymous

visitor
Un grand merci à Montalvo pour cette première explication de l'utilisation des nouvelles instructions comme Openform. Je crois que c'est la source future de la puissance des applications iziBasic, tout en gardant la facilité de la syntaxe haut niveau du langage iziBasic. *

Quel dommage qu'il faille tellement tatonner pour utiliser Bird et tous les objets qu'il manipule. Existe-t'il un ouvrage (en français si possible) qui décrive les objets de PalmOs ?

Merci d'avance. Apdi2003
  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
--------
09/03/2005 @ 10:45
by Khertan

Anonymous

visitor
For some obvious reason i can t use OPENFORM command, it crash randomly on my T5 on some simple form ...

i make an updatefield on a textfield in the form ... and boum ... Fatal Exception ...

So i create all GUI with iziBasic and ever use OPENFORM ...

So when you make your form ... it s override your all other GUI ... so for me ... it s not the solution ...
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
--------
09/03/2005 @ 12:13
by Mike

Anonymous

visitor
I suspect that this is more a problem with your form design than with iziBasic on the T5 - I have no problems with mine.

One thing I leaned (from aldweb) is that a textfield on a form needs to be initialised with astring of the maximum length that you wish to use with it i.e. Bird (or whatever you use to define the form) needs to set up an initialisatoion string of the correct length.

Are you doing this?
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° 9
--------
09/03/2005 @ 13:29
by Khertan

Anonymous

visitor
No i don t do this ...

But ... i ll try ... thanks for the info ...
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° 10
--------
09/03/2005 @ 19:38
by aldweb

Anonymous

visitor
Complaints about this issue and the solving trick that Mike explained very well... are to be sent to PalmSource!

This kind of issue might also be true for other objects like LABEL if I remember well...

Cheers,
aldweb
Write to aldweb   Post an answer  Top
StartPrevious [ 1 2 ] NextEnd
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 ^