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° 1463 |
ViziBasic Improvements |
le 08/10/2006 @ 23:42 par Garfield
|
Hi
There isn't a ViziBasic Forum, so I hope it's OK to post this here.
I've been writing a program with ViziBasic (which is an excellent utility) and discovered a few items that would improve it if possible.
The first is the obvious one of being able to drag the objects around the screen, but I know that Aldweb is already working on that one. I hope this includes the ability to click on non-clickable objects such as labels and graphics items rather than having to drag a box completely around them. I find this a nuisance when that item is surrounded by buttons which prevent me from being able to start my drag. It would also be good to be able to select an object from a list without it having to be off screen first.
The main improvement I would ask for is the ability to add code within the WAITEVENT loop. Programs do not always rely on an object being clicked on and extra code is often required. The ability to add this code within ViziBasic would be very useful. It should also be possible to add the code before or after the code that handles the objects, or both.
Following on it would then also be useful to have an option to choose whether to use a DOEVENTS or a WAITEVENT loop depending on whether that extra code needs to be constantly accessed.
Not so importantly, there will be some objects that will not have any On Event Code associated to them. Rather than have ViziBasic create a subroutine for ALL objects, can't ViziBasic simply leave out the subroutine altogether if there is no On Event Code? It makes the source code less cluttered and easier to read/manipulate/deal with.
It is common on the Palm to see a number increased or decreased using small up and down arrows beside it. These arrows are CHRs 1 & 2 in the Symbol 7 font. The only way this can be done is by either having a button with no border, or by allowing labels to be clickable. Can we have one of these options in (V)iziBasic?
Finally, if we want to use the characters in the Symbol, Symbol 11 or Symbol 7 fonts we can't do it (I can't see how to select CHR$ 1 or 2) in ViziBasic. Would it be possible to add some method of adding these characters to the label of an object? Perhaps adding a dropdown list if one of these fonts is chosen?
I hope these items can be considered. They would certainly add to ViziBasic's usefulness and would go some way towards not having to edit the source code before compiling (which would be great!).
Thanks.
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 09/10/2006 @ 23:39 par aldweb
visiteur |
Hello Garfield,
Yes, of course this forum is the right one for iziBasic and everything related like ViziBasic, so this is the right forum for (V)iziBasic
The first is the obvious one of being able to drag the objects around the screen, but I know that Aldweb is already working on that one.
Yes, I know...
I hope this includes the ability to click on non-clickable objects such as labels and graphics items rather than having to drag a box completely around them. I find this a nuisance when that item is surrounded by buttons which prevent me from being able to start my drag.
Good idea, I will think about it.
It would also be good to be able to select an object from a list without it having to be off screen first.
I have been thinking about it, and it would even have been much easier to work this way not having to check for the limits of the different objects. I thought it was easier and more user friendly to have a list of items limited to those offscreen...
The main improvement I would ask for is the ability to add code within the WAITEVENT loop. (...) if there is no On Event Code? It makes the source code less cluttered and easier to read/manipulate/deal with.
Your remarks and suggestions are very good for someone wanting to develop everything within ViziBasic only, making it a real and full visual development tool. I developed ViziBasic having another objective in mind: "just" to make a quick GUI designer and a source code skeleton for further coding within a DOC editor. I would have to reconsider spending a huge time to enhance ViziBasic this way, so I will postpone this evolution to later on...
It is common on the Palm to see a number increased or decreased using small up and down arrows beside it. These arrows are CHRs 1 & 2 in the Symbol 7 font. The only way this can be done is by either having a button with no border, or by allowing labels to be clickable. Can we have one of these options in (V)iziBasic?
Labels cannot be clickable, this is a Palm OS limitation. But you can easily detect where a pendown event occurs and if it is in an invisible square around your arrow, you may then simulate a resulting click on this arrow.
Buttons with no border are something I should try to implement in a further version of iziBasic/ViziBasic. Currently to use these kinds of buttons, you need to design them in a specific form using a resource editor like Bird and linking this form with iziBasic (OPENFORM / CLOSEFORM).
Finally, if we want to use the characters in the Symbol, Symbol 11 or Symbol 7 fonts we can't do it (I can't see how to select CHR$ 1 or 2) in ViziBasic. Would it be possible to add some method of adding these characters to the label of an object? Perhaps adding a dropdown list if one of these fonts is chosen?
For this, I use a third party DA without any trouble. I do not have my device with me (I forgot it at work this evening!) and got so much used to use it that I do not even remember the DA's name. I'll give you the information as soon as I get my device back next to me.
Cheers,
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 11/10/2006 @ 12:17 par Garfield
visiteur |
Hi Aldweb
Thanks for your input.
I would appreciate info on that DA you mentioned you have. Can you let me have details?
Thanks. |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 11/10/2006 @ 13:36 par aldweb
visiteur |
Hello Garfield,
A further search on this forum helped me remembering that the topic was already addressed some time ago. So, please read topic #1041.
Cheers
|
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|
|
|
|
|