Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / Blue v2 - Windows Controls & Menus Plugin for DarkBASIC Professional

Author
Message
Lampton Worm
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 26th Nov 2004 04:34
...hi, is it possible to get the name (read:text!) of a gadget within DBP? Menu constants are nicely defined by the DBA export, but Gadget[1-12] isn't as readable. Could change Rainbow to write out global names based on the text field but I thought I'd ask first

Cheers!
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 26th Nov 2004 05:16
You can change the name of a gadget in rainbow so that it is more readable than Gadget[No] ... is that what you are asking?

Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 26th Nov 2004 05:19
Am I trying to acheive the impossible?

I am working on a project but have come to a sticking point because I can't work out which, if any, gadgets will do what I want.

I will explain what I am trying to do and maybe someone could tell me firstly, if it is possible and secondly, how best to acheive it.

OK here goes:
I have a song list for a karaoke book, there are 25,000 songs in it but many are duplicates that I want to delete before printing the book.
I have succesfully made a list of all duplicates and got DBPto delete them. The problem arises with the near misses - songs that may be duplicates but need a user response to confirm it.
Whilst it was tricky to formulate the near misses list, I have successfully written a routine that works. The problem arises when it comes to getting a user response.

I need to show a list of songs that are 'near misses' and allow the user to select which ones to delete and that is what I am struggling with.

I have bodged two ideas together in photoshop to give an idea of what I want to do but I don't know how to do it with BlueGUI.



In the image on the left I thought maybe checkboxes but can you put checkboxes into a scrollable window/panel?

The option on the right highlights the text that it is be deleted but again, how would I do that in BlueGUI?

Can anyone please help me with either of these options or perhaps offer an alternative that I haven't thought of?

Thank you

1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 26th Nov 2004 07:44 Edited at: 26th Nov 2004 07:45
I don't think all of what you are asking is possible with BlueGUI v2. Some of it may be accomplished but I am not sure about the rest.

Tell me if I am wrong:
You want a program that will list all of you music files, this list will be listed in a listbox, but the listbox will have checkboxes with them (as a way of selecting them). Then when you press delete only the selected files will be listed and the program will ask for comfirmation of the file deletions. Is this correct?


I know these features are available to VS.NET programmers but these commands aren't availbe yet for blueGUIv2, but that is if I understood you correctly.


Click the sig
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 26th Nov 2004 13:27
Yes, that is about it.

It wouldn't be all of the music files that were listed just the ones that are duplicates, of which there are several hundred.

You say some of what I want to do is possible ... which part would that be?

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 27th Nov 2004 03:16 Edited at: 27th Nov 2004 04:15
There are various ways in which this could be done at the moment.

The first would be to create a set of labels and checkboxes which move when a scrollbar is adjusted.

Another option would be to do something using canvas gadgets.

I'll play around and see what I can come up with.

Edit: Here is something basic to play around with, using the idea from your first option.



I recommend your first option because it more closely resembles other programs.

Currently the scrollbar only updates the position when you release it - I'll look into modifying the plugin so that it constantly updates.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 28th Nov 2004 02:20
Thanks Rob - I've only just seen your reply.

I am going out shortly, so it will have to wait until tomorrow before I can try it out but I really appreciate the time you have put into it.

Thanks a lot!

pizzaman
20
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Gateshead, UK
Posted: 28th Nov 2004 03:24
@ Rob
Thanks for the reply about the upDown gadgets, I've got a work around for it atm; so don't worry about it.
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 29th Nov 2004 12:30
pre-purchase question:

is it possible to use blue gui 2 in a game (not for an editor),
without having the whole screen look like a window?

what i mean is, look at the top of the screen now.
when games run, you don't see the window they're in,
you don't see "The game creators - forum - thread view - etc "
and you don't see the minimize/maximize/close buttons either.

can i use blue gui without these things being visible?

thanks,
bob

Rpg Cyco
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Australia
Posted: 29th Nov 2004 19:01 Edited at: 30th Nov 2004 05:59
Nope, it does not run in fullscreen exclusive mode.

Edit: Correction.

- Rpg Cyco

pizzaman
20
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Gateshead, UK
Posted: 29th Nov 2004 20:40 Edited at: 29th Nov 2004 20:41
Yes - you could have a window with no borders, no min, max, or close buttons and no titlebar; but please correct me if I'm wrong
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 30th Nov 2004 02:55 Edited at: 30th Nov 2004 02:56
@IBOL

Yes - but you have to pick the "correct" display mode, there are two display modes which do not show the title bar of the window.

- Windowed Fullscreen: BlueGUI works with this mode - it is the default display mode if you are compiling with the original editor. Here there is actually a window, but DarkBASIC fills the entire screen with it and turns off the titlebar.

- Fullscreen Exclusive: BlueGUI does not work with this mode, which is mainly useful for better performance on old PCs.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 30th Nov 2004 07:39
man...
i just started using fullscreen exclusive, because
there's one big group of people who say 'no no never use set display mode, always use fullscreen exclusive', and i got better performance.

well, i am keen on seeing what i can do with blue gui.
it does work with 'set display mode' then?
a simple yes or no...you could even just edit your last post to include that bit.

thanks,
bob

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 1st Dec 2004 00:57
Yes - As long as your program is running in Windowed or Windowed Fullscreen mode.

"SET DISPLAY MODE" does different things depending on whether the program is running in Windowed or Fullscreen Exclusive mode.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 1st Dec 2004 05:47
thank you thank you thank you
my fiscal priority list:
pay rent - pay bills - pay for christmas presents - pay for software.
a long time ago i asked you if this would be ready in time for my
upcoming bigger-than-ever project, and it is. thank you.
will get it when i can.
bob

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 1st Dec 2004 23:53


An update will be released this weekend.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
darkdomy
21
Years of Service
User Offline
Joined: 6th Apr 2003
Location: Italy
Posted: 2nd Dec 2004 05:38
hello a upgrade that you can make and also to the rainbow you make it to become like visual basic, in that sense that I select a push-button, dubleclik and I insert to on the inside the code dark basic for, cosi truly becomes a editor visual. and even also with a run.
it transforms editor rainbow.exe in one the species of editor visual type visual basic.

hello thanks, I attend news more soon

italy

ciao un upgrade che puoi fare e anche al rainbow lo fai diventare come visual basic, in che senso che seleziono un pulsante, clicco due volte e inserisco al sui interno il codice dark basic pro , cosi diventa veramente un editor visuale. e magari anche con un run.

trasforma l' editor rainbow.exe in una specie di editor visuale tipo visual basic.


ciao grazie, attendo notizie a più presto

Anxiously awaiting BlueGUI v2

it informs to me when and ended BlueGUI v2
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 2nd Dec 2004 06:57
RobK, many people have requested stacked tabs, and I think I have found a way to do this. In Visual Studio .NET their is a parameter for a tab control called multiline, if you set this too true than you can have stacked tabs, if you set it to false you get tab controls like BlueGUI has presently. So maybe you could look into this feature, and maybe add the command settabtype or something like it.

Regards,
1tg46


Click the sig
darkdomy
21
Years of Service
User Offline
Joined: 6th Apr 2003
Location: Italy
Posted: 2nd Dec 2004 07:11
helo


plese add new command in blueguiv2

add command:

create getgaggetimage

help insert image in gui mode

only image

and help add image bmp . plese help

bluegui2 image button and add insert only image.
add plese the command.


hello, attend news

Anxiously awaiting BlueGUI v2

it informs to me when and ended BlueGUI v2
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 2nd Dec 2004 07:37
Quote: "hello a upgrade that you can make and also to the rainbow you make it to become like visual basic, in that sense that I select a push-button, dubleclik and I insert to on the inside the code dark basic for, cosi truly becomes a editor visual."


DarkDomy, Rainbow is a simple GUI layout editor, that is all it was ever intended to be.

I am afraid that I really could not understand your second post.

Quote: " RobK, many people have requested stacked tabs, "


Evil as I believe stacked tabs are, I may consent


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 2nd Dec 2004 20:15
Right now skinning is not implemented in the current plugin, but I don't think that their are plans for it in the near future.


Click the sig
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 3rd Dec 2004 01:16
Quote: "the command non include icon file in exe"


Currently the icon must be a separate file outside the exe.

Quote: "in Rainbow add command insert the code dark basic pro in button and other object tipe easy visual basic"


As I have said before, this will not happen.

Quote: "I want also one function of skin tipe winamp skin button skin windows and other. I want a commando that he adds area with chosen image"


"Skinning" has to be implemented by using canvas gadgets - you will need to write the code to change the gadget's appearence as events happen to them.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 3rd Dec 2004 20:14
If you want an image to pasted on to a window you could put a panel covering the entire window and set the panels image.


Click the sig
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 3rd Dec 2004 21:57
@DarkDomy

I would really like to help you but I feel that I am getting nowhere as you simply post the same thing over and over, ignoring replies from myself or other forum members.

In future, please email any suggestions to me instead, where I can deal with them.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 7th Dec 2004 01:28
Gaahhh!!! I'm really getting no-where with by form design on Rainbow . I layout everything how I want, but if I export code or reload the file I saved in, the order of everything changes again . Here is a pic of my problems. On the left is when I've arranged everything correctly, then on the right is when I reload the file.



I have attached the offending file. Also, Rainbow seems to have a habit of making code where components are created before their parents, resulting in them being placed on the main DBPro window.

Rainbow also doesn't seem to allow the re-ordering of button gadgets.

Other than that, excellent stuff now that I've actually started using it , just wish I could get it to work so I can start using my GUI.

Isn't it? Wasn't it? Marvellous!

Attachments

Login to view attachments
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 7th Dec 2004 02:11
Rainbow is setup to go to a certain way when it starts up. If you want Rainbow to be setup how you want it, you will have to change the program's code and change how the windows coordinates and sizes are.


Click the sig
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 7th Dec 2004 02:56
Thanks Hamish, I'll have a look at that tommorrow evening.

You are probably wondering what happened to the weekend update? I encountered a few problems with the installer so I didn't release it. I will see if I can sort them out asap.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 7th Dec 2004 04:26
When you do release the update, are you can to specify which update it is on the web site. So we can tell when their is an update and when their is not an update.


Click the sig
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 8th Dec 2004 04:29
I'll probably list the updates along with a release date so you can see if there is a new release out.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 9th Dec 2004 01:28
Hi Scraggle,

I have had a look at the GUI file, it is a bug in Rainbow caused by the gadget's parent property not updating when you rearrange a gadget.

I have fixed the bug, but the mistake is in the UI file itself, so you will need to rearrange the gadgets correctly again.

I have fixed the export bug for the next update as well.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 9th Dec 2004 01:42
Heh, cool, can't wait . And how about the buttons not re-arranging?

Isn't it? Wasn't it? Marvellous!
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 9th Dec 2004 21:23
Sorted that as well.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
AndyB
20
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 10th Dec 2004 00:08
Now that's what you call good customer support
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 10th Dec 2004 06:45
Small update released - visit the website for the download. This update includes just the plugin itself and Rainbow.

Changes:
- Bugs reported so far fixed (GUI plugin and Rainbow)
- New Commands: setToolbarButtonState(toolbar, item, state), getToolbarButtonState(toolbar,item) , setToolbarButtonEnabled(toolbar, item, enabled), getToolbarButtonEnabled(toolbar, item)


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
Lance
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location: Third planet from Sun
Posted: 10th Dec 2004 08:30
Just downloaded 2.01 and it won't run on my system(XP Pro sp2)

error-- msvcp70.dll missing ????

Lance
Rpg Cyco
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Australia
Posted: 10th Dec 2004 10:08 Edited at: 10th Dec 2004 10:10
I also get the error above and after that error I get another that says: Failed to load DLL (1: gui2_release.dll). Does it not load because of the first error?

Also Rob, I posted a bug just recently (a few days ago) on the Bug Reports page concerning Rainbow. I don't know if you've seen it or not yet. Would you prefer us to report bugs here or there or both locations?

- Rpg Cyco

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 10th Dec 2004 17:40
I think I know what might be causing the error - I'll need to recompile the plugin to fix it.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 10th Dec 2004 20:13
Thanks for updating the plugin


Click the sig
Lampton Worm
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 11th Dec 2004 02:19
Hi,

Quote: "I'll need to recompile the plugin to fix it.
"


Can you post again when 2.01 is updated please?

Looking forward to it,
Cheers.
OzBot
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: Sweden
Posted: 11th Dec 2004 19:57
Any chance of making this for DarkSDK ???
Spline
20
Years of Service
User Offline
Joined: 30th Oct 2004
Location: London U.K
Posted: 11th Dec 2004 20:25
Rob K

I would be greatfull if you could release BlueGUI 2 for DarkSDK,
as I would like to use the tools i have got for darkbasic in darkSDK

thanks
keep up the good work
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 11th Dec 2004 23:43
Quote: " Any chance of making this for DarkSDK ???"


why don't you just call the forms from c++ in mfc

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 11th Dec 2004 23:58
Quote: "why don't you just call the forms from c++ in mfc"

I was thinking the same thing


Click the sig
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 12th Dec 2004 02:16
its not like mfc is that difficult

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 12th Dec 2004 15:48
OK, I've been seriously considering buying this for a while now, but I have a question about the Web Gadgets. Using them, can you grab the html for a page to memory (ie not save it to harddrive) without displaying the page itself?


High quality models and graphics, low prices. Graphics for the rest of us.
OzBot
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: Sweden
Posted: 12th Dec 2004 21:08
I wasn't going to buy it for darkbasic, but if you are sure calling the forms will work in c++ then I will buy it. So if someone can confirm it definitely works. I'll buy it.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 12th Dec 2004 21:29
The web gadget doesn't support that at the moment, however you can either use the GET INTERNET FILE command from the v1 plugin (I'd be happy to provide you with the DLL for that if you bought v2), or you could try TCA's free URLDownloader plugin:

http://www.codingarea.co.uk/html/downloads.html


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 12th Dec 2004 23:52
New update released, a proper installer has been included this time in addition to various fixes to the docs, examples and the plugin itself.

Get it from the website.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 14th Dec 2004 13:49 Edited at: 14th Dec 2004 13:50
Quote: "The web gadget doesn't support that at the moment, however you can either use the GET INTERNET FILE command from the v1 plugin (I'd be happy to provide you with the DLL for that if you bought v2), or you could try TCA's free URLDownloader plugin:"


Thanks, but it's easier just to use the URLDownloadToFile command in urlmon if that's what I was going to do. Any plans to include that in the future Rob K?


High quality models and graphics, low prices. Graphics for the rest of us.
Lampton Worm
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 15th Dec 2004 01:55
Hi,

Just got 2.01 and installed it, when I try to run Rainbow I get.. Failed to load DLL (1: gui2_release.dll) - any ideas?

Cheers in advance.

Login to post a reply

Server time is: 2024-11-16 18:09:07
Your offset time is: 2024-11-16 18:09:07