aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°975

Forum - Forum
iziBasic - iziBasic


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

actif  Sujet n° 975  TEXTSELECTOR

le 27/10/2004 @ 21:58
par gmigueis

Anonyme



Hi! Have been away for some time...
Can someone tell me how to use the text parameter with the TEXTSELECTOR instruction? I've tried using the kind-of-"P" character with no results...

Thanks!
Ecrire à gmigueis   Poster une réponse  Haut

[]   


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1
--------
le 27/10/2004 @ 23:32
par aldweb

Anonyme

visiteur
Hello,

I am happy to read you back

There is an example of the use of TEXTSELECTOR in the iAddress sample program.

Here is a very quick example too:

' Test.ibas
{CREATORID "Test"}

BEGIN
A$­­="Choose:"+CHR$­­(10)+"1. Hello"+CHR$­­(10)+"2. Bye"
TEXTSELECTOR #1,"Hello",50,30,30,14
REPEAT
E=WAITEVENT
IF E=1 THEN
A=MESSAGEBOX(A$­­,4)
IF A=1 THEN
UPDATETEXT #1,"Hello"
ELSE
UPDATETEXT #1,"Bye"
ENDIF
ENDIF
UNTIL E=-1
END


Cheers,


@+
aldweb
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2
--------
le 28/10/2004 @ 01:22
par gmigueis

Anonyme

visiteur
Thanks! I thought that TEXTSELECTOR was that kind of RadioSelector, but with text!
Still, it's pretty painless to simulate that (RadioText) and with the advantage of allowing multiple selections if desired! -> becomes a ToDo for iziForms: generate code for that!
Ecrire à gmigueis   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3
--------
le 28/10/2004 @ 20:20
par aldweb

Anonyme

visiteur
And I guess that you will have to wait for version 4 of iziBasic to be able to save your source code to the memo pad or to a Doc file.

I guess that iziForms will save its data to the A$­­() array variable. Am I right?

Currently PRINT #,1,A$­­ is limited to 63 characters which is the length of a string.
But I plan to add one "mega string" of up to 4KB characters (the size of a memo) in version 4.
Then PRINT #1,A$­­$­­ (I don't know if I will name it this way) will save one record of up to 4KB characters

Cheers,

@+
aldweb
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4
--------
le 29/10/2004 @ 16:04
par gmigueis

Anonyme

visiteur
My plans are to use PP's PIAF code for two procedures only : ReadDoc and WriteDoc (well, maybe OpenDoc, WriteLineDoc, etc. not important really)! Of course I would be happier if everything could be done with iziBasic, but when version 4 is out and if iziForms already has a public version then I'll change it, of course!
I'm not planning storing strings with code in the array! In fact, I'm using databases (like ibAddress) to store info about the controls created - then, when the "generate" button is pressed it translates the database records (control type, x, y, text, etc...) into code! This way it's easier and clearer to modify controls and stuff before code generation, I think!

Now the version 4 improvements seem good!
Also, how do you create a simple "sketch" program with iziBasic? I've tried a DOEVENTS loop, but it seems to hang until the pen is not down... I'll try other ways though as I've not experimented enough anyway...

Many thanks,
Ecrire à gmigueis   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 5
--------
le 29/10/2004 @ 21:40
par aldweb

Anonyme

visiteur
Well, my friend, your idea is EXCELLENT

I did not even think about it... when I designed this CALLPP$­­() function on purpose for this kind of uses!

Your database use is also a very good one

I think that you now know how to use iziBasic better than me, this is great

Cheers

@+
aldweb
Ecrire à aldweb   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^