DBPro / BlueGui V2.055 |
| Author | Message | ||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
![]() Hi. i Added new commands RK plugin Bluegui ( updated: 04/08/2009) http://www.robertknight.me.uk/blue2/site/ (original files, documents, helps, key/user) > you need gui.ini < Install quide 1. Download gui2_v2.055.rar (attachment link) 2. unzip gui2.dll -> The Game CreatorsDark Basic ProfessionalCompilerplugins-user Gui2_addons.ini -> The Game CreatorsDark Basic ProfessionalEditorKeywords 3. Start Ide and make code Command: setPassword handle gadget, bool pass setNumberOnly handle gadget, bool numberOnly // only 'on' mode SetDialogPosition int x, int y CreateDateTimePicker(int x, int y, int width, int height, handle parent) UnresizeableWindow // this set mainwindow unresizeable RemoveMaximize // this remove mainwindow maximize button RemoveMinimize // this remove mainwindow minimize button use: SetPassword handle gadget, 1 // this set password on SetPassword handle gadget, 0 // this set password off newGadget = CreateDateTimePicker(100,100,200,30, 0) changes: rename gui2_web.dll to web.dll if want use webbrowser command Example: + Code Snippet SetDialogPosition + Code Snippet Fix: Editbox::scrollbar fixed Now can load image include media exe. Works only 32bit desktop (Important - You must have a memblock command somewhere in your program else it won't work) + Code Snippet Biggest problem is HUGE exe file [DOWNLOAD] http://forumfiles.thegamecreators.com/download/1791547 by Humanoid (Bluegui fan) more commands maybe someday Suomi Finland PERKELE! |
||
| Back to top |
|||
|
N3wton
User ![]() Joined: Wed Jun 3rd 2009 Location: Cyberspace |
Finally! This has been something which has always been something i wanted from bluegui I'm gonna test this now! Yours N3wton ![]() |
||
| Back to top |
|||
|
Rudolpho
User Joined: Wed Dec 28th 2005 Location: Sweden |
Great, but... are you really allowed to release that? ![]() |
||
| Back to top |
|||
|
N3wton
User ![]() Joined: Wed Jun 3rd 2009 Location: Cyberspace |
i cant see why he couldnt, i mean the bluegui source code is avaliuble to all bluegui customers and you still need a licence key/name thing to compile any blue gui project with his dll so you can only use it if you've bought it ![]() |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
hmm, i broke listbox scrollbar, must fix it if somebody found bugs, then tell if can fix that edit: Editbox scrollbar has fixed. New dll found download link up attachment Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Problems
User Joined: Mon Apr 28th 2008 Location: Cyberspace |
at me not work where can i get id and password? DarkBasic Master |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
unless RK let permission key/user sharing or delete ask, i dont share it, or delete key/pass asking from dll Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
Hi!, nice commands you have added to blue-gui. i have a feature request, (if it's not a problem). I like Blue very much.And have been working with a friend of mine for a while and have been thinking to buy more licenses and use it extensively. My biggest problem using it is the speed update of events and that some events get lost (they never happen) and there isn't some type of stack of events to take them from. This is a big issue because sometimes you have to clik many times for an event to happen (specially in old machines). There is a way to improve events?. There is a way to keep the events that happened before in some place to use them later (As soon as possible)? Thanks. |
||
| Back to top |
|||
|
tiresius
User Joined: Wed Nov 13th 2002 Location: MA USA |
Quote: "that some events get lost (they never happen) and there isn't some type of stack of events to take them from. "
I've never had lost events (that I know of). How are you utilizing getEvent Is it in a loop until eventType()=0 ?This is what I do, I have another method but it is commented out because I have not had any display issues or slowness from it. + Code Snippet I'm not a real programmer but I play one with DBPro! |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
|
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
Hi, very fast answers. Give me like 10 hours. In this momment i dont have access to blue gui. |
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
Hi, @ tiresius I don't process the events the way you do. Maybe is that what's wrong. I don't block the app with "eventType()=0" Is there a reason to block the application like that? @Humanoid: I don't use flushEvents. I tried in some places with positve results (After each event type) and some please without positive results (before "loop" in the main do loop, "one flush for many event types"). Is there a especial rule to use flushEvents? I use the code this way: + Code Snippet |
||
| Back to top |
|||
|
tiresius
User Joined: Wed Nov 13th 2002 Location: MA USA |
I don't block the application, I just let ALL the BlueGUI events process before I go on to do other DBPro type things, like draw the screen. That guarantees I get all the events, as far as I know. I never use FlushEvents. I'd assume this is only helpful when switching contexts (modal windows or dialogs) ? I'm pretty sure Humanoid was showing you the wrong way to receive events. FlushEvents clears all the messages (read or undread) and then they are lost. A question for you is why are you "processing events" twice? You can only process an event that you've gotten from getEvent. And it is reading off a queued list of events. I would say use something similar to my code and see if it fixes your problem. I'm not a real programmer but I play one with DBPro! |
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
Ok. I process events twice but the routine only gets the events once with getevent. I will try your solution and tell you the results. EDIT: I tried your solution and it works pretty pretty well not an event lost once.. Thanks for the info. I have been making this mistake for a while (Like a year ago, or more |
||
| Back to top |
|||
|
tiresius
User Joined: Wed Nov 13th 2002 Location: MA USA |
I think I grabbed it from a BlueGUI example file but don't remember which one. Glad it works for ya. @Humanoid - Are you going to be doing more work in BlueGUI (such as better Vista support with list boxes and a working manifest.exe type thing)? There have been grumblings lately about how it works in the new OS, although I haven't run into them personally yet. I'm not a real programmer but I play one with DBPro! |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
Added new command: SetDialogPosition int x, int y >download attament link< @tiresius: i do what i can. Maybe, mayby not :S takes time and i have my own dbpro project what need do and that takes time too Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
Maybe this help Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Clbembry
User ![]() Joined: Sun Dec 10th 2006 Location: Minnesota |
Can you still order BlueGUI? ![]() |
||
| Back to top |
|||
|
sladeiw
User Joined: Sat May 16th 2009 Location: UK |
Nice to see somebody continue development of this great dll, and a handy couple extra commands there Be really impressive if you can fix a few bugs |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
Added new command: CreateDateTimePicker(int x, int y, int width, int height, handle parent) -> download < -- first post Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Google Ad
AdBot Joined: Aug 26th 2002 Location: Everywhere |
|||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
wow. YOu are advancing pretty fast. I have another request. When you create an application in a window in darkbasic you usually see that when you have your machine in a higher resolution and maximize the application, all image, objects e.t.c. in DBPRO get maximized as well, however, when you have bluegui objects inside the Darkbasic window, they don't get scaled as well, and preserve their original size. Is there a way you can fix that?. Thanks. AlfaX. |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
can you do example code? Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
of course. Give me 8 hours until i have access to blue-gui. |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
ok Suomi Finland PERKELE! |
||
| Back to top |
|||
|
tiresius
User Joined: Wed Nov 13th 2002 Location: MA USA |
Alfa X do you want panels and gadget positions to change along with the DBPro window size? As far as I know we don't have relative panel sizes (like a flag that says "full height"), we have to say 'y pixels' to set it that way. You can have code checking for a resize window message when processing getEvent(), I don't remember what it's called but there is something for it. Then resize the affected gadgets accordingly. If Humanoid can get BlueGUI to do it that would be awesome. For now what I'm doing is making the window non-resizable. Just sizes it based on a config file. I'm not a real programmer but I play one with DBPro! |
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
|
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
could you tell a little more, what would you do . To, therefore, that the scrollbar is just the right side, right? and the window size according to you? Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
Ok. You create the above project in window mode. Quote: "wow.
YOu are advancing pretty fast. I have another request. When you create an application in a window in darkbasic you usually see that when you have your machine in a higher resolution and maximize the application, all image, objects e.t.c. in DBPRO get maximized as well, however, when you have bluegui objects inside the Darkbasic window, they don't get scaled as well, and preserve their original size. Is there a way you can fix that?. Thanks. AlfaX." If you change the size of the window, the box change its size accordingly to the size of the window. The Scrollbar gadget of blue GUI can't do the same and preserves it's size and position relative to the window. The favor i ask, is if it's possible to Fix that or have a parameter that makes possible to scale the window. Thanks. AlfaX. |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
@Alfa x: i not sure how do that. Added new command UnResizeableWindow *no command* @Alfa x: meaby this help + Code Snippet or + Code Snippet ->Download<- first post Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
Added commands: RemoveMaximize // this remove mainwindow maximize button RemoveMinimize // this remove mainwindow minimize button -> Download <-- first post Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
|
||
| Back to top |
|||
|
Marco A G Pinto
User ![]() Joined: Fri May 26th 2006 Location: Portugal |
Hello!!! Months or years ago I reported in the official site of Robert Knight that the BLUEGUI2 extension couldn't access media stored inside the executable, so I had to keep images somewhere in folders. Can you fix this? Thanks! Kind regards, |
||
| Back to top |
|||
|
N3wton
User ![]() Joined: Wed Jun 3rd 2009 Location: Cyberspace |
Also wondering if its possible to get an OnProgramClose procedure? E.g. if someone preses escape yes you can disable escape key and run your own quit program function, but if someone just clicks the X in the corner your quit program function wont be run, so is it possible? Yours N3wton ![]() |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
|
||
| Back to top |
|||
|
N3wton
User ![]() Joined: Wed Jun 3rd 2009 Location: Cyberspace |
oh but now my eventType()=MENU_CLICK doesnt main = CreateGadgetFromWindow(mainwindow()) then it does... any ideas? Yours N3wton ![]() |
||
| Back to top |
|||
|
tiresius
User Joined: Wed Nov 13th 2002 Location: MA USA |
Hey Humanoid- There's been a longstanding problem that has bugged me and was wondering if you could look into it. The function setButtonImage gadgetNum, image only works on Desktops which are 32 bit depth. If it is another kind (16 bit) the buttons get corrupt and can crash. I believe there is a similar problem with the Canvas gadget. Is there any chance you might be able to look into that? Right now I have code to boot the user out if their desktop is <> 32-bit depth but that seems rather clunky and unprofessional. I know you're not responsible for the wrapper and how it works but just throwing it out there. A workaround for the buttons is to load the image directly, not use a DBPro image. I don't think there is a workaround for the canvas. If that helps you narrow it down. Thanks for any help. I'm not a real programmer but I play one with DBPro! |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
@N3wton: menu to close focus for some reason ... I try to explain the problem Suomi Finland PERKELE! |
||
| Back to top |
|||
|
Alfa x
User Joined: Sat Jul 1st 2006 Location: Colombia |
Hi, I was wondering if t's possible to put border to some gadgets, like edit Boxes or labels. (I think that this doesn't exist now) Something like this. setGadgetBorder handle gadget, size, color Thank you so much. AlfaX. |
||
| Back to top |
|||
|
Mooney1
User Joined: Mon Jul 27th 2009 Location: Cyberspace |
I'm new at using BlueGUI. I saw in this post the addition of new commands, especially UnresizeableWindow. How do you make thses new commands work in BlueGUI? What do you have to install or change to get the new commands working in the the application? |
||
| Back to top |
|||
|
Humanoid
User ![]() Joined: Sat Sep 20th 2003 Location: Finland |
Install quide 1. Download gui2_v2.055.rar (attachment link) 2. unzip gui2.dll -> The Game CreatorsDark Basic ProfessionalCompilerplugins-user Gui2_addons.ini -> The Game CreatorsDark Basic ProfessionalEditorKeywords 3. Start Ide and make code Suomi Finland PERKELE! |
||
| Back to top |
|||
This is a multi-page thread older than 30 days.
Go to the last page to check if you can reply to it.
Go to the last page to check if you can reply to it.
Forum Search
Enter a word or phrase to search our Forum for:
|
|











