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 / [LOCKED] BLUE Graphical User Interface Plugin Release - Windows Gadgets in your apps

Author
Message
PrimaryDimension
22
Years of Service
User Offline
Joined: 1st Nov 2002
Location:
Posted: 23rd Jul 2003 02:36
@ RobK,

Thanks Rob,

I still can't get the "set gadget color" to work with imagebuttons, but the font fix you put in place works great. The imagebuttons will flash the color you set it to on load, and then revert back to the deafult color.
PrimaryDimension
22
Years of Service
User Offline
Joined: 1st Nov 2002
Location:
Posted: 23rd Jul 2003 06:22 Edited at: 23rd Jul 2003 06:26
Oops, Double post... Didn't catch that it went to a new page, I thought it didn't post at all.

@ RobK,

I am still having a problem getting "set gadget color" to work with imagebuttons. The set color will flicker briefly when it loads and then revert back to the default color. I know I didn't see this in the updates for rev 1.3, but from the e-mail you sent me when I alerted you of this bug, I thought it was going to be fixed. Oh well...

If you could look into this I would appreciate it.

Great work on the gadget font for imagebuttons, works perfect!
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd Jul 2003 23:23 Edited at: 23rd Jul 2003 23:23
@PD

Image buttons don't support colours I'm afraid. However, it IS possible to make your own using the panel gadget. Alternatively I could modify the imagebutton gadget to work more like a panel gadget as I mentioned earlier which would add support for colours. I wanted to get 1.03 out as it fixes some other issues. I've noted this on my to-do list for 1.04.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 25th Jul 2003 14:42 Edited at: 25th Jul 2003 14:43
A member or the RGT forums alerted me to a serious bug where clicking on a checkbox gadget closes the program. (I had tested it, but I broke the code when I added the radiobutton gadget to the commandset)

If anyone wants the DLL with this fixed before 1.04 is released next week (a few bug fixes + improved FONT commandset + RICHTEXT gadget + a few other extras), drop me an email.

Shady Simpson
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: United Kingdom
Posted: 25th Jul 2003 17:43
hey rob,

I've got a small suggestion for the new version, could you make it so that you can enable-disable the small buttons on the corner of the window. (Minimize, Maximize and close). This would help me a great deal.

Thanx.

Xsniper
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 25th Jul 2003 19:34
Hey Rob,
I was trying to make a status bar for my application and I figured that a panel at the bottom of the application with a disabled text box in it would likely work quite nicely. However I'm having a really really hard time even getting the panel to display. I'm pretty certain my code is correct but I'll post it here for further inspection.



Xsniper
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 25th Jul 2003 19:44
Hmm, ya my code is definitely fine. It seems the positioning of where I call it in the program is having an effect on whether it works or not. Ah well, more bug tracking on this later.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 25th Jul 2003 20:13
@Xsniper

You are using the SCREEN WIDTH() / SCREEN HEIGHT() command, which isn't accurate as far as gadgets are concerned. Use DBP WINDOW WIDTH() and DBP WINDOW HEIGHT() commands as they report the size of the window (which gadgets use), rather than the width of the DirectX surface (which DBP 2D commands use)

Xsniper
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 25th Jul 2003 21:38
Even the dbp window width and window height commands don't seem to work very well when the window is maximized or resized. I'll have to figure something out with that...

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 25th Jul 2003 22:16
@Xsniper

I found an example from my test work which should do what you want. Note that you'll have to create an edit gadget for now to display the status text, however in v1.04, Panels will have a caption that can be set using SET GADGET TEXT

Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 28th Jul 2003 22:14
So can i create a window that pops up outside of the dbpro main window?

and if so do they still communicate as though they are still together...cause i believe they would be?

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 28th Jul 2003 23:05
Yes you can - for example:

CREATE GADGET WINDOW 1,3,"New Window",0

They communicate just like all the other gadgets (using the same commands etc.)

Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 28th Jul 2003 23:22 Edited at: 28th Jul 2003 23:29
can i have them popup and have 3D viewer window thing in the pop-ups?

like use another camera view and declare it as a child to one of the windows via CreateGadgetImage or just putting it on screen...?...i know most of you think i cant code...lol

yes, i gave up on mine and just started to work on the other added commands...oh, well...i guess my IDE will say RobK all the way...i plan on purchasing tonight(EST)

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 29th Jul 2003 17:04
Quote: "can i have them popup and have 3D viewer window thing in the pop-ups?"


Technically you could save part of the image to a file using the new U5 SAVE IMAGE command and load that using an image gadget. It won't work for large images, but if you have say, a map editor where the view only changes when you edit it using buttons etc. then it should be OK.

I'm still looking into faster ways of copying and displaying images in image gadgets.

Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 29th Jul 2003 17:10
so how did you do that 3d map editor gadget tech demo...i need 3d editor...things...and...stuff...need 3d...help...

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 29th Jul 2003 17:33
and can i highlight the text in an input text box thing?

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 29th Jul 2003 19:13
The gadgets are overlaid on top of the DarkBASIC Pro window, the view of the camera (set using SET CAMERA VIEW) is used so that the main camera only uses part of the window to display the matrix in.

You can highlight the contents of edit boxes (but not through code).

Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 29th Jul 2003 20:33 Edited at: 29th Jul 2003 20:34
well i mean like i have Syntax highlighting...is that not possible...or what...and so i can have the unoverlayed part of the program still showing the camera view like its just a sprite on the screen but u can see through it in parts...

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 29th Jul 2003 23:24
If I understand what you are getting at then yes.

Syntax highlighting isn't technically possible at the moment, it will be in the next update - but it is far more complicated than it at first appears. There aren't commands like SYNTAX HIGHLIGHTING ON though, you'd have to code it yourself.

Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 29th Jul 2003 23:28
Well i knew that i would have to tell it what parts of the line, like



Or sumthin...

Hey man u gotta help me out...u gave access to the APIs to us for a fee, i make a IDE that uses ur DLL like VB...more people will buy ur DLL...now i need to buy it and wait for it to do text highlighting...

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 31st Jul 2003 02:14
@ Rob,

Just thought of something for v1.04... what about if you held your mouse pointer over buttons and it gave a description in small font black over a yellow (black outlined) background ie. a definition / help thingy for the gadgets - specifically buttons...?
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 31st Jul 2003 02:20
Good idea

vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 31st Jul 2003 15:54
Is it possible to create a search folder
If not will it be possible to make one ?

Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 31st Jul 2003 16:02
...i need to get this GUI plug-in...I need WINAPIs...Must use credit card powers...and i must make a VB like program that will, if u have paid for it, use the GUI plugin to make windows...Must...Create...Great...DBPRO...

Visual Programming Studio ORANGE
Replacement IDE for Dark Basic Professional...
(Will Be Availeable When This is Removed)
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 31st Jul 2003 17:38
Quote: "Is it possible to create a search folder
If not will it be possible to make one ?"


I'm not quite sure I understand. A Folder Treeview gadget already exists, if you mean a way of searching folders for files, then yes it is possible to make one (although you don't need the plugin to do it - but the Table gadget would be handy for displaying the results).

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 1st Aug 2003 21:50
@ Rob K,

Also for v.1.04 - what about incorporating Menus into the GUI...

in the meantime, how do I go about running both BlueGUE and your Menus .dll - whatever I try it either crashes or just goes black...

could you post some sample code? ta v muchly,
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 1st Aug 2003 22:54 Edited at: 1st Aug 2003 22:55
Example attached.

I noticed whilst looking through the Windows Menus source code that I hadn't implemented the same W98 fix that I did for the GUI plugin. I may have to do this in order to get both to work happily together under W98.

Putting the two together sounds like a good idea - but I am going on holiday on Sunday, so I won't have time.

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 1st Aug 2003 23:12
@ Rob K,

Thanks for the source code - great minds think alike - see my less intelligent attempt at using GUI to create menus...

When is the eta for Menus.dll (v1.04 that works with GUI W98 with no probs), for GUI v.1.04 and/or for GUI including Menus Gadgets??? (given that you are also going on yer hols)???

On a separate point, could you make it so scroll bars etc can run according to numbers in excess of 100 etc...?

Please advise,

Niall.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 1st Aug 2003 23:22 Edited at: 2nd Aug 2003 17:31
Hopefully in the short time I have after I get back in two weeks before I go off again to Italy.

Any problems / queries with BGUI will be dealt with as soon as I return from my holiday in France on August 18th. Please send queries etc. by email to me@robert-knight.net

Eddie Gordo
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 3rd Aug 2003 07:32 Edited at: 3rd Aug 2003 07:33
will i have to wait 2 weeks for the e-mail of where to get the plug-in after i buy it...

Visual Programming Studio ORANGE
Replacement IDE for Dark Basic Professional...
(Will Be Availeable When This is Removed)
Dostej
21
Years of Service
User Offline
Joined: 21st Jan 2003
Location: Switzerland
Posted: 3rd Aug 2003 10:53 Edited at: 4th Aug 2003 10:47
Some suggestions for further development

Gadget under mouse: It doesnt recognize window gadgets and explorergadgets. It would be helpful if it recognize all kind off gadgets

Create gadget table is not in the keyword.ini-file

And some questions:
Is there a possibility to change the background of a gadget (maybe with an image or at least with a color?)

Is there an explanation of the parameter of getoscolor?

And here is a wishlist of some new commands...
- remove all items (from a combobox, table, listbox...)
- mouse over item (from a combobox, table, listbox...)
- item clicked (what item is clicked?)
- unselect item - a command to (manually) unselect items

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 3rd Aug 2003 18:21
@ RobK,

Post Holiday Wish List:-
Incorporated Menus, Help Sensitive Gadgets, Folder Gadget under W98, Able to utilise a DBPro Image and/or .jpg as well as the usual .bmp
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 7th Aug 2003 22:23
@ RobK,

Another idea - ability to colour text and background on standard buttons...
Xsniper
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 9th Aug 2003 00:17
Hey Rob,
Did you say the limit to the number of gadgets is something like 1000? The reason I ask is because I'm making a 2d map editor type of program that uses the image gadget in its map grid system and I'm trying to allocate about 1200 images and well it crashes the program. So I was wondering if you could maybe up the limit in the next version to something like 10,000. Thanks!

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 12th Aug 2003 02:29
@ RobK,

Have looked at the Menus (v.1.03) and GUI (v.1.03) and can confirm that under W98 no matter what I try I cant get both working at same time in a program - however, both work perfectly well separately...

If you cant get Menus into GUI in short term (although that would be the best) could you get it so Menus and GUI can work happily together in same program in W98???
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 14th Aug 2003 23:01
@ RobK,

Back from your hols yet??? Hassle Hassle Hassle...
Preston C
21
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 14th Aug 2003 23:33
I wonder how much money he made off of this.



Hell Begins September 2nd at 7:30 AM. Yep, schools starting soon.
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 17th Aug 2003 22:22
@ RobK,

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th Aug 2003 11:37 Edited at: 19th Aug 2003 11:38
Hello, I got back yesterday, but as soon as I got back (about half an hour later anyway) there was a power cut as a major transformer blew up along the road.

Sodding Murphy's law

Anyhow, I am back on today, and I'll get stuck in to the menus issue asap.

@NWC Omega

Enough to be interesting, but I won't be a millionaire any day soon (I reckon about one order per day thus far).

@Xsniper

I'll raise the limit in the next version.

Xanatus
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Germany
Posted: 19th Aug 2003 19:20
Rob K, could you plz add the following 3 editbox-features in your next GUI release:

- password fields (stars)
- max text length
- only numbers

I realy need this features in my current project and I think ists no problem for you to include this in your next GUI plugin version.

PS. sorry for my bad english

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th Aug 2003 19:25
I could, however you can code these all yourself, the only slightly tricky one is password fields, the code for which is:




Then use like this:



Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 19th Aug 2003 21:47
@ RobK,

As you've probably gathered, would be great if both Menus.dll and GUI could work together in same program under W98 - but far better yet if Menus became part of GUI -
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 21st Aug 2003 22:12
@ Rob K,

What is the wont-hold-you-to-it eta for GUI version 1.04 and/or Menus.dll version 1.04???
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 21st Aug 2003 22:59
Just over a week. I am off on holiday (again) tommorrow, but the update is mostly complete.

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 29th Aug 2003 01:36

Am I being pushy or wot...

p.s. see you got top billing in the newsletter bit on .dlls
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 30th Aug 2003 15:50
Yes, and I'm very grateful to Rich for that.

I've just sent out all orders received during that time.

I have some college-related work to do now - but I'm BGUI coding this evening

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 1st Sep 2003 21:23
@ Rob K,

Howzit going>? Are you going for Menus in the BGui or updating both individually to work together>?
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 2nd Sep 2003 00:05
To begin with, I will update them both to work together, then at a later stage I will put the menus into BGUI, and change the way that the menus part works to fit in with the parent / child style of the GUI.

@Xanatus

I've added the edit features you requested.
There is now a SET EDIT MASK command, which sets what characters can be entered into an edit control.

SET EDIT MASK 1,"0000LLLL"

for example would mean that the first four digits of the edit box must be numbers, and the last four must be letters.

Xanatus
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Germany
Posted: 2nd Sep 2003 18:32
Thanks, thats great
And if its possible, could you add a SET ITEM command for list-/comboboxes?

PS: Do you know when 1.04 will be released?
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 2nd Sep 2003 22:17
@Xanatus

When you say SET ITEM, do you mean a command to change which item is currently selected?

Login to post a reply

Server time is: 2024-11-22 19:22:03
Your offset time is: 2024-11-22 19:22:03