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.

Work in Progress / BBB Gui Plugin

Author
Message
kamac
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 2nd Apr 2011 00:56
Could you tell me how to get text from editbox ? I feel stupid. I couldn't do it

Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 2nd Apr 2011 01:52
Quote: "Could you tell me how to get text from editbox ?"

use WINDOW GET TEXT command

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 2nd Apr 2011 17:39 Edited at: 2nd Apr 2011 17:41
Heres a sample of the file loading procedure;



Could you explain the EDITBOX GET SELECTED CHAR(editbox, which char) command? Edit box obviously refers to the editbox integer return when making the edit box, what is the char parameter? Is it a single character like 'a', or something like a number referring to the character number x from the start of the editbox?

Thanks

EDIT

Ive just read and understand the which char parameter, i'll have a try with that to locate the cursor.

Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 4th Apr 2011 02:48
Quote: "Im also getting a strange problem in the new editbox style you made for us, when loading lines of code seperated by the two windows characters which act as a new line (chr$ 13 and 15), after one open of a file of text (displayed line by line with the new line seperating), it will display fine, but when i open the file a second time (or further times) the newlines are not placed into the editbox... "

Check the rich editbox example in the new update for fix.

Quote: "Also as a feature request, it would be nice for the drawing operation commands "draw rectangle, ect..." to be able choose which color you would want."

Done

And here's the new partial update

Attachments

Login to view attachments
Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 4th Apr 2011 19:57
Quote: "And here's the new partial update"


Once again thanks for another great update!

Quote: "Quote: "By the way, the "Get Mouseclick" does not seem to work if the mouse is over a menu."
this can't be done unfortunatelly"


All right then, I guess I'll have to use layered windows.

I also want to remind you that here is a style I forgot to add for the listbox constants.

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 5th Apr 2011 01:10
Ive had a look at the method youve added for loading files into the rich edit box. I was wondering if it would be possible to keep the same style of entry as i have demonstrated in my code. The way you have created doesnt seem to allow me to open any file extension other than '.txt', '.rtf' and '.doc'. Im also unable to decode the strings being read from the project file before they are placed into the rich edit box.

A problem with the loading and saving files is also that on loading an extra newline is added at the end of every line, im not sure why this happens, e.g.;

This;


Becomes;


Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 5th Apr 2011 01:38 Edited at: 5th Apr 2011 01:41
Quote: "I was wondering if it would be possible to keep the same style of entry as i have demonstrated in my code."

if you just want to save or open text from rich editbox without rich text formating you can use reditbox_gettext and reditbox_settext commands otherwise you're out of luck

Quote: "The way you have created doesnt seem to allow me to open any file extension other than '.txt', '.rtf' and '.doc'"

that's just an example, you can put any extension you want

Quote: "Im also unable to decode the strings being read from the project file before they are placed into the rich edit box."

As i said before -> if you don't need rich text formating to be saved or opened from a file you can use reditbox_settext and reditbox_gettext which only open or save plain text without formatting, i.e. font color/name/size, bold, italic etc.

Quote: "A problem with the loading and saving files is also that on loading an extra newline is added at the end of every line, im not sure why this happens,"

which command do you use. If you use the code from the rich editbox example which uses reditbox_gettext and reditbox_settext please note that i didn't test the code so it could be faulty. Try removing cariage return or line feed characters and see what happens

@ Admiral MH
Quote: "I also want to remind you that here is a style I forgot to add for the listbox constants."

somehow i forgot to add that, will be added for the next update

Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 5th Apr 2011 20:10
I have been using your "GuiEditor" code, and I noticed that if I remove the command "Window Set Property" command from your layered windows, The "Get Mouseclick" command does not work right. (It will return the mouse click after you release the button, and will keep returning the value 1 until you click again.)

So now here is my question, From my understanding, is the "Window Set Property" command for scripting windows? At least that is what I saw on the MSDN page. If it is, do you know of where a page is for all the window scripts? Since I've searched and have not found it yet.

Also in your keywords file the command "bbb get_windowundermouse()", is not highlighted, you forgot to add "==" or "=main.htm=" to the command.


As for future feature requests.

1. It would be nice for the command "Load Cursor" to have few more cursor indexes, like "aero_nesw","aero_nwse" and "aero_working"

2. If the windows are scriptable, then it would be nice to include constants for all window scripts.
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 5th Apr 2011 23:42
Quote: "I have been using your "GuiEditor" code, and I noticed that if I remove the command "Window Set Property" command from your layered windows, The "Get Mouseclick" command does not work right. (It will return the mouse click after you release the button, and will keep returning the value 1 until you click again.)"

That happens only with scrollbars, am i right? I tried to fix that but it seems that it can't be done, i will keep searching for the sollution

Quote: "So now here is my question, From my understanding, is the "Window Set Property" command for scripting windows?"

no, it's used to assign properties/variables to windows and their values. Property/variable name has to be a string and it can be any string you want.

Quote: "Also in your keywords file the command "bbb get_windowundermouse()", is not highlighted, you forgot to add "==" or "=main.htm=" to the command."

I didn't put that command in the keywors file, i'm still undecided about it's name. I think i'm gonna change the mouse part of the name to cursor

Quote: "1. It would be nice for the command "Load Cursor" to have few more cursor indexes, like "aero_nesw","aero_nwse" and "aero_working""

It seems that this cursor aren't defined in windows headers so you will have to find that cursors in .cur format and load it that way

Quote: "2. If the windows are scriptable, then it would be nice to include constants for all window scripts. "

they are not

"_static" property name that i use in gui editor tells the bbb gui plugin that layered windows with that style can't be moved using mouse. THats not the "official" name of any window script, just a property which bbb gui plugin check for when user is dragging window, if window has it the user's mouse movement is ignored.

There are two more properties which bbb gui checks for, check the WebBrowser example to see which

Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 6th Apr 2011 20:16
Quote: "That happens only with scrollbars, am i right? I tried to fix that but it seems that it can't be done, i will keep searching for the sollution"


I was already aware of that but I was talking about the layered windows. (If you remove the "Window Set Property" from your GuiEditor example, then you will have the problem I was talking about.)

Quote: "no, it's used to assign properties/variables to windows and their values. Property/variable name has to be a string and it can be any string you want."


That what I originally thought. Thanks for clarifying that.

Quote: "I didn't put that command in the keywors file, i'm still undecided about it's name. I think i'm gonna change the mouse part of the name to cursor"


Well in your latest upload it had it. It's sounds fine either way, though since you have "Cursor Get Position X", I think "BBB Get_WindowUnderCursor" sounds better.

Quote: "It seems that this cursor aren't defined in windows headers so you will have to find that cursors in .cur format and load it that way"


Ok, since it had NS and EW cursors, I thought it would have the others as well.
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 6th Apr 2011 22:16
Quote: "I was already aware of that but I was talking about the layered windows. (If you remove the "Window Set Property" from your GuiEditor example, then you will have the problem I was talking about.)"

try with this version

Attachments

Login to view attachments
Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 8th Apr 2011 00:16 Edited at: 8th Apr 2011 00:16
Quote: "try with this version"


Same results as before, only the center movable window returns the moseclick right.

However since it does work with the "_static" property, you don't need to fix this unless you want to.

Also in your GuiEditor code here is a fix for the right and bottom resize windows.

Bottom



Right



Also, if you decide to update the GuiEditor example in the future, feel free to take a look at the BBB GUI Designer code in V1.1 when I release it. Since I added some things like the diagonal window resizing, control size checking (So the width or height will not be less than 1), and a few other things.

And there are 2 bugs with scrollbars.

1. Vertical scrollbars don't work now.
2. And scrollbars that are on the DBPro window don't work.

(Also I tested you example and the vertical scrollbar does not work.)

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 9th Apr 2011 20:13 Edited at: 18th Apr 2011 20:03
Brendy boy, its still not allowing other files to be added. My format is not accepted even though im directly giving it a file and its entire directory as well as trying its local directory. Though I dont think I will try anything further with rich editboxes at the current time as i have enough to sort out in my program.

I was wondering if it would be possible to add a command in which you could set the top line of an edit box, in a way like the bookmarking of DB Pro beings you to a line when you call for a bookmark.

Also, if anyone is interested, I'll be releasing the first beta test of my Visual Studios project, thread located here.


EDIT

Is it possible to have an icon next to an option in the menu?

Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 19th Apr 2011 20:39 Edited at: 19th Apr 2011 21:03
Quote: "Is it possible to have an icon next to an option in the menu?"


At the moment no, I have also suggested that should be added as well.

Brendy boy,

Would it be possible to have the scrollbars fixed soon? (Whenever you have the time.) Since I'll be able to release a update to my program soon.

Quote: "Quote: "1. If I use the command "BBB Treeview_DeleteItem" on the first child item of a parent item, it will delete both the parent and the child (which I want only the child item deleted) items. Is this a bug or did you program it that way?"

the command calls the coresponding function from WINAPI, which unfortunatelly works in that way"


Actually I found out it was my code the was the problem in case you wanted to know.

[Edit]

I also forgot to tell you one more thing, the get mouseclick does not work on a listbox. And for a listviews and menus they do work when you click, but the command still returns 1 after you release the mouse button. (Though, I can fix that by sending a WM_LBUTTONUP event.)

Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 20th Apr 2011 00:56
Quote: "Would it be possible to have the scrollbars fixed soon?"

they should work now

Quote: "I also forgot to tell you one more thing, the get mouseclick does not work on a listbox."

it should work now

Quote: " And for a listviews and menus they do work when you click, but the command still returns 1 after you release the mouse button."

the issue with listview can be fixed by using LVS_SINGLESEL as a listview style

Attachments

Login to view attachments
A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 20th Apr 2011 14:54
Quote: "Is it possible to have an icon next to an option in the menu?"


I meant that partially as a suggestive hint for a new feature


Love using this plugin, if I have any more ideas for cool features I'll tell ya

Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 20th Apr 2011 23:46 Edited at: 22nd Apr 2011 03:47
Thanks for the update, though scrollbars still don't work on a DBPro window.

[Edit]

The "Delete Menu" command does not work on a menu or a submenu.

Here are some commands you could add when you are ready to update the plug-in again.

1. "BBB Menu_DeleteItem"
2. To add a overload to "Submenu Insert Separator" to choose which item index you want to put the separator on.
3. "BBB Menu_RenameItem"

(Already suggested by "A r e n a s" and me, but I'll say it again to make a complete list of menu command updates. )
4. To have menu icon support.

[Edit2]

5. "BBB DeleteSeparator"

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Apr 2011 13:12
I also have another massive point which i would love to have included, its to do with the issue of having the window your working on resized. I was wondering if it was just me, but it seems the BBB GUI Editor faces the same problem. When you change the size of the window, it doesnt scale any of the elements within the window to the new size...

Im refering to the image below, which does not have the internal information resized and as a result, the outcome just looks silly. The image has the main window in the background, running at the native size without any resizing, and then an image of the resized window overlaying it.

If you could have a go at fixing this that would be great!

Attachments

Login to view attachments
Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 21st Apr 2011 19:17 Edited at: 21st Apr 2011 21:38
You are using my code and my toolbar.

In response to your question, that's already possible. Here is the WebBrowser example code that Brendy boy made.



Btw, you IDE is looking good. Keep up the good work.

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 22nd Apr 2011 03:06 Edited at: 22nd Apr 2011 03:19
The code for the toolbar is mine, but the images are currently yours. Dont worry though, they will soon be replaced with my own once ive finished the GUI side of the editor (removing tabs and messing about with things)

I'll take a look at that code, will come in useful. Im still initialising the main GUI, and will be adding a GUI editor to it later on during my miniproject

EDIT

Ive implemented that code and its having no effect. Was it never completed or is it buggy or something?

It also doesnt actually work in the web browser example itself :S - it doesnt work when minimizing.

Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 22nd Apr 2011 04:36 Edited at: 22nd Apr 2011 04:37
Quote: "The code for the toolbar is mine, but the images are currently yours. Dont worry though, they will soon be replaced with my own once ive finished the GUI side of the editor (removing tabs and messing about with things) "


You don't need to remove my images if you don't want to. (Besides, I just took a window snip on a program, then made the image list anyway. ) Feel free to use any media/code that I have used.

Quote: "Ive implemented that code and its having no effect. Was it never completed or is it buggy or something?

It also doesnt actually work in the web browser example itself :S - it doesnt work when minimizing."


Well it works, though it is buggy as you said. When maximizing the window, it does not resize the items. I am guessing a easy way to fix it though is after the window is maximized, then resize the window +1, then resize back -1. I have not tested this but I am guessing it will correct this issue.

Brendy boy,

Another command you could also add.

5. "BBB DeleteSeparator"

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 22nd Apr 2011 13:44 Edited at: 22nd Apr 2011 14:15
Hmmm... Dont suppose that there is a list of these properties which could be used anywhere? I cant find anything in the 'BBB GUI Constants.dba', which I imagine is the most likely place.

Also if there was a detailed description of what this command actually does so it would be possible to fully utilise it in my program as I rarely use it.

EDIT

I noticed that there was a font requester dialogue not yet started and I made one quickly for everyone's pleasure. Its very simple and Im sure the algorithms could be improved on but currently I believe it is bug free. The variables which must be externally linked to the function are;



Other than that you simply call the below function and the dialogue box will pop up and work as it should.



gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 22nd Apr 2011 23:57
the example created by

Fredyssun ~ Posted: 15th Sep 2010 02:38 Edited: 15th Sep 2010 02:39
posted on page 9 about half way down the page

there are two lines that do not high light and do not work

line 43
tbar1 = make toolbar( 0, TBSTYLE_WRAPABLE||TBSTYLE_LIST||TBSTYLE_TRANSPARENT, w)

line 50
toolbar set imagelist tbar1,ilist

line 53
toolbar set hot imagelist tbar1,hot_ilist

line 57
toolbar add button tbar1,BTNS_BUTTON,t,t,"File"

I got the latest version of the BBB plug in from page 12

that I got from page 12

were these command removed ?
or have the been changed ?

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 23rd Apr 2011 00:26
I put replaced the one from page 12
with the one from bbb gui 1.4.0.0..rar

it ran

but all that showed up was the spinning box

If a thought is Just a thought ~ so whats the main thought ?
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Apr 2011 00:48
you should be using the examples that are from this post

gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 23rd Apr 2011 01:13
I wanted to see the example run that I stated earlier
but it looks like that one will not work with the new BBB GUI.dll

If a thought is Just a thought ~ so whats the main thought ?
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Apr 2011 01:48
Quote: "I wanted to see the example run that I stated earlier
but it looks like that one will not work with the new BBB GUI.dll"

the example he posted is the rebar example from the bbb gui. The only thing he changed is the parent window of the rebar which he set to dbpro window.

gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 23rd Apr 2011 01:57
Quote: "The only thing he changed is the parent window
of the rebar which he set to dbpro window."


ok I understand

but at this point I am not familiar enough
to know how to make that change so that it works

If a thought is Just a thought ~ so whats the main thought ?
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Apr 2011 02:36
put this as a parent window of the rebar:
get dbpro window()

Check the keywords file to see which rebar parameters is for the parent
and NOTE:rebar example doesn't work on windows xp

gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 23rd Apr 2011 02:54
ok thanks


geeee windows carped on the dog again
all ms products are garbage and will stay that way until they are
forced to fix or forced out of business

I'm using xp the other so called upper windows or nothing but decoration

If a thought is Just a thought ~ so whats the main thought ?
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Apr 2011 03:07
Quote: "geeee windows carped on the dog again
all ms products are garbage and will stay that way until they are
forced to fix or forced out of business "

LOL, MS is only partialy guilty for this one, they made a bug in windows headers for which i had a fix but i accidently deleted that part of the code and now i'm to lazy to put it back. I will make it work...eventually

gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 23rd Apr 2011 03:27
hummmmmmmmmm

If a thought is Just a thought ~ so whats the main thought ?
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Apr 2011 08:03
@Admiral MH
Quote: "The "Delete Menu" command does not work on a menu..."


to delete a menu:
- Before you can delete menu you have to unassign it from a window to which is assigned
BBB Window_SetMenu hWindow,0
BBB Menu_Delete menu

Quote: " ... or a submenu."

BBB Menu_Delete hSubmenu

Quote: "Here are some commands you could add when you are ready to update the plug-in again.

1. "BBB Menu_DeleteItem""

Done: BBB Menu_RemoveItem and BBB Submenu_RemoveItem
Quote: "2. To add a overload to "Submenu Insert Separator" to choose which item index you want to put the separator on."

not yet done
Quote: "3. "BBB Menu_RenameItem""

done: BBB Menu_SetItemTExt

Quote: "(Already suggested by "A r e n a s" and me, but I'll say it again to make a complete list of menu command updates. )
4. To have menu icon support."

DONE!

Quote: "
5. "BBB DeleteSeparator""

done: BBB Submenu_RemoveItem

@Arenas
Quote: "I also have another massive point which i would love to have included, its to do with the issue of having the window your working on resized. I was wondering if it was just me, but it seems the BBB GUI Editor faces the same problem. When you change the size of the window, it doesnt scale any of the elements within the window to the new size...

Im refering to the image below, which does not have the internal information resized and as a result, the outcome just looks silly. The image has the main window in the background, running at the native size without any resizing, and then an image of the resized window overlaying it.

If you could have a go at fixing this that would be great!"

I'll try

Here's the new update
-menu commands are completely changed and i'll change them a little bit more

Attachments

Login to view attachments
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 23rd Apr 2011 11:25
I installed the updated just posted

there are commands in "Rich Editbox" $ "Toolbar"

there are commands in there
1. they did not high light
2. DBP dose not know what they do

every thing else worked

well other than the line that should ask me
do you want to quit BBB Gui plugin
the line is high lighted but I never get that message
when I press escape

If a thought is Just a thought ~ so whats the main thought ?
A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 23rd Apr 2011 22:28
Quote: "4. To have menu icon support."
DONE!"


Could you explain the commands to do this as I cant find an example in the examples of this

Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Apr 2011 22:35 Edited at: 23rd Apr 2011 22:38
BBB SUBMENU_ADDITEM submenu_handle, MFT_STRING, item_id, item_string, unchecked_image_file (in .bmp format), checked_image_file(in .bmp format)

Resourceful
Quote: "I installed the updated just posted

there are commands in "Rich Editbox" $ "Toolbar"

there are commands in there
1. they did not high light
2. DBP dose not know what they do"

All commands highlight for me. Did you copy the keywords file?

Quote: "every thing else worked

well other than the line that should ask me
do you want to quit BBB Gui plugin
the line is high lighted but I never get that message
when I press escape"

you need to exit the program by clicking on close button for that message to pop up

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 23rd Apr 2011 23:09
An error in your example code is where you add a new submenu (Edit) its attached to the Files tab, where I imagine you intend to attach it to the main menu bar. Though I'm trying to attach this to the menu bar in mine and its not working either

Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Apr 2011 23:39
Quote: "An error in your example code is where you add a new submenu (Edit) its attached to the Files tab, where I imagine you intend to attach it to the main menu bar. Though I'm trying to attach this to the menu bar in mine and its not working either"

it was a bug in dll, i didn't notice it. Here is the updated version

Attachments

Login to view attachments
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 24th Apr 2011 00:38
Brendy boy

yes I installed the updated keyword ini file

every file is from the updated copy

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 24th Apr 2011 00:41
these are the ones that are not high lighting

menu = make menu()
sub1 = make submenu() : menu append submenu menu,sub1,"File"
submenu insert item sub1,"New",1
submenu insert separator sub1
submenu insert item sub1,"Open",2
submenu insert item sub1,"Save",3
submenu insert item sub1,"Save As...",4
submenu insert separator sub1
submenu insert item sub1,"Import",5
submenu insert item sub1,"Export",6
submenu insert separator sub1
submenu insert item sub1,"Exit",17
apply menu w,menu

iID=MENU GET SELECTED ITEM ID()
if iID>0
szMenu$=MENU GET SELECTED ITEM STRING()

these lines are from the Rich EditBox example

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 24th Apr 2011 00:55
also I am running dbp 7.7 rc7

that is the only other possibility why they are not working
next to some thing messed up in windows xp pr sp3

If a thought is Just a thought ~ so whats the main thought ?
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 24th Apr 2011 01:22
yeah, i forgot to update those examples
Here it is, everything updated this time

Attachments

Login to view attachments
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 24th Apr 2011 01:30
Thanks Brendy boy

a tiny miss is all it takes ;oP

I was beginning to think I needed anther
plug in from anther program to make it work

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 24th Apr 2011 04:53
Brendy boy

I wish to say thanks for all the work you have dun

I know you spent a lot of hours on this plug in
and it all work perfectly

I would hope others would pipe in ;o)

If a thought is Just a thought ~ so whats the main thought ?
A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 24th Apr 2011 17:07 Edited at: 24th Apr 2011 17:08
I was wondering how you go about checking menu options this time. I noticed checked was now a style so I was wondering how you would go about setting the menu to this style of checked/unchecked. I've had a few goes but they have all been fruitless ventures

Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 24th Apr 2011 20:19
Quote: "I was wondering how you go about checking menu options this time. I noticed checked was now a style so I was wondering how you would go about setting the menu to this style of checked/unchecked. I've had a few goes but they have all been fruitless ventures"


BBB Menu_SetItemState menu,item_id,BBB Menu_GetItemState(menu,item_id)||style_you_want_to_apply

This command is used for menus and submenus

Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 25th Apr 2011 19:29
Thanks once again for all your hard work Brendy boy. I should be able to get out a update soon.

Also, (Since you were working the fixing the scrollbars) I'll remind you that the scrollbars still don't work on a DBPro window.

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 26th Apr 2011 01:07
Quote: "Also, (Since you were working the fixing the scrollbars) I'll remind you that the scrollbars still don't work on a DBPro window."


When you say DBPro window, is it possible to make multiple windows such as the DB Pro one? I'd love to be able to run things such as 3D renderings and 2d drawings in multiple db pro windows while they are child windows

Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 26th Apr 2011 01:41
Quote: "is it possible to make multiple windows such as the DB Pro one?"

no, that is not possible and since that feature is not gui related it will never be part of this plugin.

A r e n a s
15
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 26th Apr 2011 20:17 Edited at: 26th Apr 2011 23:06
I have a bug to report. The below command does not have any effect when called. The editbox is correct and the char values are within the total character count;

bbb editbox_setselectedchar gui.editor.id, 43, 42

It would be very much appreciated if you could solve this error as soon as possible, thanks.

EDIT

This works in a rich editbox, though not in a normal editbox...

EDIT 2

Im getting lots of very strange errors involving the rich editboxes. Im having all ascii character values being displayed in my output box, and I can physically see that the two editboxes contain the exact same data, both data unseen and seen in the editbox to the user. Other than that, the only other modifications to the code is the editbox type, and this is resulting in errors regarding detecting the number of lines in an editbox, the current line which you are on, and position of the cursor ect....

If you could give me any suggestions on where to look to solve this error it would be much appreciated. Thanks

EDIT 3

I would appreciate it if you were to try to add the cursor select and perhaps a colour change of selected text to normal editboxes. The issues im getting with rich editboxes Im finding are much too vast, Thanks again

Login to post a reply

Server time is: 2024-05-10 13:36:17
Your offset time is: 2024-05-10 13:36:17