Spécial ! |
Version mobile de l'aldweb Site m.aldweb.com Ni Français, ni Anglais ?Essayez donc l'un de ces drapeaux :
|
|
Météo / Spam / www |
Météo Lyon
aldweb contre le SPAM
|
|
|
|
|
|
|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1407 |
How creatin a tSTR ressource file? Créer un fichier tSTR ressource? |
le 15/05/2006 @ 01:03 par Luc
|
J'aimerai afficher une ADVICEBOX. Il faut donc que je rentre mon texte à afficher sur cette ADVICEBOX dans un fichier ressource tSTR. Mais comment éditer ce text? Comment créer un fichier tSTR? Quelle est la syntax pour un fichier tSTR?
Merci. J'espere que quelqu'un pourra me répondre Luc
I d like to display an ADVICEBOX. So the text of this ADVICEBOX must be in a tSTR ressource file. But How creating a tSTR ressource file? Which is the syntax for this type o file?
thank's Luc |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 15/05/2006 @ 04:24 par bh77a
visiteur |
Hi Luc,
You will need to create a resource file with BIRD and include it in your program using the compiling directive: {RESOURCEFILE "resourcefilename.rsrc"}.
Make sure that the tSTR resource is numbered 100 through 999 (if memory serves). Then you supply this number in the ADVICEBOX statement as an argument.
BIRD (if not already familiar with) can be found here: http://www.ppcompiler.org/?lng=en
Hope this helps.
Regards, bh77a
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 15/05/2006 @ 07:21 par luc
visiteur |
Thank's bh77a. I already knew how to create a ressource file with BIRD and include with the directive {RESOURCEFILE..}. The problem was that I didn't knox how to edit the tSTTR file. Fortunately I have found today: I must pop with the pen SEVERAL time (more than 2 time like a normal double click) on the ressource.tSTR in BIRD. It is a little bit odd...
By the way thank's for your answer. good bye, regards Luc |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 15/05/2006 @ 16:27 par Ktimaster
visiteur |
It Took me some time to get used to the double clicking, You can use RsrcEdit but it does not offer most of the Features the BIRD Does, However there is No Double Clicking |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4 -------- le 15/05/2006 @ 19:28 par aldweb
visiteur |
tSTR resources, just like any other resource, can also be designed "by hand", meaning coding all single bytes (try hex editing a resource with BIRD to get an idea of what it means to do it this way), this is a lot of brain work and time spending, with lots of bad words while testing... just for the fun of it (yeah, some people are really crazy )
The next version of iziBasic will provide an example of how to design a very simple Tbmp this way (well, a basic tiny square in black&white will be enough to discourage anyone! ).
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 5 -------- le 16/05/2006 @ 00:38 par Ktimaster
visiteur |
Yeh I know the pain, I am still playing arround with that one, I am happy to see that the Next Version of iziBasic will include some more advanced Database Functions. Even though it takes Months to Play with HEX Codes. It is Fun though |
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|
|
|
|
|