* 671 Posts in 238 Topics by 74 Members Latest Member: pythagoras   **
IFSO PORTAL
  Advanced search
May 18, 2013, 02:03:13 am
HomeforumHelpSearchLoginRegister**
Recent Posts
[May 08, 2013, 10:38:33 pm]

[April 26, 2013, 02:00:31 pm]

[April 14, 2013, 12:39:49 pm]

[December 21, 2012, 06:13:17 am]

[November 13, 2012, 02:21:49 pm]

[August 28, 2012, 06:38:27 pm]

[May 28, 2012, 10:12:41 pm]

[May 05, 2012, 01:01:38 pm]

[May 03, 2012, 02:11:03 pm]

[April 30, 2012, 12:48:25 pm]
IFSO Portal  |  Forum  |  ifsoGUI  |  ifsoGUI Discussion  |  Topic: New update coming? maybe... « previous next »
Pages: [1] Go Down Print
Author Topic: New update coming? maybe...  (Read 1806 times)
Zeke
ifsoGUI Owner
Newbie
*
Offline Offline

Posts: 3



View Profile
« on: April 14, 2012, 09:34:50 am »

Hi, bought your fantastic GUI, but got some problems and bugs. but i fixed them.. and also i added some new features... TaskMaster, will you look if i send my modified mod to you. so you can check and maybe release update?
Here is list what i have done:
  • TEXTBOX: Added SetPassword(<true>/<false>) and SetPasswordCharacter(char:String) methods (textbox is "password" field)
  • LABEL: Changed showBorder from True to False (default)
  • MULTILINE TEXTBOX: Added code to autoscroll UP when selecting text
  • MULTILINE TEXTBOX: Fixed Text selection drawing when scrolling text.
  • ALL: Added SetTipDelay(time:int) for tooltip show delay (default set to 500ms). (modified files: basegadget.bmx and gui.bmx)

and more is coming... when i have time to code.. Cheesy


Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 462


TaskyZ
View Profile
« Reply #1 on: April 14, 2012, 01:09:52 pm »

Hi, bought your fantastic GUI, but got some problems and bugs. but i fixed them.. and also i added some new features... TaskMaster, will you look if i send my modified mod to you. so you can check and maybe release update?
Here is list what i have done:
  • TEXTBOX: Added SetPassword(<true>/<false>) and SetPasswordCharacter(char:String) methods (textbox is "password" field)
  • LABEL: Changed showBorder from True to False (default)
  • MULTILINE TEXTBOX: Added code to autoscroll UP when selecting text
  • MULTILINE TEXTBOX: Fixed Text selection drawing when scrolling text.
  • ALL: Added SetTipDelay(time:int) for tooltip show delay (default set to 500ms). (modified files: basegadget.bmx and gui.bmx)

and more is coming... when i have time to code.. Cheesy




I am currently travelling for work.  I will look at it when I get home next week.
 
Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 462


TaskyZ
View Profile
« Reply #2 on: April 22, 2012, 01:21:38 pm »

I have added your changes to my codebase.  The next release will include them.  I am not sure when that will be.
Logged
Zeke
ifsoGUI Owner
Newbie
*
Offline Offline

Posts: 3



View Profile
« Reply #3 on: May 04, 2012, 08:27:36 am »

good. but no need to rush, i have found some other "bugs" and im trying to fix them. like Combobox have memory leak, BringToFront have memoryleak..

small example (click delete and add buttons, and gui.gadgets count increase):
Code:
SuperStrict

Import ifsogui.GUI
Import ifsogui.button
Import ifsogui.window
Import ifsogui.combobox

Graphics 800,600
GUI.SetResolution(800,600)
GUI.LoadTheme("Skin2")

Local win:ifsoGUI_Window = ifsoGUI_Window.Create(109, 123, 388, 254, "wndWindow1")
win.SetCaption("wndWindow1")
GUI.AddGadget(win) 'Add window to GUI.gadgets (1)
Local btnAdd:ifsoGUI_Button = ifsoGUI_Button.Create(31, 32, 100, 24, "btnAdd", "Add")
win.AddChild(btnAdd)
Local btnDel:ifsoGUI_Button=ifsoGUI_Button.Create(31,60,100,25,"btnDel","Delete")
win.AdDChild(btnDel)
Global combo:ifsoGUI_Combobox = ifsoGUI_Combobox.Create(215, 28, 120, 24, "cmbCombobox1")
win.AddChild(combo)
combo.AddItem("First")
combo.AddItem("Second")
combo.additem("Third")
Local b:ifsoGUI_Button=ifsoGUI_Button.Create(215,60,120,24,"btntest","testme")
win.addchild(b)

While Not (AppTerminate() Or KeyHit(key_escape))
Cls
GUI.Refresh()

Local event:ifsoGUI_Event=GUI.GetEvent()
While event
If event.id=ifsogui_event_click Then
If event.gadget.name="btnAdd" Then
Print "Add"
If Not combo Then
combo=ifsoGUI_Combobox.Create(215,28,128,24,"combobox")
win.AddChild(combo)
combo.AddItem("First")
combo.AddItem("Second")
combo.additem("Third")
EndIf
ElseIf event.gadget.name="btnDel" Then
Print "del"
If combo Then win.RemoveChild(combo,True)
combo=Null
EndIf
EndIf
event=GUI.GetEvent()
Wend

DrawText "GUI.Gadgets="+GUI.gadgets.count(),0,0
Flip
Wend
but i think im very close to get this fixes..
Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 462


TaskyZ
View Profile
« Reply #4 on: May 05, 2012, 01:01:38 pm »

Thanks.  I will fix it when I get a chance.  On a business trip in Australia at the moment, so may not find the time for a week or so.
Logged
Pages: [1] Go Up Print 
IFSO Portal  |  Forum  |  ifsoGUI  |  ifsoGUI Discussion  |  Topic: New update coming? maybe... « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.17 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
TechHead design by Bloc
Valid XHTML 1.0! Valid CSS!