IGlass GUI for blitzmax - V

BlitzMax Forums/BlitzMax Programming/IGlass GUI for blitzmax - V

Hello.

There seems to be an issue/conflict between input boxes and the notify command.

Try this:
Include "..\IGlass_1.5.2\IGL_Classe\Inc_IGlass.bmx"

graphics 800,600,0

IGL_Initgui(1)

Global My_Window:IGL_Window
Global My_Control:IGL_Input
Global My_Label:IGL_Label

My_Window = IGL_Window.Create("Test Window",50,50,256,128,false,false,false)
My_Control = IGL_Input.Create(My_Window,"",40,0,24,256)
My_Label = IGL_Label.Create(My_Window,"Select and Enter Text",128,80,2,IGL_BlackColor)

global Enter_Pressed:Int = false
global Input_Entered:Int = false
while not keydown(KEY_ESCAPE)
	CLS
	
	if my_control.State = true then
		input_entered = true
	else
		if input_entered = true then
			Enter_Pressed = true
		end if
	end if
	
	if Enter_Pressed = True then 
		My_Label.Caption = "Now Present a notify"
		Enter_Pressed = false
		Input_Entered = false
		notify "Now try to edit the text again"
		My_Label.Caption = "See what I mean?"		
	end if
	
	IGL_RefreshGui()
	flushmem
	flip
wend


Any suggestions?

[Edit] Ok, so I should use the IGlass message boxes only, yes?

Goodbye.